命令行入门

ls

list directory contents.
eg.

ls -al

-a, --all do not ignore entries starting with .
-l use a long listing format.

cat

concatenate files and print on the standard output.
eg.

cat filename

print the content of file on terminal.

mv

move (rename) files.
eg.

mv 1.txt 2.txt

rename 1.txt to 2.txt

touch

the easiest way to create new, empty files.
eg.

touch filename.md

create filename.md at current directory.

we can search the explain of command at website:https://explainshell.com

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • pyspark.sql模块 模块上下文 Spark SQL和DataFrames的重要类: pyspark.sql...
    mpro阅读 13,150评论 0 13
  • 1 因为睡了午觉,晚上就会睡不好,或者早上醒得特别早,所以干脆不睡了。可是不睡了呢,一下午昏昏沉沉,晚上和女儿看电...
    琴弦叮咚阅读 1,865评论 0 0
  • 讨厌 真是一个讨厌的字眼 我不讨厌你 那么 我也不反感和你一起 但是 我开始讨厌你了 对不起 我们将要形同陌路 是...
    心笑尘阅读 1,274评论 0 0
  • 家里洗手间的灯坏了,在淘宝都找不到合适的型号,最后老公找了管理处的师傅来修理,洗手间有三个灯,最后只换了一个,剩下...
    爱与乐ayl阅读 1,378评论 0 0
  • 关于韩信的故事,诸如韩信点兵多多益善,胯下之辱,可谓妇孺皆知。 据史载,韩信还是一位发明家,相传,风筝的发明人就是...
    风_7ff5阅读 9,707评论 0 6