Tamu TCMG 303 Exam 1 Questions And Answers With
Complete Solutions
the run level command displays ANS both the current and previous run levels.
to switch between modes in vi, you use the ________ key. ANS escape
The up arrow on the keyboard can be used for: ANS Toggling through the command history.
If I wanted to change the Message Of The Day (motd) file, which command would be the best for me to use:
ANS sudo vi /etc/motd
Which of the following companies use Unix\Linux servers: ANS All of the above
The following shell script does what:
echo "Enter your name: "
read NAME
echo "Enter your favorite food: "
read FOOD
echo "$NAME likes to eat $FOOD" ANS Asks for name and food then displays it on the screen
which of the following would not be a valid way to see text in a file called foo? ANS show foo | cat
-rwsr-xr-x means that: ANS SUID is set
How can I tell if the SGID had been set: ANS The group execute bit is 's'
The file /etc/resolv.conf is used for: ANS Resolving DNS server IPs
, Look for log files here: ANS /var
The best way to terminate a misbehaving process running on your system: ANS kill
What other special character is used to chain commands and redirect the output of one command into another:
ANS |
The __________ key can be used as a shortcut to see previous commands typed in by the user. ANS up arrow
All of the following commands can be used to manipulate text strings except: ANS replace
Unix is approximately _________ years old ANS 45
The best place to find the executable files on the system would be in: ANS /usr
ssh is directly used for all of the following except: ANS to offload local processing
Which command is used to change file or directory permissions: ANS chmod
This is used to add to the available amount of RAM in a system: ANS swap
Very bad things can happen when you: ANS all of these are correct
The ________ command shows time for system command usage where as the _________ command gives the
current date and time information. ANS time, date
If I wanted to create a cron table entry to do a specific task, I would do: ANS crontab -e
Which command would list all RPM packages installed: ANS rpm -qa
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 Nipsey. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.