Linux cshrc文件做用html
Linux如何起进程/查看进程/杀进程linux
Linux 文件755 表明什么权限程序员
Linux辅助线程面试
Linux进程间通讯方法shell
pipeline,msgq...bash
进程间通讯_百度百科函数
http://baike.baidu.com/link?url=tLNXNQvG5Wo6NptnjkflYaUQbdqW5fC3n40Cv4iF4YSX5EzgfJgwIbZnAfpXLVV1QRvP1293Dgo9qRBmSVfME_测试
Linux基本命令this
Linux监控命令,监测IOurl
46个Linux面试常见问题
面试中22 个 Linux 高频命令
面试 | Linux 下的动态连接库问题
面试 | Linux 下软连接和硬连接的区别
100 道 Linux 笔试题
Shell
What is $*?
Will display all the commandline arguments that are passed to the script
What is the difference between a shell variable that is exported and the one that is not exported?
export LANG=C
will make the variable LANG the global variable, put it into the global environment. all other processes can use it.
LANG=C
will change the value only in the current script.
How will you list only the empty lines in a file (using grep)?
grep "^[ ]*$" filename.txt
In character set (between [ and ] one space and tab is given)
this command will gives all the blank line including those having space and tabs (if pressed)only
How do you read arguments in a shell program - $1, $2 ?
#!/bin/sh
for i in $*
do
echo $i
done
On executig the above script with any number of command-line arguments it will display all the parametsrs.
How would you get the character positions 10-20 from a text file?
cut -c10-20 <filename.txt>
or
cat filename.txt | cut -c 10-20
用脚本实现:两个文件有多列,在指定列中找相匹配串。
精心汇总的 24 道 shell 脚本面试题 - 程序员大咖
常见的 shell 脚本面试题