Question
1. Show how to create an alias that when entered displays recursively the ordinary files in the current directory that have been modified since you
1. Show how to create an alias that when entered displays recursively the ordinary files in the current directory that have been modified since you logged in.
2. Show how to make a file of aliases called .aliases available to all sub shells.
3. How would you customize your command-prompt to look like this: [machine_name][user] ~/[current directory] ... and how would you be able to revert back to the original?
4. Create an alias that protects files from permanent deletion my moving them to a directory called .Trash. Make a command for crontab that will periodically delete the contents (even if they are directories) of .Trash that are older than 30 days.
5. How might you make an alias that when entered opens in vi the last file modified in the current directory?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started