BeginningLinux

ls:list
-l :long format
-h :human can read format
-a: show directory begin with “.” “…”and”.””…”
“.”:current directory
“…”:current directory’s father directory
-A :show directory begin with “.” “…”without “.””…”
-d:directory itself
-r: reverse
-i: index node

pwd:print working directory
tmp :terminal monitor program

whoami=who am i =w=who
users:all users in the system
tty:use which terminal (because the DEC use teletypewriter to contact with the terminal ,so we call it as tty).
uname:UNIXname(something about the operator system ).you can add (-option)to get more information (notice:when you print a short optionjustlike”-a”,you should only print one “-”;but whenyou can not remember all short print ,you want to print whole print you should print two “—”just like”—all”.the two format is do as thing ).(you can use “—help” when you forget something about the command to find what can you do ).

date:get the the now. Date and time and so on
cal:get the calendar whenyou want ,you can print “cal 2018”get 2018’s all calendar, you can print”cal 8 2018”get 2018’s august ’s calendar.the format should be “cal month year”or “cal year” you should not print “cal year month ”because if you print like this you will not get the right answer.

clear:use clear you can clear your monitor.clear all what you have typed .
su:switch user.use this you can change the user which you are using .but remember “su - elaine”between the “-”and “elaine ”there is a white space .you can also print like this “su -”to change to the user”root”.

passwd:use this you can change you current password

whatis:eg.whatis uname (——> name (1). print system information)
—help:eg. uname —help (—>will return all option what unambiguous have and can do)
man:manual(if you want yo left the man pages you can print “q”).
man -f =whatis

pwd:print working directory:show the current directory.
cd:change directories, will change the working directory.
You can use”…”to find the parent directory ,you cause “.”to find the current directory.you can use “cd ~”or”cd (here is white a space )”just as same as “cd” to change to the /home or /root directory for the user .you can use “cd -”to change between the last directory you use and the current directory you use .just like when you use “/root/Desktop”now and you have used the “/home/dog”before you can use “cd -”to change to the “/home/dog”and you can also use the “cd -”again to then change to the “/root/Desktop”again .you can also use “cd $HOME”to change to the user’s home directory .for example:you now is use “/home/dog”,but before that you have used “/root/Desktop”before you use “cd $HOME”you can change to the directory”/root”
“cd”let the users can change between the different directories in the linux ,”pwd”can tell you where are you now in the linux system .

ls:list you can get what in the [directories /files] which you print
You can use”-F”to get what. Kind of the [directories /files]is :for example:”/”means directory,”*”means a file which you can exe;”(print nnothing)”:means it is just a pure file or just a ASCIIfiles;”@”:means it is a link.
You can use”ls -F”get current directory’s container and the container’s type.eg.”ls -F /bin”
When a file is a hidden file it will begin with “.”eg.”.bash-logout”
You can use”ls -a”or “ls —all”get all file including the hidden file.
“ls -l”:will show you all the details.

23:06:14 对方已成功接收文件“判断.docx”
sunom 20:17:39
[文件]
sunom 20:58:10
[文件]
sunom 20:58:29
[文件]
sunom 20:58:48
[文件]
sunom 21:48:45
完善和发展中国特色社会主义制度,推进国家治理体系和治理能
力现代化,这两句话是一个整体,前一句规定了根本方向,后一句规
定了实现路径,我们是在中国特色社会主义道路这个方向上推进国家
治理体系和治理能力现代化。推进国家治理体系和治理能力现代化,
sunom 21:51:26
是完善和发展中国特色社会主义制度的必然要求,是实现社会主义现
代化的应有之义。推进国家治理体系和治理能力现代化,就是要使各
方面制度更加科学、更加完善,为党和国家事业发展、为人民幸福安
康、为社会和谐稳定、为国家长治久安提供一整套更完备、更稳定、
更管用的制度体系,实现党、国家、社会各项事务治理制度化、规范
化、程序化,善于运用制度和法律治理国家,提高党科学执政、民主
执政、依法执政水平,提高运用中国特色社会主义制度有效治理国家
的能力,充分发挥我国社会主义制度的优越性。

国家治理体系和治理能力是一个国家的制度和制度执行能力的集
中体现,两者相辅相成。

sunom 21:53:13
(必须把国家治理体系和治理能力结合在一起,把两者当作一个相辅相
成的有机整体,通过好的国家治理体系提高治理能力,通过提高国家
治理能力充分发挥国家治理体系的效能。'
。(推进国家治理体系和治理能力现代化,必须解决好价值体系问题月

sunom 22:12:12
“全面”是基础。体现为管党治党对象全覆盖、领域全范围、责任全
担负,人人、处处、时时纳人其中,无一例外。“严”是关键。“世间
事,做于细,成于严。”共产党人最讲认真,全面从严治党讲认真,
就是坚持严字当头,把严的要求贯彻全过程,做到真管真严、敢管敢
严、长管长严。“治”是要害。坚持标本兼治,以猛药去疴、重典治
乱的决心,以刮骨疗毒、壮士断腕的勇气,拔“烂树”、治“病树”
正“歪树”O

sunom 22:37:31
[文件]
sunom 22:38:41
[文件]
sunom 19:30:14
[文件]
sunom 19:30:55
[文件]
sunom 20:22:23
在刚入门的时候可以看《Linux培训教程–从实践中学习Linux》何明,何茜颖著。

与微软不同,linux与unix系统中文件的扩展名几后缀并不代表文件的类型,所以应该用file命令确定一个文件的类型。
head命令在计算行数时是以换行字符为标准的,如果在一片两段的文章中只有每段开头有换行字符,则系统认为这篇文章换行数为2.
可以用cat,head,tail浏览文件内容。
tail -f :与日志系统结合运用,时时监视日志系统的log文件。f是follow的缩写。
wc:word count。显示文件行,单词和字符数。
/etc/passwd内含有包括用户的信息,切一个用过户有一行记录。所以如果想统计用户数可以使用wc -l /etc/passwd来统计总用户数即文件总行数。
shell就是将人输入的计算机命令翻译为机器指令交由计算机执行的命令解释器。在linux或unix上叫shell在Windows上叫DOS。
~后有用户名,则该符号代表这个用户(用户名的用户)的家目录。
~后没有用户名,则该符号代表当前用户的家目录。
history:历史操作。并可以通过小技巧修改以前的命令在运行,更多请百度。
是用到引号(与~在同一个键上)或$()来使屏幕显示内容时还可执行命令得到想要的数据。
linux快捷键:更多百度。

:可作为逃逸符也可作为续行符
cut,paste:更多百度。
关于/etc/passwd和/ect/shadow和/etc/group和
/etc/gshadow更多百度
关于管道运用,输入输出应用更多百度。
在[root@dog ]中dog是主机名,root是现在用户名。表示现在在用户家目录。[root@dog fox]表示现在在root家目录下的子目录fox。
在linux上所有资源都被看做文件,包括物理设备和目录。
关于用户,群组,权限请百度更多。sgid与sticky可组合使用使在一个群组里的各用户可共享文件,且文件不会被除文件共享者以外的人删除。

rm删除文件时,未马上删除数据只是将数据块标记为可用,当真正需要用时再用数据将原数据覆盖,所以可以用数据恢复软件工具将一些误删的数据恢复过来。

在创建软连接时最好是用绝对路径,不要用相对路径。

是用touch使pr格式化的文件显示当前时间,而不是其最后一次修改的时间。

tar:tape archive。tar命令中,归档文件名要是用相对路径。tar中所有选项前都不使用”-”。

grep:global regular expressions print。更多grep,egrep,fgrep请百度。grep命令默认在搜索时区分大小写。
sed:stream editor。
awk:由三个作者名字开头字母命名,功能用法请百度。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值