| Changing reverse video to normal in unix workstation tput sgr0 |
| Bringing up scroll bars in xterm /usr/openwin/bin/xterm -d @d -sb |
| Tar tar -cvf <file_name> * - To create tar -xvf <file_name> - To extract |
| Find the size of the file using awk ls -al <file name> | awk ' {print $5 } ' |
| Remote login from one server to another using rsh Need to create a .rhosts file with content "kiowa gajapda" in the target server on your home directory. kiowa - server name from where you need to login, gajapda - user name to be identified also save the .rhosts file with permission '600', i.e. chmod 600 .rhosts which will allow you to remotly login using rsh. syntax is rsh <server> <command> |
| Cron Jobs - Is an utility to run script automatically, the format for giving entry is given below min hour daymo month daywk cmd Examples 9 9,15 * * * ls 7 0-23 * * * ptcstatus We can edit jubs using crontab -e, list using crontab -l |
| To find out size each sub-directories occupies --> du -sk To find out capacity used by the diredtory or disk --> df -k |
| To find the version in unix uname -a |