[DRAFT] Linux Fundamentals - vinhtbkit/bkit-kb GitHub Wiki
- Goals: Trainees are equipped with hands on Linux skills so they can work with later projects easily
- Duration: The training are expected to be completed within 30 hours
- Trainees prove their knowledge of most essentials Linux commands
- Trainees understand the basics of filesystem and permissions
- Trainees know how to create basic
bash
scripts
Tips: use
man <command>
to discover the usage of a command on a CLI
- Linux filesystems
- Permissions
- Linux basic commands:
- Essentials: man, pwd, cd, mkdir, mv, cp, ls, rm, cat, touch, echo, chmod, grep
- Using piping
- Searching: sort, head, tail, find, locate
- ps, netstat, ip (ifconfig), df, du, dd, zip, unzip, tar
- Symlink
OPTIONAL
- Users and groups
- SSH and SCP
- awk, sed
- Using package manager for your system
- systemctl / service manager
References
- [Linux Foundation] Classic sysadmin linux filesystem
- [Linux Foundation] Classic SysAdmin: Understanding Linux File Permissions
- [Opensource] 12 essential Linux commands for beginners
- Using vi/vim
vimtutor
- Alternatives:
nano
- Bash script syntax
- Using Environment variables
- How do you remove a folder and all its content?
- What is the difference between the paths:
/home/users/bkit
andhome/users/bkit
? - How to change permissions for files with
chmod
. E.g: Grantwrite
permission forothers
, removeexecute
permission forgroup
- How to know owner and group of a file?
- How do you find and count all
.sh
files in a folder?