标签:邮件 alt 其它 新闻 一个 名称 版本 改变权限 编辑器
(base) liyihuadeMacBook-Pro:~ liyihua$ date
Thu Jun 6 08:44:02 CST 2019
(base) liyihuadeMacBook-Pro:~ liyihua$ cal
June 2019 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
(base) liyihuadeMacBook-Pro:~ liyihua$ cal 2019
2019 January February March Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 2 3 4 5 1 2 1 2 6 7 8 9 10 11 12 3 4 5 6 7 8 9 3 4 5 6 7 8 9 13 14 15 16 17 18 19 10 11 12 13 14 15 16 10 11 12 13 14 15 16 20 21 22 23 24 25 26 17 18 19 20 21 22 23 17 18 19 20 21 22 23 27 28 29 30 31 24 25 26 27 28 24 25 26 27 28 29 30 31 April May June Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 1 2 3 4 1 7 8 9 10 11 12 13 5 6 7 8 9 10 11 2 3 4 5 6 7 8 14 15 16 17 18 19 20 12 13 14 15 16 17 18 9 10 11 12 13 14 15 21 22 23 24 25 26 27 19 20 21 22 23 24 25 16 17 18 19 20 21 22 28 29 30 26 27 28 29 30 31 23 24 25 26 27 28 29 30 July August September Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 1 2 3 1 2 3 4 5 6 7 7 8 9 10 11 12 13 4 5 6 7 8 9 10 8 9 10 11 12 13 14 14 15 16 17 18 19 20 11 12 13 14 15 16 17 15 16 17 18 19 20 21 21 22 23 24 25 26 27 18 19 20 21 22 23 24 22 23 24 25 26 27 28 28 29 30 31 25 26 27 28 29 30 31 29 30 October November December Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 2 3 4 5 1 2 1 2 3 4 5 6 7 6 7 8 9 10 11 12 3 4 5 6 7 8 9 8 9 10 11 12 13 14 13 14 15 16 17 18 19 10 11 12 13 14 15 16 15 16 17 18 19 20 21 20 21 22 23 24 25 26 17 18 19 20 21 22 23 22 23 24 25 26 27 28 27 28 29 30 31 24 25 26 27 28 29 30 29 30 31
(base) liyihuadeMacBook-Pro:~ liyihua$ cal 9 2019
September 2019 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
(base) liyihuadeMacBook-Pro:~ liyihua$ bc
bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty‘. 1+1 2 99+88 187 100*200 20000 quit (base) liyihuadeMacBook-Pro:~ liyihua$
[Tab]键 接在一串指令的第一个后面----命令补全
[Tab]键 接在一串指令的第二个后面----文件补全
(base) liyihuadeMacBook-Pro:~ liyihua$ ls
ls lsbom lsm lsof lsvfs lsappinfo lskq lsmp lss3
cal calendar caller
(base) liyihuadeMacBook-Pro:~ liyihua$ info ls
(base) liyihuadeMacBook-Pro:~ liyihua$ nano
(base) liyihuadeMacBook-Pro:~ liyihua$ ls -al
total 160 drwxr-xr-x+ 50 liyihua staff 1600 Jun 6 09:47 . drwxr-xr-x 6 root admin 192 May 7 10:09 .. -r-------- 1 liyihua staff 9 May 4 21:34 .CFUserTextEncoding -rw-r--r--@ 1 liyihua staff 10244 Jun 5 21:57 .DS_Store drwx------ 2 liyihua staff 64 Jun 6 08:18 .Trash drwxr-xr-x 3 liyihua staff 96 May 15 19:30 .anaconda drwxr-xr-x 3 liyihua staff 96 May 4 22:33 .android drwxr-xr-x 3 liyihua staff 96 May 4 23:22 .astropy -rw------- 1 liyihua staff 8552 Jun 6 09:47 .bash_history -rw-r--r-- 1 liyihua staff 547 May 18 15:01 .bash_profile drwx------ 65 liyihua staff 2080 Jun 6 09:51 .bash_sessions drwxr-xr-x 4 liyihua staff 128 May 18 11:35 .conda -rw-r--r-- 1 liyihua staff 40 May 18 11:35 .condarc drwx------ 3 liyihua staff 96 May 19 15:35 .config drwxr-xr-x 4 liyihua staff 128 May 19 16:10 .docker drwxr-xr-x 4 liyihua staff 128 May 19 11:14 .gem -rw-r--r-- 1 liyihua staff 122 May 19 11:26 .gemrc drwxr-xr-x 3 liyihua staff 96 May 21 15:01 .idlerc drwxr-xr-x 5 liyihua staff 160 May 15 20:16 .ipython drwx------ 6 liyihua staff 192 May 20 09:34 .local [权限] [连结] [拥有者][群组][文件容量][修改日期] [档名]
操作符号
第一栏代表这个文件的类型与权限
第二栏表示有多少档名连结到了此节点
# chown 群组名称 文件或目录
chgrp users file
# chown 账号名称 文件或目录
chown liyihua file
chown 770 file
chmod u=rwx g=rwx o =r file
标签:邮件 alt 其它 新闻 一个 名称 版本 改变权限 编辑器
原文地址:https://www.cnblogs.com/lyh-xuexi/p/10985133.html