CNIT 340 Exam 1 58 QUESTIONS WITH COMPLETE SOLUTIONS
0 view 0 purchase
Course
NU1426
Institution
NU1426
CNIT 340 Exam 1| 58 QUESTIONS| WITH COMPLETE SOLUTIONS
what is unix?
what are the two major divisions of unix?
what kind of operating system is UNIX typically?
what is the structure of a UNIX command?
what is the superuser account in UNIX?
what is the file and command that controls who can ru...
CNIT 340 Exam 1| 58 QUESTIONS| WITH
COMPLETE SOLUTIONS
1). What is unix?
Ans: a collection of related operating systems
2). What are the two major divisions of unix?
Ans: BSD & SysV/SVR4
3). What kind of operating system is unix typically?
Ans: command line only
4). What is the structure of a unix command?
Ans: command -flags operand
5). What is the superuser account in unix?
Ans: root
6). What is the file and command that controls who can run programs as root
Ans: /etc/sudoers; visudo
7). T/f: is it possible to create a root equivalent account?
Ans: false
8). How does one interact with the system?
Ans: via the command line parser
9). What are some things the command line parser can do?
PaperStoc.com Page 1 of 29
, Ans: manage processes, manage files
10). What are the two ways commands can be entered?
Ans: manually and via shell scripting
11). Login shell
Ans: program that provides the user's command line prompt when they log into the
system
12). Where is the login shell specified?
Ans: /etc/passwd
13). Where are the startup scripts the login shell generally stored?
Ans: user's home directory
14). Interactive shell
Ans: a non-login shell into which the user enters commands
15). Non-interactive shell
Ans: usually contains a script and inherits environment variables from the parent shell
16). C shell (csh)
Ans: /bin/csh; uses C language syntax for scripting
17). Korn shell (ksh)
Ans: /bin/ksh; introduced command line history and tab completion
18). Bash
Ans: /bin/bash; standard scripting shell for most Linux distributions
PaperStoc.com Page 2 of 29
, 19). What is everything managed as in unix?
Ans: a file under a single filesystem (root "/")
20). What is the only hard mount point in unix?
Ans: the root "/"
21). /bin directory
Ans: executable files requied for basic operations
22). /dev directory
Ans: placeholders for devices
23). /etc directory
Ans: configuration information and files
24). /sbin directory
Ans: system binaries
25). /lost+found directory
Ans: where lost files are put
26). /proc directory
Ans: holds the placeholders for running processes
27). /usr directory
Ans: contains installed applications used by all users
28). /home directory
Ans: contains the home directories for each user
PaperStoc.com Page 3 of 29
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Academik001. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $17.24. You're not tied to anything after your purchase.