别光看点个赞呗
文档完整下载链接:
wwhttps://download.csdn.net/download/weixin_59241300/87299684

cal -3

cal
查看指定日期的日历

cal 4 2022

cal 2018

cat -n /etc/passwd

cat -n /etc/bash.bashrc

cat -n /etc/deluser.conf

cat /etc/passwd|grep gbq

cat gbq >> wlxy
(cp gbq wlxy)
cat -n wlxy
cd ~
cd ..
ls
cd打开根目录,并用ls查看

cd /
ls

cd ~
cd ../..
ls
![]()
date +%c

date '+这个月是 %b'

date '+这个月是 %B'

date '+今天是 %A'

date '+今天是星期 %a'

date '+今天是 %x'

![]()
date -d 'next month'

echo -e "与君歌一曲,请君为我倾耳听。\n \n钟鼓馔玉不足贵,但愿长醉不复醒。"

echo -e "昨夜雨疏风骤,浓睡不消残酒。\n试问卷帘人,却道“海棠依旧”。\n“知否?知否?应是绿肥红瘦。”"

echo -e "君不见,黄河之水天上来,奔流到海不复回。\n君不见,高堂明镜悲白发,朝如青丝暮成雪。"

echo -e "古来圣贤皆寂寞,\f唯有饮者留其名。\f陈王昔日宴平乐,\f斗酒十千恣欢谑。"

echo -e "十年生死两茫茫,\n\n不思量,\n\n自难忘。"

echo -e "人生得意须尽欢,莫使金樽空对月。\n天生我材必有用,千金散尽还复来。"

sudo grep dql /etc/passwd /etc/shadow /etc/gshadow
cat -n /etc/services | head -11

head -10 /etc/passwd > wlxy1

ls -l ~

ls -l /etc/apt

ls

cd /
ls -a

touch -m gbq

touch gbq
vim gbq
a 10 100
b 20 200
c 30 300
b 40 400
e 50 500
c 30 300

cat -n gbq

touch 202010733208
ls -l 202010733208

more etc/passwd
(按空格向后翻页)

more -8 etc/passwd

more +5 etc/passwd

more -d etc/passwd

cat -n /etc/bash.bashrc | more

cat -n /etc/bash.bashrc | more -10

ln -s /etc/var/log abs
ls -l abs

ln -s /etc/passwd abs
ls -l abs

sudo ln /etc/apt/sources.list absc
ls -l absc

ln -s /etc/var/log absc
ls -l absc
vi qweqwe
i
再创建一个终端输入
ps -ef
kill +PID

ps -elf | head -n 10
ls -F

who -T -H

who -q

who -H



mkdir -m 777 202010733208
ll
rmdir 202010733208