Академический Документы
Профессиональный Документы
Культура Документы
-------
-whoami: state the current user
-pwd: state the current directories
-man command: help
-clear: clear screen
-exit: exit terminal
-cal: calendar
-ls: list
ls -1 : list
ls -a : list hidden files
vi editor
-------------------------
vi filename
escape: go to Exit mode
Shift+z +z: to quit
l key to move to the right side.
h key to move to the left side.
k key to move up side in the file.
j key to move down side in the file.
links
----------
users
----------
chmod {u|g|o|a} {+|-} {r|w|x} {filename}
To change file access permissions
u - User who owns thefile
g - Group file owner
o - User classified as other
a - All other system user
+ Set permission
- Remove permission
r - Read permission
w - Write permission
x - Execute permission