摘要:
ubuntu中默认进入目录后默认显示的路径是完整路径。 01,将其设置为最终的路径:basename (base) root@DESKTOP-IDT9S0E:~# cp ~/.bashrc ~/.bashrc.bak ## 避免意外,备份配置文件 (base) root@DESKTOP-IDT9S0 阅读全文
摘要:
export命令扩大了变量的作用范围。 001、 root@DESKTOP-IDT9S0E:/home/test# ls a.txt record.sh root@DESKTOP-IDT9S0E:/home/test# cat a.txt ## 测试文件 01 02 03 04 05 06 07 0 阅读全文
摘要:
001、 root@DESKTOP-IDT9S0E:/home/test# ls a.txt b.csv c.ped xx root@DESKTOP-IDT9S0E:/home/test# cat a.txt 1 2 3 4 5 6 7 8 9 10 root@DESKTOP-IDT9S0E:/ho 阅读全文