Skip to content

Latest commit

 

History

History
69 lines (59 loc) · 1.2 KB

basics-commands.md

File metadata and controls

69 lines (59 loc) · 1.2 KB

Here, you find the terminal commands on linux ubuntu

The basics commands of Linux

1️⃣ Directory and file management commands

  • pwd ==> Print Working Directory
  • ls ==> List Segment
  • cd ==> Change Directory
    • cd ..
    • cd ~
    • cd -
    • cd /
  • cp ==> Copy
  • mv ==> Mouv
  • mkdir ==> Make Directory
  • rmdir ==> Remove Directory
  • rm ==> Remove

2️⃣ Search commands

  • grep => To search for a file that contains a sentence or a string of characters
  • find => Find a file by his name
  • locate => To do a quick search using a database from the structure of your files

3️⃣ Editing commands

  • more
  • less
  • cat
  • head
  • tail
  • touch
  • vi
  • sed
  • emacs
  • tee
  • colrm
  • cut
  • tr
  • cmp
  • diff
  • troff
  • nroff
  • groff

4️⃣ Print and conversion commands

  • lp
  • lpr
  • lpc
  • lpq
  • lprm
  • gs
  • gv
  • a2ps
  • wvHtml
  • sox

5️⃣ Other commands

  • cal
  • date
  • wc
  • spell
  • read