LinuxMoz

Linux Stuff && Coffee

Linux Commands

This post is a complete list of Linux Commands along with a brief description of it’s usage, if you would like a pdf copy email me kjs fedoraproject.org

Linux File Management Commands

  • cat – Displays file contents
  • chfn – Change user info for finger, email, etc
  • chgrp – Changes the group of files
  • chmod – Change acces file system permissions for files / dir’s
  • chown – Changes the owner of the file(s) or dir(s)
  • chsh – Changes the login shell
  • cksum – Computes checksums
  • cp – Copies files
  • csplit – Splits files into pieces
  • dd – (Dumb Dump) copies files at disk level
  • file – Identifies file type
  • head – Shows the first few lines of a file
  • hex dump – Displays hex files
  • less – Displays file contents a screen full at a time
  • ln – Create file aliases (links, sym links, hard links etc)
  • ls – Displays the dir’s contents
  • merge – Merges files together
  • mkdir – Creates directories
  • mv – Moves files
  • more – Displays file contents a screen full at a time (the same as less)
  • newgrp – Changes the current group
  • od – Display files in octal format
  • pwd – Prints (shows) the working directory
  • rmdir – Remove (delete) Directory (Normally they have to be empty)
  • rm – Remove (delete) files
  • shred – Securely deletes files
  • split – Splits files evenly
  • tac – Prints (shows) the lines of files in the reverse order
  • tail – Shows the last few lines of a file (by default the last 10)
  • tailf – Follows the growth of a log file (shows you the contents as the system writes to the log file)
  • touch – Updates the file time stamps, if the file does not already exist it will be created
  • wc – Counts lines, words and characters.

Comments