Difference between revisions of "CheatSheet"
Views
Actions
Namespaces
Variants
Tools
(Files) |
(Network) |
||
Line 58: | Line 58: | ||
directory with global configurations {{UserCmd|command=cd /etc}} | directory with global configurations {{UserCmd|command=cd /etc}} | ||
=== | === Network === | ||
displays network information {{UserCmd|command=nmcli}} | |||
lists wireless access points {{UserCmd|command=nmcli c}} | |||
enables the firewall [package Community: ufw] {{UserCmd|command=ufw enable}} | |||
allows/denies all incoming traffic {{UserCmd|command=ufw default [allow/deny]}} | |||
displays firewall status and rules {{UserCmd|command=ufw status}} | |||
allows/denies incoming traffic on the specified port {{UserCmd|command=ufw [allow/deny] [port]}} | |||
allows/denies incoming traffic from specified IP address {{UserCmd|command=ufw [allow/deny] from [ip]}} | |||
=== Your sub title === | === Your sub title === | ||
=== Your sub title === | === Your sub title === |
Revision as of 18:08, 4 February 2022
CheatSheet for Manjaro
The original startet with a thread at https://forum.manjaro.org/t/manjaro-cli-cheat-sheet/101305/3
Locating and Installing Packages
Update mirrorlist with the fastest mirrors
Check if updates are available
Update all installed packages
Search available packages
Install packages
Uninstall packages
Maintenance
Generate cache list
Purge files not accessed in 100 days
Report journal current size
Remove but recent entries by size or time
Check for orphaned packages
Remove all orphans
Remove all packages except the latest 3 versions
AUR
Search for packages
Build the package
Access rights
Executes command as root
Empties password cache
Edits /etc/sudoers
Changes user password
Changes owner and group of file
Changes the file permissions
Set permissions in octal mode: 4(read) 2(write) 1(execute)
Example: 755 read-write-execute for owner and read-execute for group and others
Displays files and permissions [of directory]
Files and Directories
changes the working directory
changes to the parent directory
lists directory contents
also lists the hidden files
copies the file
copies the directory
move/rename target source
removes directory recursively
create symbolic link
mounts file system
mounts iso image
home directory of user
directory with global configurations
Network
displays network information
lists wireless access points
enables the firewall [package Community: ufw]
allows/denies all incoming traffic
displays firewall status and rules
allows/denies incoming traffic on the specified port
allows/denies incoming traffic from specified IP address
Your sub title
Your sub title
Your sub title
Your sub title
Your sub title
Your sub title 2
Example codes should be here.
See Also
Example Link Title example text