Linux学习笔记(一)

some common command in Linux OS:


1.

cd (short for "change direction") 

形式:cd direction(direction here is the direction name which you want show on work direction )

"cd .."或“cd”返回上一级路径

2.

pwd:显示全部路径

3.

ls  (short for "list")显示当前菜单下的子文件

ls -F 显示文件的类型(可执行文件或文件夹)

If you give ls a directory name, the system will print the contents of that directory. 
tscreen2628


直接查看某个子菜单下的文件内容:(例)"空格ls空格/etc"

4

创建文档 mkdir空格加名字(“mkdir foo”)

?5.copying file

格式 cp空格加路径(“cp /etc/termcap”)运行不了


6

 Every directory has an entry named ``..'' which refers to the parent directory. Similarly, every directory has an entry named ``.'' which refers to itself. Therefore, the command 


?7.

删除命令:rm (无法删除)



8.

进入查看手册: man空格加你要查看的command,比如查看ls的手册 “man ls”


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值