设为首页 加入收藏

TOP

几个Shell Script面试题
2014-11-23 17:51:59 来源: 作者: 【 】 浏览:18
Tags:几个 Shell Script 试题

1. How do you take a single line of input from the user in a shell
script
2. Write a script to convert all DOS style backslashes to UNIX style
slashes in a list of files.
3. Write a regular expression (or sed script) to replace all
occurrences of the letter ‘f’, followed by any number of characters,
followed by the letter ‘a’, followed by one or more numeric characters,
followed by the letter ‘n’, and replace what’s found with the string
“UNIX”.
4. What happens to a child process that dies and has no parent process
to wait for it and what’s bad about this
5. How do you create a swapfile 1. How do you take a single line of input from the user in a shell
script
2. Write a script to convert all DOS style backslashes to UNIX style
slashes in a list of files.
3. Write a regular expression (or sed script) to replace all
occurrences of the letter ‘f’, followed by any number of characters,
followed by the letter ‘a’, followed by one or more numeric characters,
followed by the letter ‘n’, and replace what’s found with the string
“UNIX”.
4. What happens to a child process that dies and has no parent process
to wait for it and what’s bad about this
5. How do you create a swapfile


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇hibernate中many to many的实体如.. 下一篇中兴的一次面试

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: