Basic Unix Commands

  • cd - Changes your current directory.
    (ex) cd dir_name
     
  • chmod - Change permissions of file or directory. ***SEE FILE MAINTENANCE***
     
  • clear - Clears the shell.
     
  • cp - Copy a file. ***SEE FILE MAINTENANCE***
    (ex) cp old_name new_name
     
  • emacs - Starts up the emacs text editor.
    (ex) emacs file_name
     
  • exit - Exits out of a shell.
     
  • help - General command information.
     
  • lpq - Lists print spool.
     
  • ls - Lists files in your current directory.
     
  • ls -al - Shows permission settings for files in directory.
     
  • man - Manual pages for a command.
    (ex) man command
     
  • mail - Sends and receives mail.
     
  • mkdir - Makes a new directory.
    (ex) mkdir new_dir_name
     
  • passwd - Changes your password.
     
  • pine - Starts the pine mail program.
     
  • pwd - Tells you your present working directory.
     
  • rm - Removes a file. ***SEE FILE MAINTENANCE***
    (ex) rm file_name
     
  • rmdir - Removes a directory.
    (ex) rmdir dir_name
     
  • source .login - Runs your .login file.
Operating System: 
© 2011 Rutgers, The State University of New Jersey - This site is XHTML 1.0 valid.