Reference
Keypoints
Topic | Summary |
---|---|
0. Installation | |
1. Manual Pages | - man command displays the manual page for a given command. - [OPTION]... means the given command can be followed by one or more optional flags.- Flags specified after ellipsis are still optional but must come after all other flags. - While inside the manual page,use / followed by your pattern to do interactive searching. |
2. Working Remotely | - SSH is a secure alternative to username/password authorization - SSH keys are generated in public/private pairs. Your public key can be shared with others. The private keys stays on your machine only. - The ssh and scp utilities are secure alternatives to logging into, and copying files to/from remote machine |
3. Permissions | - Correct permissions are critical for the security of a system. - File permissions describe who and what can read, write, modify, and access a file. - Use ls -l to view the permissions for a specific file. - Use chmod to change permissions on a file or directory. |
4. Directory structure | Understanding the concept of Unix directory structure |
5. Job control | - When we talk of ‘job control’, we really mean ‘process control’ - A running process can be stopped, paused, and/or made to run in the background - A process can be started so as to immediately run in the background - Paused or backgrounded processes can be brought back into the foreground - Process information can be inspected with ps |
6. Aliases and bash customization | - Aliases are used to create shortcuts or abbreviations - The .bashrc and .bash_profile files allow us to customize our bash environment. - The PS1 system variable can be changed to customize your bash prompt. |
7. Shell Variables | - Shell variables are by default treated as strings - The PATH variable defines the shell’s search path - Variables are assigned using “=” and recalled using the variable’s name prefixed by “$” |
8. The Unix Shell | |
9. AWK |
Glossary
remote login
: FIXME
remote login server
: FIXME
SSH daemon
: FIXME
secure shell
: FIXME
SSH key
: FIXME
SSH protocol
: FIXME
command
: FIXME
user name
: FIXME
user ID
: FIXME
user group
: FIXME
user group name
: FIXME
user group ID
: FIXME
access control lists
: FIXME
search path
: FIXME