Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions 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
Check Mark
Knowledge Booster
Background pattern image
Computer Science
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
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education