|
写shell脚本的
1. Write a shell script to check the items of a designated directory which must be input from your terminal: if the item is a directory, delete it; else print the name of this item.
3. Write a shell script using a directory as input, if the input is null, use current directory as input. The routine is used to find all files with suffix ".c" and ".cpp", and then compare each other to check out whether there exist two files having the same contents: if exist, print out the corresponding names of these files. |
|