3.4. Linux Cheat Sheet
Get Help:
|
System Navigation:
Log into host: |
|
move around in shell: |
|
log out: |
|
reboot |
|
command history: |
[arrow keys (up and down)] |
autocomplete: |
[start typing] tab |
copy-n-paste in terminal: |
[highlight & right-click] |
Manage User:
add new user: |
|
add user to group: |
|
user session: |
|
list all users: |
|
list user’s groups: |
|
Manage Files
create empty files: |
|
create folder: |
|
copy files: |
|
remove files: |
|
remove directory |
|
|
|
move files: |
mv [filename] [path] |
rename file |
mv [filename] [new filename] |
change file permissions: |
chmod [mode] [file] |
Search for a file: |
|
|
Processes & Services
service management: |
|
|
|
monitor active services |
|
show all services: |
|
stop services: |
|
stop processes: |
|
Networking & Software Management
network setting: |
|
check connectivity: |
|
install package: |
|
update package: |
|
remove package |
|