




已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
lllocalhost $ lstoolchains 公共的 模板 视频 图片 文档 下载 音乐 桌面lllocalhost $ ls -l总计 36drwxr-xr-x 2 ll ll 4096 2011-05-13 toolchainsdrwxr-xr-x 2 ll ll 4096 2011-05-08 公共的drwxr-xr-x 2 ll ll 4096 2011-05-08 模板drwxr-xr-x 2 ll ll 4096 2011-05-08 视频drwxr-xr-x 2 ll ll 4096 2011-05-08 图片drwxr-xr-x 2 ll ll 4096 2011-05-08 文档drwxr-xr-x 2 ll ll 4096 2011-05-08 下载drwxr-xr-x 2 ll ll 4096 2011-05-08 音乐drwxr-xr-x 2 ll ll 4096 2011-05-08 桌面lllocalhost $ su密码:rootlocalhost ll# lstoolchains 公共的 模板 视频 图片 文档 下载 音乐 桌面rootlocalhost ll# cd .rootlocalhost home# lshello hello.c hello-new llrootlocalhost home# ls -l总计 24-rwxrwxr-x 1 root root 4843 2011-05-13 hello-rw-r-r- 1 root root 60 2011-05-13 hello.c-rwxr-xr-x 1 root root 4999 2011-05-13 hello-newdrwx- 30 ll ll 4096 04-13 18:47 llrootlocalhost home# rm -f hellorootlocalhost home# rm -f hello-new rootlocalhost home# lshello.c llrootlocalhost home# su lllllocalhost home$ useradd abcbash: /usr/sbin/useradd: 权限不够lllocalhost home$ su密码:rootlocalhost home# useradd abclrootlocalhost home# lsabc hello.c llrootlocalhost home# vi hello.crootlocalhost home# vi hello.crootlocalhost home# ls -l总计 12drwx- 4 abc abc 4096 04-13 18:50 abc-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 18:50 llrootlocalhost home# gcc hello.crootlocalhost home# lsabc a.out hello.c llrootlocalhost home# ls -l总计 20drwx- 4 abc abc 4096 04-13 18:50 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 18:50 llrootlocalhost home# ./a.outhello,world!rootlocalhost home# gcc hello.c -o herootlocalhost home# lsabc a.out he hello.c llrootlocalhost home# ./hehello,world!rootlocalhost home# ls -l总计 28drwx- 4 abc abc 4096 04-13 18:50 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rwxrwxr-x 1 root root 4843 04-13 18:54 he-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 18:50 llrootlocalhost home# chmod 666 herootlocalhost home# ls -l总计 28drwx- 4 abc abc 4096 04-13 18:50 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rw-rw-rw- 1 root root 4843 04-13 18:54 he-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 18:50 llrootlocalhost home# ./hebash: ./he: 权限不够rootlocalhost home# chmod 777 herootlocalhost home# ls -l总计 28drwx- 4 abc abc 4096 04-13 18:50 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rwxrwxrwx 1 root root 4843 04-13 18:54 he-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 18:50 llrootlocalhost home# ./hehello,world!rootlocalhost home# ls abc a.out he hello.c llrootlocalhost home# ls abcrootlocalhost home# ls lltoolchains 公共的 模板 视频 图片 文档 下载 音乐 桌面rootlocalhost home# su lllllocalhost home$ ls abc a.out he hello.c lllllocalhost home$ ls abcls: 无法打开目录 abc: 权限不够lllocalhost home$ lllocalhost home$ ls -l总计 28drwx- 4 abc abc 4096 04-13 18:50 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rwxrwxrwx 1 root root 4843 04-13 18:54 he-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 18:50 lllllocalhost home$ chmod 606 abcchmod: 更改 “abc” 的权限: 不允许的操作lllocalhost home$ su密码:rootlocalhost home# chmod 606 abcrootlocalhost home# ls -l总计 28drw-rw- 4 abc abc 4096 04-13 18:50 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rwxrwxrwx 1 root root 4843 04-13 18:54 he-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 18:57 llrootlocalhost home# su lllllocalhost home$ ls abclllocalhost home$ lsabc a.out he hello.c lllllocalhost home$ cp hello.c lllllocalhost home$ lsabc a.out he hello.c lllllocalhost home$ ls llhello.c toolchains 公共的 模板 视频 图片 文档 下载 音乐 桌面lllocalhost home$ cp ll abccp: 略过目录 “ll”lllocalhost home$ cp ll.hello.c abccp: 无法 stat “ll.hello.c”: 没有那个文件或目录lllocalhost home$ cp ll/hello.c abccp: 无法 stat “abc/hello.c”: 权限不够lllocalhost home$ cp ll/hello.c abc/cp: 无法 stat “abc/hello.c”: 权限不够lllocalhost home$ su密码:rootlocalhost home# cp ll/hello.c abc/rootlocalhost home# ls abchello.crootlocalhost home# lsabc a.out he hello.c llrootlocalhost home# ls -l总计 28drw-rw- 4 abc abc 4096 04-13 19:02 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rwxrwxrwx 1 root root 4843 04-13 18:54 he-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 19:02 llrootlocalhost home# tar -cf bf.tar a.out he hello.crootlocalhost home# ls -l总计 48drw-rw- 4 abc abc 4096 04-13 19:02 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rw-r-r- 1 root root 20480 04-13 19:04 bf.tar-rwxrwxrwx 1 root root 4843 04-13 18:54 he-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 19:02 llrootlocalhost home# tar -czf bf.tar.gz a.out he hello.crootlocalhost home# ls -l总计 52drw-rw- 4 abc abc 4096 04-13 19:02 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rw-r-r- 1 root root 20480 04-13 19:04 bf.tar-rw-r-r- 1 root root 2437 04-13 19:06 bf.tar.gz-rwxrwxrwx 1 root root 4843 04-13 18:54 he-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 19:02 llrootlocalhost home# tar -cjf bf.tar.bz2 a.out he hello.crootlocalhost home# ls -l总计 56drw-rw- 4 abc abc 4096 04-13 19:02 abc-rwxrwxr-x 1 root root 4843 04-13 18:53 a.out-rw-r-r- 1 root root 20480 04-13 19:04 bf.tar-rw-r-r- 1 root root 2953 04-13 19:06 bf.tar.bz2-rw-r-r- 1 root root 2437 04-13 19:06 bf.tar.gz-rwxrwxrwx 1 root root 4843 04-13 18:54 he-rw-r-r- 1 root root 60 2011-05-13 hello.cdrwx- 30 ll ll 4096 04-13 19:02 llrootlocalhost home# rm -f a.outrootlocalhost home# rm -f herootlocalhost home# rm -f hello.c rootlocalhost home# lsabc bf.tar bf.tar.bz2 bf.tar.gz llrootlocalhost home# tar -xjvf bf.tar.bz2a.outhehello.crootlocalhost home# ls abc a.out bf.tar bf.tar.bz2 bf.tar.gz he hello.c llrootlocalhost home# lsabc a.out bf.tar bf.tar.bz2 bf.tar.gz he hello.c llrootlocalhost home# cd llrootlocalhost ll# lshello.c toolchains 公共的 模板 视频 图片 文档 下载 音乐 桌面rootlocalhost ll# cd 下载rootlocalhost 下载# lslinuxqq_v1.0.2_i386.tar.gzrootlocalhost 下载# tar -xzvf linuxqq_v1.0.2_i386.tar.gz linuxqq_v1.0.2_i386/linuxqq_v1.0.2_i386/QQLnklinuxqq_v1.0.2_i386/res.dblinuxqq_v1.0.2_i386/qqrootlocalhost 下载# lslinuxqq_v1.0.2_i386 linuxqq_v1.0.2_i386.tar.gzrootlocalhost 下载# cd linuxqq_v1.0.2_i386rootlocalhost linuxqq_v1.0.2_i386# lsqq QQLnk res.dbrootlocalhost linuxqq_v1.0.2_i386# ./qq./qq: /usr/lib/libstdc+.so.6: version GLIBC
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026届四川省成都市航天中学校化学高二上期中质量跟踪监视试题含解析
- 2025年中国物流集团校园招聘笔试专项练习含答案
- 江苏省淮安市钦工中学2026届化学高三上期末预测试题含解析
- 安徽省砀山县金山中学2017-2018学年高一上学期期末考试政治试题
- 优化管理型养护合同
- 2025年反洗钱知识竞赛题库及参考答案
- 高效会议与绩效目标合同
- 2025年法律常识题库(含答案)
- 2025企业简明借款协议
- 软件开发项目协议
- 2025年事业单位招聘考试建筑类综合能力测试试卷八十二:建筑工程施工监理案例分析八
- 2025年事业单位招聘考试综合类专业能力测试试卷(工程类)-建筑工程施工质量控制
- 2025年教育法学法规试题及答案
- 在接受诫勉谈话时的检讨及整改情况报告
- 汉教课堂观察汇报
- 2025年高级(三级)评茶员职业技能鉴定《理论知识》真题卷(后附答案及解析)
- 2025年注册会计师考试财务成本管理试题及答案解析
- 《人工智能通识课基础》高职人工智能全套教学课件
- 鳃裂囊肿及瘘管的护理
- 推进普惠托育服务体系建设实施方案
- 校园保安岗位职责培训
评论
0/150
提交评论