《aix系统应用基础》练习题9-aix工具

上传人:xian****hua 文档编号:252947273 上传时间:2024-11-26 格式:PPTX 页数:13 大小:277.70KB
返回 下载 相关 举报
《aix系统应用基础》练习题9-aix工具_第1页
第1页 / 共13页
《aix系统应用基础》练习题9-aix工具_第2页
第2页 / 共13页
《aix系统应用基础》练习题9-aix工具_第3页
第3页 / 共13页
点击查看更多>>
资源描述
单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,2011-11-6,#,答案:,B,Which command lists all files in the/home file system?,A.find .-name /home,B.find /home -print,C.find .-name all,D.find /home -type all,答案:,B,Which of the following commands should be used to list all files in the root filesystem that are named.profile?,A.find .-name .profile,B.find /-name .profile -print,C.find *-name “*profile”-ls,D.find ./.profile -exec ls -l,答案:,A,What is the function of the dot in the,“find .-print”command?,A.searches a relative path,B.uses absolute path for its search,C.restricts the search to two directory levels,D.starts the search from the parent directory,What is the function of the dot in the,“,find.,print,”,command?,searches a relative path,uses absolute path for its search,restricts the search to two directory levels,starts the search from the parent directory,答案:,C,Which of the following commands should be used to list all files in the current directory that have been changed during the current 24-hour period?,A.find /-ls -name“*”-print,B.find .-mtime 24 -ls,C.find .-ctime 1 -print,D.find ./-mtime 24 -ls,答案:,C,What is displayed by the command grep v“#”?,A.all lines that begin with a,B.all lines that begin with a or#,C.all lines that do not begin with a#,D.lines that do not begin with a#or,答案:,D,Which command will display all lines in file1 that begin with the string abc and end with the string xyz?,A.grep “abc*xyz$”file1,B.grep abc*xyzn file1,C.grep abc file1|grep -v xyz$file1,D.grep “abc”file1|grep “xyz$”,答案:,B,Which command will display all lines in file1 that,contain the string abc but NOT the string xyz?,A.grep -E“abc&!xyz”file1,B.grep abc file1|grep -v xyz,C.grep abcxyz file1,D.grep -v xyz “abc”file1,答案:,B,Which command will display all lines in file1 that,contain either the string abc or the string xyz?,A.grep abc file1|grep xyz file1,B.grep -E “abc|xyz”file1,C.grep abc-xyz file1,D.grep abc|xyz$file1,答案:,A,What is displayed by the command,grep “a-zA-Z”pgm.s,A.all lines in pgm.s that begin with a letter,B.all words in pgm.s that begin with a letter,all files in the pgm.s directory that begin with,a letter,all processes beginning with a letter that are,a child process of pgm.s,答案:,A,Which command can be used to list or modify previously executed shell commands?,A.fc,B.env,C.prev,D.edit,答案:,A,Which command can be used to modify or re-execute any previous shell command after displaying the shell history?,A.fc,B.set,C.type,D.history,答案:,D,A user is trying to read a logfile that gets updated every minute.What is the correct command to view the new incoming messages in real time?,A.more logfile,B.cat -v logfile,C.pg logfile,D.tail -f logfile,答案:,B,Which of the following commands should be used to search for a$(dolor sign)only in file1?,A.grep “$”file1,B.grep$file1,C.grep -c$file1,D.grep$file1,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 图纸专区 > 课件教案


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!