Quantcast
Channel: nixCraft
Browsing all 30 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

UNIX Disk Usage Command Examples

How do I find out disk usage under UNIX operating systems using GUI, CLI and Perl / shell programs?Read answer to: "UNIX Disk Usage Command Examples"    

View Article



Image may be NSFW.
Clik here to view.

HowTo: UNIX / Linux Open TCP / UDP Ports

How do I open the TCP or UDP ports under UNIX / Linux like operating systems?Read answer to: "HowTo: UNIX / Linux Open TCP / UDP Ports"    

View Article

Image may be NSFW.
Clik here to view.

HowTo: Find Symlink under UNIX / Linux

How do I find symlink(s) under UNIX and Linux operating systems?Read answer to: "HowTo: Find Symlink under UNIX / Linux"    

View Article

Image may be NSFW.
Clik here to view.

Apache2 NameVirtualHost *:80 has no VirtualHosts Error and Solution

Whenever I try to star my Apache 2 server under UNIX / Linux and get a warning as follows: [warn] NameVirtualHost *:80 has no VirtualHosts How do I fix this problem?Read answer to: "Apache2...

View Article

Image may be NSFW.
Clik here to view.

ping command: TTL Expired In Transit Error and Solution

When I try to ping other UNIX / Linux / BSD or MS-Windows servers in our network I get the following message:TTL Expired In Transit How do I fix this problem?Read answer to: "ping command: TTL Expired...

View Article


Image may be NSFW.
Clik here to view.

vi Find And Replace Text Command

How do I find and replace (substitute) test using vi or vim text editor under UNIX / Linux / BSD or Apple OS X operating systems?Read answer to: "vi Find And Replace Text Command"    

View Article

Image may be NSFW.
Clik here to view.

Linux / UNIX: bc Convert Octal To Hexadecimal or Vise Versa

How do I convert from octal to hex number using bc UNIX / Linux command line utility?Read answer to: "Linux / UNIX: bc Convert Octal To Hexadecimal or Vise Versa"    

View Article

Image may be NSFW.
Clik here to view.

Linux / UNIX: Kill User Session

How do I kill all users session under Linux or UNIX operating system using command prompt?Read answer to: "Linux / UNIX: Kill User Session"    

View Article


Image may be NSFW.
Clik here to view.

Linux / UNIX: See If Particular Users Are Logged Into Server

How do I see if my friends or coworkers are logged into the same Linux or BSD or UNIX (AIX, HP-UX, Apple OS X) server / workstation as I am from a command line?Read answer to: "Linux / UNIX: See If...

View Article


Image may be NSFW.
Clik here to view.

Ubuntu Linux Stop a Process

How do I stop a process under Ubuntu Linux using command line and GUI tools?Read answer to: "Ubuntu Linux Stop a Process"    

View Article

Image may be NSFW.
Clik here to view.

Bash Shell Count Number of Characters In a String or Word

How do I count and print particular character (say D or digit 7) in a string or variable under Bash UNIX / Linux shell?Read answer to: "Bash Shell Count Number of Characters In a String or Word"    

View Article

Image may be NSFW.
Clik here to view.

SSH: Agent Admitted Failure To Sign Using The Key Error And Solution

I've recently regenrated and uploaded a new public ssh-key using the ssh-copy-id command. Now I'm getting the following error:ssh root@server3 Agent admitted failure to sign using the key....

View Article

Image may be NSFW.
Clik here to view.

Linux / Unix: Cat Command Examples

How do I use cat command on Linux or Unix-like operating systems?Read answer to: "Linux / Unix: Cat Command Examples"    

View Article


Image may be NSFW.
Clik here to view.

Linux / Unix: scp Copy All Hidden Dot Files

I'm using scp command to copy files from one server to another server. The problem is that I'm unable to copy all hidden files (such as .bash_history). How do I copy hidden files using the scp command...

View Article

Image may be NSFW.
Clik here to view.

OpenSSH: ssh-add / ssh-agent Command Set Maximum Lifetime In Seconds

I'm using a Mac OS X and combination of ssh-agent+ssh-add to adds RSA or DSA identities to the authentication agent. ssh-agent provides me a secure way of storing the private key. However, I'd like to...

View Article


Image may be NSFW.
Clik here to view.

Howto: Send The Content Of a Text File Using mail Command In Unix / Linux

I'd like to send an email with the content of a text file using mail command in Unix / Linux operating system. How do I do it?Read answer to: "Howto: Send The Content Of a Text File Using mail Command...

View Article

Image may be NSFW.
Clik here to view.

Where Is The Xorg.conf File Located under Unix / Linux / BSD?

I want to find and edit my xorg.conf file for tweaking and configure it for new settings. The problem is that I'm unable to find the file. According to my research, xorg.conf should in /etc/X11 or...

View Article


Image may be NSFW.
Clik here to view.

Unix / Linux Shell: Get Third Field Separated by Forward Slash (/) Delimiter

I'm writing a shell script for automation purpose. The output the path of the current working directory is stored in $PWD or it can be obtained using the pwd command. How do I find out find out 3rd...

View Article

Image may be NSFW.
Clik here to view.

Unix / Linux: grep Word Count Command

How do I count words using grep command under Linux / Unix like operating systems?Read answer to: "Unix / Linux: grep Word Count Command"    

View Article

Image may be NSFW.
Clik here to view.

Add / Import .SQL file To MySQL Database Server

How do I import a MySQL .SQL text file to MySQL database sever using command line or gui tools?Read answer to: "Add / Import .SQL file To MySQL Database Server"    

View Article
Browsing all 30 articles
Browse latest View live




Latest Images