| Mobile | RSS

10 basic commands a system admin need to know

10 basic commands a system admin need to know

tty – tty command  will tells you current terminal. #tty /dev/pts/1 whoami- whoami commands tells you current logged-in username #whoami root which- which command will give you the path of the command #which tty /usr/bin/tty set- set command prints and sets the shell variables or environment variables echo-echo command will prints the output to screen [...]

[ More ] July 29th, 2011 | No Comments | Posted in Basic Setup |
linux boot process

Basic commands

cat Sends file contents to standard output.This is a way to list the contents of short files to the screen.It works well with piping. Eg:cat .bashrc (Sends content of “.bashrc” file to screen). cd Change directory eg:cd /home Change the current working directory to /home. The ‘/’ indicates relative to root, and no matter what [...]

Related Posts Plugin for WordPress, Blogger...
[ More ] June 26th, 2011 | 1 Comment | Posted in Basic Setup, OS Internals, Scripting & Automation |