linux_commands
General
Navigate the file system:
Examine directories and their contents:
Find files:
Modify file permissions:
- chmod e.g. chmod a+x myscript.sh, chmod u+rw,go-rwx private.txt
Create files and directories:
Copy, move or delete files and directories:
Examine files and their contents:
- file
- cat
- less
- head
- tail
- wc
- sort
Search within a file:
- grep e.g. grep “juice” shopping-list.txt, grep “error” /var/log/*
Printing text or variables:
Work with variables and aliases:
Redirection:
Pipes:
Start a process in the background:
Terminate a process:
Redirection: