IT面试笔试题全集_Linux篇_Rain系列.doc

想预览更多内容,点击预览全文

申明敬告:

本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己完全接受本站规则且自行承担所有风险,本站不退款、不进行额外附加服务;如果您已付费下载过本站文档,您可以点击这里二次下载

文档介绍

IT面试笔试题全集_史上最全_Linux篇_Rain系列

几个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

#8216;f

#8217;, followed by any number of characters,

followed by the letter

#8216;a

#8217;, followed by one or more numeric characters,

followed by the letter

#8216;n

#8217;, and replace what

#8217;s found with the sing

#8220;UNIX

.

4. What happens to a child process that dies and has no parent process

to wait for it and what

#8217;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

最近下载