*.sh:批处理文件,因为批处理文件使用shell写成,所以扩展名就是.sh。
*.z *.tar *.tar.gz *.zip *.tgz :经过打包的压缩文件。
*.html *.php:网页相关文件,分别表示HTML语法与PHP语法的网页文件。
1.-rwxrwxrwx代表什么意思?
代表文件所属用户及所属组及其它用户均有可读可写可执行功能
其中
r:可读其值为4
w:可写其值为2
x:可执行其值为1
2.要将一个文件的属性改为-rwxr-xr--,采用什么命令
Chmod 754 文件名或chmod u=rwx,g=rx,o=r 文件名
3.若需要更改一个文件的拥有者与用户组,该用什么命令
Chown [-r] 账号名称:文件或目录
Chown [-r] 账号名称:用户组名称、文件或目录
例如:chown bin install.log
chown root:root install.log
4.显示隐藏文件
Ls –a –l
/bin :放二进制文件的,一般是一些命令文件
/boot:系统启动时用的一些文件
/dev:主要是放一些设备有关的文件
/etc:系统主要的设置文件放到这里
/home:这是系统默认的用户家目录。在新增一般用户账号时,默认的用户家目录都会放到这里。
/lib:放函数库文件
/host+found :系统出现异常,产生错误时,会将一些遗失的片段放于些目录下
/mnt:与软盘与光盘有关
/opt :给主机额外安装软件所放的目录
/proc:这个目录本身是一个“虚拟文件系统”它放置的文件都在内存中
/root:系统管理员的家目录。
/sbin
/usr/sbin
/usr/local/sbin :放一些系统管理员才会用到的执行命令(fdisk mke2fs fsck mkswap mount
/srv:一些服务启动后,这些服务所需要访问的数据目录。(www服务器需要的网页数据就可以放在 /srv/www中
[[emailprotected]~]#bc
按Q键退出
Dear Sir,
I am writing to seek your advice regarding which subject I should choose as my major, history or computer science. I am studying in the last year in high school now.
Next year, I hope that I will be able to enroll in your college. I began to take a special interest in history when I was a primary school student. I can still remember the historical stories my teachers told in class, so I was wondering if I should continue to study in your college. However, several days age, one of my friends told me that computer science is more popular nowadays.
As a matter of fact, many jobs need IT skills. I was advised that it’s more important to find a job than merely to satisfy personal interest. Therefore, it is now very hard for me to decide which subject I should choose. Must I give up my favorite subject and take employment need as a priority? I would be more than grateful to you if could tell me your advice about this. Your early reply would be highly appreciated.
Yours faithfully
Wang Rutao
Dear XX,
i am very happy to see you,i think you teach very well,we all love you!
i think your english class is better than our old english teacher's class,i believe you can do better than better!i believe in you!
Best wishes to you!
yours,
XXX
XXXX.X.X
© 2022 zuowencangku.com,All Rights Reserved.