Sunday, January 18, 2009

Unix Commands

mkdir .............. make a directory
rmdir .............. remove directory (rm -r to delete folders with files)
rm ................. remove files
cd ................. change current directory
ls ................. show directory, in alphabetical order
logout ............. logs off system
talk (user) ........ pages user for chat - (user) is a email address
write (user) ....... write a user on the local system (control-c to end)
man (command) ...... shows help on a specific command

pico (filename) .... easy to use text editor to edit files
pine ............... easy to use mailer
more (file) ........ views a file, pausing every screenful

grep ............... search for a string in a file
tail ............... show the last few lines of a file
who ................ shows who is logged into the local system
w .................. shows who is logged on and what they're doing
finger (emailaddr).. shows more information about a user
df ................. shows disk space available on the system
du ................. shows how much disk space is being used up by folders
chmod .............. changes permissions on a file
bc ................. a simple calculator

passwd ............. change your password
chfn ............... change your "Real Name" as seen on finger
chsh ............... change the shell you log into


sz ................. send a file (to you) using zmodem
rz ................. recieve a file (to the unix system) using zmodem

ftp (host) ......... connects to a FTP site
telnet (host) ...... connect to another Internet site
archie (filename) .. search the Archie database for a file on a FTP site
irc ................ connect to Internet Relay Chat
lynx ............... a textual World Wide Web browser
gopher ............. a Gopher database browser
tin, trn ........... read Usenet newsgroups

gzip ............... best compression for UNIX files
zip ................ zip for IBM files
tar ................ combines multiple files into one or vice-versa
lharc, lzh, lha .... un-arc'ers, may not be on your system


make ............... compiles source code
gcc (file.c) ....... compiles C source into a file named 'a.out'

unix2dos (file) (new) - adds CR's to unix text files
dos2unix (file) (new) - strips CR's out of dos text files

No comments:

Post a Comment

 
Your Ad Here ]]>