Linux
2021-08-03 10:51:02 14 举报
AI智能生成
Linux
作者其他创作
大纲/内容
Linux
*
重定向
command < file
command >> file
n >& m
n <& m
>> tag
command > /dev/null 2>&1
文件描述符
0
STDIN
1
STDOUT
2
STDERR
文件管理
cat
cat [OPTIONS] file
cat -n file.txt
chattr
chattr [OPTIONS] MODE file/path
chattr +i file.txt
chattr +a file.txt
chgrp
chgrp [OPTIONS] 所属群组 file/path
chgrp bin file.txt
chgrp --reference=file.txt file2.txt
chmod
chmod [OPTIONS] MODE file
chmod ugo+r file.txt
chmod 777 file
chmod 4755 filename
chown
chown [OPTIONS] [USER[:GROUP | USER_ID[:GROUP_ID]] file
chown root file.text
chown my_user:my_group file.txt
chown 512 file.text
chown 512:13 file.txt
cksum
cksum [OPTIONS] file
cksum file.txt
cmp
cmp [OPTIONS] file1 file2
cmp te.sh test.sh
cmp test.sh test2.sh
cmp -l t.sh test.sh 1 41 43
diff
diff [OPTIONS] file1 file2
diff test.sh test2.sh
diff test.sh test2.sh -y -W 50
diffstat
diff [OPTIONS]
diff test.sh test2.sh | diffstat
file
file [OPTIONS] file_name
file file.txt
file -b file.txt
file -i file.txt
find
find file_path EXPRESSION [OPTIONS]
find . -name \"*.c\"
find /var/log -type f -mtime +7 -ok rm {} \\
find . -type f -perm 644 -exec ls -l {} \\
find / -type f -size 0 -exec ls -l {} \\
gitview
indent
cut
ln
less
locate
lsattr
mattrib
mc
mdel
mdir
mktemp
more
mmove
mread
mren
mtools
mtoolstest
mv
od
paste
patch
rcp
rm
slocate
split
tee
tmpwatch
touch
umask
which
cp
whereis
mcopy
mshowfat
rhmask
scp
awk
read
updatedb
文档编辑
col
colrm
comm
csplit
ed
egrep
ex
fgrep
fmt
fold
grep
ispell
jed
joe
join
look
mtype
pico
rgrep
sed
sort
spell
tr
expr
uniq
wc
let
文件传输
lprm
lpr
lpq
lpd
bye
ftp
uuto
uupick
uucp
uucico
tftp
ncftp
ftpshut
ftpwho
ftpcount
磁盘管理
cd
df
dirs
du
edquota
eject
mcd
mdeltree
mdu
mkdir
mlabel
mmd
mrd
mzip
pwd
quota
mount
mmount
rmdir
rmt
stat
tree
umount
ls
quotacheck
quotaoff
lndir
repquota
磁盘维护
badblocks
cfdisk
dd
e2fsck
ext2ed
fsck
fsck.minix
fsconf
fdformat
hdparm
mformat
mkbootdisk
mkdosfs
mke2fs
mkfs.ext2
mkfs.msdos
mkinitrd
mkisofs
mkswap
mpartition
swapon
symlinks
sync
mbadblocks
mkfs.minix
fsck.ext2
fdisk
losetup
mkfs
sfdisk
swapoff
网络通讯
apachectl
arpwatch
dip
getty
mingetty
uux
telnet
uulog
uustat
ppp-off
netconfig
nc
httpd
ifconfig
minicom
mesg
dnsconf
wall
netstat
ping
pppstats
samba
setserial
talk
traceroute
tty
newaliases
uuname
netconf
write
statserial
efax
pppsetup
tcpdump
ytalk
cu
smbd
testparm
smbclient
shapecfg
系统管理
adduser
chfn
useradd
date
exit
finger
fwhios
sleep
suspend
groupdel
groupmod
halt
kill
last
lastb
login
logname
logout
ps
nice
procinfo
top
pstree
reboot
rlogin
rsh
sliplogin
screen
shutdown
rwho
sudo
gitps
swatch
tload
logrotate
uname
chsh
userconf
userdel
usermod
vlock
who
whoami
whois
newgrp
renice
su
skill
w
id
groupadd
free
系统设置
reset
clear
alias
dircolors
aumix
bind
chroot
clock
crontab
declare
depmod
dmesg
enable
eval
export
pwunconv
grpconv
rpm
insmod
kbdconfig
lilo
liloconfig
lsmod
minfo
set
modprobe
ntsysv
mouseconfig
passwd
pwconv
rdate
resize
rmmod
grpunconv
modinfo
time
setup
sndconfig
setenv
setconsole
timeconfig
ulimit
unset
chkconfig
apmd
hwclock
mkkickstart
fbset
unalias
SVGATextMode
gpasswd
备份压缩
ar
bunzip2
bzip2
bzip2recover
gunzip
unarj
compress
cpio
dump
uuencode
gzexe
gzip
lha
restore
tar
uudecode
unzip
zip
zipinfo
设备管理
setleds
loadkeys
rdev
dumpkeys
MAKEDEV
poweroff
0 条评论
回复 删除
下一页