欢迎来到天天文库
浏览记录
ID:40560519
大小:33.50 KB
页数:8页
时间:2019-08-04
《linux上机练习》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、[ll@localhost~]$lstoolchains公共的模板视频图片文档下载音乐桌面[ll@localhost~]$ls-l总计36drwxr-xr-x2llll40962011-05-13toolchainsdrwxr-xr-x2llll40962011-05-08公共的drwxr-xr-x2llll40962011-05-08模板drwxr-xr-x2llll40962011-05-08视频drwxr-xr-x2llll40962011-05-08图片drwxr-xr-x2llll40
2、962011-05-08文档drwxr-xr-x2llll40962011-05-08下载drwxr-xr-x2llll40962011-05-08音乐drwxr-xr-x2llll40962011-05-08桌面[ll@localhost~]$su密码:[root@localhostll]#lstoolchains公共的模板视频图片文档下载音乐桌面[root@localhostll]#cd..[root@localhosthome]#lshellohello.chello-newll[root
3、@localhosthome]#ls-l总计24-rwxrwxr-x1rootroot48432011-05-13hello-rw-r--r--1rootroot602011-05-13hello.c-rwxr-xr-x1rootroot49992011-05-13hello-newdrwx------30llll409604-1318:47ll[root@localhosthome]#rm-fhello[root@localhosthome]#rm-fhello-new[root@localh
4、osthome]#lshello.cll[root@localhosthome]#sull[ll@localhosthome]$useraddabcbash:/usr/sbin/useradd:权限不够[ll@localhosthome]$su密码:[root@localhosthome]#useraddabcl[root@localhosthome]#lsabchello.cll[root@localhosthome]#vihello.c[root@localhosthome]#vihello
5、.c[root@localhosthome]#ls-l总计12drwx------4abcabc409604-1318:50abc-rw-r--r--1rootroot602011-05-13hello.cdrwx------30llll409604-1318:50ll[root@localhosthome]#gcchello.c[root@localhosthome]#lsabca.outhello.cll[root@localhosthome]#ls-l总计20drwx------4abca
6、bc409604-1318:50abc-rwxrwxr-x1rootroot484304-1318:53a.out-rw-r--r--1rootroot602011-05-13hello.cdrwx------30llll409604-1318:50ll[root@localhosthome]#./a.outhello,world![root@localhosthome]#gcchello.c-ohe[root@localhosthome]#lsabca.outhehello.cll[root@
7、localhosthome]#./hehello,world![root@localhosthome]#ls-l总计28drwx------4abcabc409604-1318:50abc-rwxrwxr-x1rootroot484304-1318:53a.out-rwxrwxr-x1rootroot484304-1318:54he-rw-r--r--1rootroot602011-05-13hello.cdrwx------30llll409604-1318:50ll[root@localho
8、sthome]#chmod666he[root@localhosthome]#ls-l总计28drwx------4abcabc409604-1318:50abc-rwxrwxr-x1rootroot484304-1318:53a.out-rw-rw-rw-1rootroot484304-1318:54he-rw-r--r--1rootroot602011-05-13hello.cdrwx------30llll409604-1318:50ll[root@localhosthome]#./heb
此文档下载收益归作者所有