Bash Basics - miraj/tools GitHub Wiki
- Command History
- history command
- Browsing History using arrow keys
- ctrl-R : to search in the history
- !$ - for using the previous argument
- echo
- .bashrc
- ls
- ls -l
- ls -lcrt
- ls *.pl
- ls *.p[lm]
- who expands * to the filenames? ls command? or the shell?
- Multiple commands in a single line
- pipe
- environment variables
- cat, tail, head
- > redirecting to a file
- wc
- find
- locate, updatedb
- man command, man pages
- Soft Links
- tail
- File System
- Access Rights
- user, group, others
- chmod, chown
- Single quote and double quote
- special charactors : *, $, [,]', , ", `
- Command Terminators
- Escape character
- bg, fg, ctrl-Z, ctrl-C
- grep
- Variables
- export. Why is it needed?
- sed, awk
- Arguments to a shell script: $0, $1, $2
-
$#, $*
- Variables, export
- Shell Scripts are executed in a subshell
- source command. Why is it needed?
- lists
- if condition. if, fi
- for
- seq : iterating over numbers
- Iterating over lines
- procedures and arguments
- redirection
- redirection in for loop
- Creating a block
- redirection from a block.
⚠️ **GitHub.com Fallback** ⚠️