forked from Fascinated/docs
update order on linux basics
This commit is contained in:
parent
b333976596
commit
6dc03e437f
@ -45,6 +45,13 @@ There are alternatives to nano, but it is the easiest to use.
|
||||
- Get the beginning of a file: `head <file>`
|
||||
- Get the end of a file: `tail <file>`
|
||||
|
||||
## File Compression and Archiving
|
||||
|
||||
- Create a tar archive: `tar -cvf <archive.tar> <file>`
|
||||
- Extract a tar archive: `tar -xvf <archive.tar>`
|
||||
- Create a zip archive: `zip <archive.zip> <file>`
|
||||
- Extract a zip archive: `unzip <archive.zip>`
|
||||
|
||||
## Package Management (Ubuntu)
|
||||
|
||||
- Update package lists: `sudo apt update`
|
||||
@ -54,13 +61,6 @@ There are alternatives to nano, but it is the easiest to use.
|
||||
- Search for a package: `apt search <package>`
|
||||
- Upgrade packages: `sudo apt upgrade`
|
||||
|
||||
## File Compression and Archiving
|
||||
|
||||
- Create a tar archive: `tar -cvf <archive.tar> <file>`
|
||||
- Extract a tar archive: `tar -xvf <archive.tar>`
|
||||
- Create a zip archive: `zip <archive.zip> <file>`
|
||||
- Extract a zip archive: `unzip <archive.zip>`
|
||||
|
||||
## Networking
|
||||
|
||||
- Get all interface ips: `ip a`
|
||||
|
Loading…
Reference in New Issue
Block a user