Home

Cyprus

Greece 

Hellenic Club(UB)

 My Pictures

   Unix cmd

 

UNIX commands

Command

Explanation - Example

bg/fg Brings/Sends foreground / backround jobs.
chmod Changes permissions of the files eg chmod 777
traceroute - tracert  
prstat / printers Status of the printers / all available printers
sudo kill <number> kill a job number = jobs id
ldap gap4 information about gap4
ps -auxc |grep gap4 get uid
sudo kill -9 <uid> / shutdown -now  
cd ~gap4 / finger gap4 user's path & information
res /home/myid/* restore
restore -inactive <pick> "/home/dev/*.c restores files with *.c
source .cshrc runs the file after a modification
echo $path tells you the users working paths
rm -rf <directory> Removes a whole directory without ASKING
set prompt =" %d>%p>%m>%c" (.cshrc) day/time/host/path
history  
chown Changes ownership i.e. chown <new user name here> <directory/file to be chanhed here>
grep finds text in a file i.e. grep -i "<what you are looking for>" <filename.extension here>