Translations:CheatSheet/10/en
From Manjaro
Views
Actions
Namespaces
Variants
Tools
Execute command as root
user $ sudo [command]
Empty password cache
user $ sudo -k
Change user password
user $ passwd username
Change owner and group of file
user $ chown [owner]:[group] -c [file]
Change file permissions
user $ chmod [permissions] -c [file]
Set permissions in octal mode: 4(read) 2(write) 1(execute)