Useful Linux and UNIX Commands

  • chmod —- change files or directory permissions
  • chown —- change ownership
  • cd —- change directory
  • cp —- copying files
  • du —- shows the disk uses
  • df —- shows the disk free
  • dos2unix —-convert file format
  • ftp —-for connect to a remote machine
  • grep —- search files
  • head —- display first part of the file
  • kill —- kill(end) the process
  • ls —- list files
  • more —-it use to read file
  • mkdir —- create a new directory
  • mv —- move or rename file
  • passwd —- change password
  • ps —- list process
  • pwd —- current directory
  • rm —- remove a file
  • rmdir —- remove directory
  • sort —- sort file
  • tail —- display last part of the file
  • tar —- create an archive, add or extract files
  • telnet —- log in to another machine
  • wc —- count characters, words, lines
  • who —- tells who is logged on