Question: For this question, before you start recording your tasks do the following: Edit a text file myAliases to contain the following alias definitions: an alias
For this question, before you start recording your tasks do the following:
Edit a text file "myAliases" to contain the following alias definitions:
an alias named "bye" which terminates your Unix session.
an alias named "longList" which accepts one or more filesdirectories and list them in long format.
an alias named rm that will prompt once before removing more than three files, or when removing recursively.
To activate your aliases, run: "source myAliases". Test your new aliases.
Once your aliases work properly, start a new terminal window to start recording your session. At the end take a screenshot.
Make the terminal window large enough to show your work.
Now perform the following tasks:
display the contents of the file "myAliases".
run: source myAliases
run: touch xyz xyz xyz xyz
type the following command to test your alias "longList": longList xyz
run: echo "date" xyz
type the following command to test your alias rm: rm xyz
Now take a screenshot to record your work..
Attach the screenshot file below.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
