/
, whole treeln
Three file streams (descriptors) related excuting commands.
command < input-file
command > output-file
command 2> error-file
command1 | command2 | command3
?
matches any single character*
matches any string[set]
matches any character in the set. [adf]
[!set]
matches any characer not in the set./proc
proc filesystem/home
user home directory under here. /root
is root's home/bin
, /usr/bin
, /usr/local/bin
for commands/sbin
, /usr/sbin
, /usr/local/sbin
for administration commands/dev/
contains device nodes/var
files changes when running
/var/log
system log files/var/lib
packages and database files/etc
for system configuration files/boot
for essential files to boot system/lib
libraries for /bin
and /sbin
/etc/passwd
/etc/group
~/.bashrc
set
, env
, export
, setenv
echo $SHELL
to show a variableexport VARIABLE=value
to export a new variable valueHOME
represents home directory, same as ~
PATH
directories to scanning comands~/.bashrc
alias
to showalias rm='rm -i'
chown
, chgrp
, chmod
ls -l
to showrwx: rwx: rwx
u: g: o
getfacl
and setfacl
)