Question
Unix Shells 1. How could you display all entries in /etc/ that are five characters long and have a vowel in third place? Don't forget
Unix Shells
1. How could you display all entries in /etc/ that are five characters long and have a vowel in third place? Don't forget the -d option if you use ls.
2. How do you delete a file?
3. Name two ways to find out what shell you are in, not necessarily your login shell.
4. You've messed up your prompt. What command tells you what folder you are in?
5. What command moves you to your parent directory?
6. Describe how to modify your prompt so that the history number and a space are prepended in Light Blue to the default, white on black prompt? (eg: 126 user@cs215:~$ )
7. What is the difference between $(ls) and `ls`? Those are backticks, not hard quotes.
8. Name two ways to search through the interactive command history
- (9)Which of the following statements best describes the relationship between a shell and the operating system?
- It is a unique relationship because the shell controls starting of other programs.
- It is special but not unique since the shell needs certain privileges to complete its work.
- The shell, like any other program has no special relationship to the operating system.
- The shell has lower privileges than most programs to protect against security hazards.
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