Skip to main content

Linux Commands

Linux File System

  • File System Commands

PurposeCommands
File Navigationpwd, ls, cd, tree, find, which
File Contentcat, diff, less, head, tail, file
File Manipulatecp, mv, rm, mkdir, touch, zip, unzip
File Permissionchown, chmod
Link Fileln
Open File Listlsof

Linux Folder Structure

Understanding stderr and stout stream


Identifying command

  • alias
    • makes alias of a command
  • type
    • type of the file
  • help
    • help
  • man
    • Manual of a command

Command execution

  • source
  • ./filename

terminal io

  • echo
  • tee

Remote Connection

  • ssh
  • scp
  • rsync
  • wget
  • curl

Diagnostic and Management Tools

PurposeCommands
Disk Managementdu, dd, dh, df
Memory ( RAM ) Diagnosisfree
System Resource Monitoringtop, htop
Process Managementps, kill, pkill

Miscellaneous Tools

CommandDescription
base64Base64 Encoding and Decoding
exprMath Expression
calVisual Calendar in Terminal
slCoz you don't always end up typing ls
cowsayBecause cowsay -f dragon "Run for cover, I feel a sneeze coming on."
dateLinux date utility
lynxcli web browser

List of command as Reference