Skip to content

Linux CLI

Bharath G edited this page Mar 17, 2022 · 2 revisions

Commonly used commands

  • Navigate with the cd command.
  • How to list the contents of a directory and using the ls command.
  • Create, copy, move, rename, directories and files with mkdir, cp, rm, and touch commands.
  • Find things with locate, whereis, which, and find commands.
  • Understand how to learn more about commands with the which, man, and --help commands.
  • How to display the contents of a file with cat, less, more, tail, head.
  • Filtering with grep and sed .
  • Redirection of standard input, output and error with > operator and tee command.
  • How to use pipelines with the | operator.
  • Manipulate files with nano or vim .
  • Install and uninstall packages. Depends on distro, debian based use apt.
  • Control permissions with chown, chgrp, chmod commands.
  • Creating users and the sudo command.
  • Process management with ps, top, nice, kill
  • Add directories to your PATH.
Clone this wiki locally