Linux

Before You begin

Commands

  • pwd – present working directory
  • head – output first part of file
  • tail – output last part of file
  • date – print system date and time
  • passwd – change user password
  • cd – change directory
  • ls – list the directory contents
  • man – manual page
  • touch – update file timestamp / create a new file
  • rm – remove files
  • mkdir – make directory
  • rmdir – remove directory
  • cat – concatenate files
  • cp – copy files
  • mv – move / rename files
  • searching files – file globbing
  • ln – creating links
  • Redirection – Sending output of process to a file
  • Pipes – Sending output of process to another process
  • chmod – change file/directory permissions
  • umask – change default file/directory permissions
  • File Permissions – Difference between read, write and execute permissions
  • useradd – create a new user account
  • userdel – delete an existing user account
  • usermod – modify an existing user account
  • groupadd – create a new group
  • groupmod – modify an exiting group
  • groupdel – delete a group
  • grep – search contents within a file

Shell Script