s********k 发帖数: 6180 | 1 Unix Questions (shell questions apply to sh/ksh/bash)
• How many ways can you think of to remove a file called '-r'?
• How might one trap a SIGKILL from within shell, or C, Perl or
Python?
• Can a Unix process become unkillable? If so, how?
• How would you find the disk space consumed by a directory without
using du?
• What happens if /dev/zero is deleted from a running system? If
you want it back, how do you recover it?
• When using a termin... 阅读全帖 |
|
c*********n 发帖数: 182 | 2 • How many ways can you think of to remove a file called '-r'?
unlink/rm/...?
• How might one trap a SIGKILL from within shell, or C, Perl or
Python?
Perhaps there are nothing you can do with SIGKILL without patching the init.
..
• Can a Unix process become unkillable? If so, how?
Yes. uninterruptible sleep
• How would you find the disk space consumed by a directory without
using du?
don't know. find . | ls | awk | sort | awk | ... ?! &*^(&@#(*^@#
• W... 阅读全帖 |
|
z**r 发帖数: 17771 | 3 怎么设定就看自己的policy了,基本上就是先classification,然后shaping or block
。application networking特长就是deep packet inspection,而且灵活
cisco很多设备可以干这个,比如p-cube,或者普通router上的nbar feature,或者ACE
等等,甚至连ASA/PIX都可以 |
|
|