Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

  1. an alias named "bye" which terminates your Unix session.
  2. an alias named "longList" which accepts one or more files/directories and list them in long format.
  3. 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:

  1. display the contents of the file "myAliases".
  2. run: source myAliases
  3. run: touch xyz1 xyz2 xyz3 xyz4
  4. Type the following command to test your alias "longList": longList xyz[1-4]
  5. run: echo "date" > xyz1
  6. Type the following command to test your alias "rm": rm xyz?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions

Question

design a simple disciplinary and grievance procedure.

Answered: 1 week ago