ubuntu bash CentOS

~ /home/ya
pwd show path
uname -a print system info
`uname -a` in bash excute it and replace with command output
chmodchange permission:
chmod X@Y file1 file2 ...
where: X is any combination of the letters `u' (for owner), `g' (for group), `o' (for others), `a' (for all; that is, for `ugo'); @ is either `+' to add permissions, `-' to remove permissions, or `=' to assign permissions absolutely; and Y is any combination of `r', `w', `x'
read
write
execute

touch create file

internet
ifconfig internet config

programming
ls -al show dir content
ls -al show dir content
ls -al show dir content
ls -al show dir content

user management
passwd userName set password to user
su userName change user
exit log out
userdel userName -r delete user. -r with user dir.

system
sudo shutdown -r 0 reboot через 0 секунд
ctrl+alt+F1-9 run console in full screen mode
clear clear terminal
Symbolic NotationNumeric NotationEnglish
----------0000no permissions
---x--x--x0111execute
--w--w--w-0222write
--wx-wx-wx0333write & execute
-r--r--r--0444read
-r-xr-xr-x0555read & execute
-rw-rw-rw-0666read & write
-rwxrwxrwx0777read, write, & execute

Комментарии

Популярные сообщения из этого блога

Дэвид Рок: Ваш мозг на работе - Разговоры в Гугле

kafka конспект однако

Отслеживание Процесса загрузки с PHP и JavaScript