b*******s 发帖数: 5216 | 1 【 以下文字转载自 JobHunting 讨论区 】
发信人: brainless (n/a), 信区: JobHunting
标 题: 问个临时抱佛脚的问题
发信站: BBS 未名空间站 (Mon Nov 26 05:16:58 2012, 美东)
linux command lines,如果你是面试官,最经常问哪10条?
谢谢 | d****n 发帖数: 1637 | 2 1. find a file by name/pattern
2. find a exact word/pattern in text file, counters of this pattern/word.
exclude this word/pattern in this file and do the same
3. sort a table(numbers) print unique counts by x column.
4. replace/insert/delete pattern/word in a text file.
5. rename/move/copy files from prefix/suffix "xxx" to "yyy"
6. given a table with numbers, calculate the average/sum/stdv at column x,y
,z
7. how/how many ways to detach a process when the process is running? before
it starts?
8. kill/stop/resume/renice a process by id
9. define a function in a shell scripts.how to call/pass parameters to it
10. print number 1..10 in command line.
11. how to check if a file is exist, symbolic link, file size zero?
12. string comparison by exact/pattern matching.
13. number comparison; float numbers operations
14. string concatenation, subscript, substitution
15. which text editor you are familiar with (vim/Emacs/pico)
16 explain the commands , sed ,awk, grep, cut, diff, sort , env, find, xarg,
export, pwd, basename, dirname, tar ,less, more, tail, head ,ps, watch, top
, df, du, chmod, chown, who, wget, curl
目前想起来的就这么多。面试时候,一般前5个就难倒一大批毕业生了
【在 b*******s 的大作中提到】 : 【 以下文字转载自 JobHunting 讨论区 】 : 发信人: brainless (n/a), 信区: JobHunting : 标 题: 问个临时抱佛脚的问题 : 发信站: BBS 未名空间站 (Mon Nov 26 05:16:58 2012, 美东) : linux command lines,如果你是面试官,最经常问哪10条? : 谢谢
| j****y 发帖数: 684 | 3 请问若问关于shell programming的,可以问什么?
,y
before
【在 d****n 的大作中提到】 : 1. find a file by name/pattern : 2. find a exact word/pattern in text file, counters of this pattern/word. : exclude this word/pattern in this file and do the same : 3. sort a table(numbers) print unique counts by x column. : 4. replace/insert/delete pattern/word in a text file. : 5. rename/move/copy files from prefix/suffix "xxx" to "yyy" : 6. given a table with numbers, calculate the average/sum/stdv at column x,y : ,z : 7. how/how many ways to detach a process when the process is running? before : it starts?
| d****n 发帖数: 1637 | 4 里面涉及了shell script.
但不是全部。能问的有好多。
【在 j****y 的大作中提到】 : 请问若问关于shell programming的,可以问什么? : : ,y : before
| l*********s 发帖数: 5409 | 5 co-ask, any tips on how to prepare for Google interviews? | b*******s 发帖数: 5216 | 6 多谢,多谢
,y
before
【在 d****n 的大作中提到】 : 1. find a file by name/pattern : 2. find a exact word/pattern in text file, counters of this pattern/word. : exclude this word/pattern in this file and do the same : 3. sort a table(numbers) print unique counts by x column. : 4. replace/insert/delete pattern/word in a text file. : 5. rename/move/copy files from prefix/suffix "xxx" to "yyy" : 6. given a table with numbers, calculate the average/sum/stdv at column x,y : ,z : 7. how/how many ways to detach a process when the process is running? before : it starts?
| l****c 发帖数: 782 | |
|