linux-test

发布于 2020-09-21  216 次阅读




Linus Torvalds 在1991年9月17日发布了第一版的Linux。

Linux:一个kernel,多个distributions.(Unbuntu, Redhat, debian,...)

SHELL(CLI): 提供kernel服务的接口

  • Unix Shell : e.g. Bounce-Again Shell(bash) ,zsh...
  • Non-Unix Shell: e.g. DOS

GUI: Windows, X window(KDE, GNOME), Mac OS

常用的命令快览:

man -- display the on-line manual pages (man 2 umask)

whatis -- search the whatis database for complete words

File and Directory
sfgsfg
  • ls -- list files/dirs
  • ll = ls -l (alias)
  • mkdir -- create a dir

[TOC]

xgsgfsf

cd -- change dir (~ . .. -)

rm -- remove files/dirs

cp -- copy files/dirs

mv -- move files/dirs

pwd -- print working path

du -- display disk usage statistics

df -- display free disk space

touch -- 创建新文件或改变文件的时间

chmod -- change mode of file/dir

chown -- change owner of file/dir

chgrp -- change group of file/dir

  • [ ] 洗衣服
  • [x] 做饭
  • [ ] 看书