Shell Program #2
Write me a script that takes a directory to start in. It should
print all files that meet at least on criterea, and tell me why.
It can list the same file more than once if need be.
-
Empty files
-
Last used more than 1 year
-
No valid user
-
No valid group
-
rhost with world or group write permission
-
.exrc with world or group write permission
-
.bashrc with world or group write permission
-
It's bigger than 1 meg
-
It's a device
Shell Program #3
Modify your .bashrc. You should
-
Include the entire current working dir in your prompt.
-
Include the current time in the prompt.
-
Make 'ls-la' be an alias for 'ls -la'
-
Make 'quit' be an alias for 'exit'
-
Make a list of friends. When I first log in, I want to see if anyone
on the list is also logged in.