Unix assignment Purpose: The purpose of this assignment is to use various concepts of      the C Shell. 0. Change your default login shell to the C Shell. 1. Create a .cshrc file in your home directory that will do    the following: *  Create the alias (lsall) that will do all of the following:    display the date, and a recursive long list of all files    in a directory. *  Create the alias (whoson) that will display the date and a sorted    list of users logged in. *  Declare the LOCAL variable that controls the size of your history    list to the value 200. *  Declare the shell variable that will cause the C Shell to send    a message to your terminal whenever one of your background

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Topic Video
Question

Unix assignment

Purpose: The purpose of this assignment is to use various concepts of

     the C Shell.

0. Change your default login shell to the C Shell.

1. Create a .cshrc file in your home directory that will do

   the following:

*  Create the alias (lsall) that will do all of the following:

   display the date, and a recursive long list of all files

   in a directory.

*  Create the alias (whoson) that will display the date and a sorted

   list of users logged in.

*  Declare the LOCAL variable that controls the size of your history

   list to the value 200.

*  Declare the shell variable that will cause the C Shell to send

   a message to your terminal whenever one of your background

   commands complete.

2. Create a .login file in your home directory to do the following.

*  Declare the GLOBAL Terminal Type variable to the

   value vt100. Display the value of the variable.

Logout and log back in to make sure your .cshrc and .login files

are automatically executed.

Create a lab8.scr scripts that will create the desired output.

Execute the lab8.scr script using the source command.

Example: source lab8.scr | tee lab8.out

3. Execute the command to validate your default login shell has been

   changed to the C Shell.

4. Execute the lsall alias for the directory /home/david/lab8.

5. Execute the whoson alias.

6. Display the value of the variable that controls the size of the history list.

7. Display all aliases declared for your environment.

8. Display the last 7 events on the history list.

9. Display the contents of the .cshrc and .login files.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education