100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Linux Study Guide for CCTC Exam UPDATED ACTUAL Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
20
Grade
A+
Uploaded on
25-05-2025
Written in
2024/2025

Linux Study Guide for CCTC Exam UPDATED ACTUAL Exam Questions and CORRECT Answers 1.1 Describe common shells - CORRECT ANSWER distributions; sh-compatible; unlimited command history - Tcsh/Csh: C shell; interactive login shell; - Ksh: Korn shell; interactive command language - - Bash: default shell for most linux - Zsh: designed to be interactive; includes many indexes not in other shells (variable, function,

Show more Read less
Institution
CCTC
Course
CCTC










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CCTC
Course
CCTC

Document information

Uploaded on
May 25, 2025
Number of pages
20
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • cctc

Content preview

Linux Study Guide for CCTC Exam
UPDATED ACTUAL Exam Questions and
CORRECT Answers
1.1 Describe common shells - CORRECT ANSWER - - Bash: default shell for most linux
distributions; sh-compatible; unlimited command history


- Tcsh/Csh: C shell; interactive login shell;


- Ksh: Korn shell; interactive command language


- Zsh: designed to be interactive; includes many indexes not in other shells (variable, function,
key)


- fish: user friendly shell; web based configuration; auto suggestion


1.2 common shell modes - CORRECT ANSWER - $ normal user prompt
# root user prompt
-- = posix mode makes bash emulate sh, this will disable the operation
sudo = auto to root


2.1 Where is command history saved to in bash? - CORRECT ANSWER - - command
history is saved to ~./.bash_history, accessible by pressing the up arrow key


- writes history from memory (HISTSIZE) to disk (HISTFILESIZE) when close the shell


2.1 How to create, read, copy, remove, change ownership, change permissions in bash and IMP
commands - CORRECT ANSWER - create: touch
read: cat

,copy: cp
remove: rm
change ownership: chown
change permissions: chmod
list: ls


list w/ more detail on a file : ls -l FILENAME
ps : process list
system informaion (kernal/hardware) : uname -a
help: --help
go to the home: cd
show current directory: pwd
show date: date
who am I logged in as: whoami
ping host: ping
get whois infor for a domain: whois domain
list netwoor connections: netstat


order of evaluation in bash - CORRECT ANSWER - redirection
aliases
expansion
command substitution
shell


2.2 Environment initialization - CORRECT ANSWER - -l logs in without a GUI
-i interactive mode with a GUI

, During Initialization of a shell environment the sources for the environment are pulled from the
following:
/etc/profile
(home directory ~) ~/.bash_login, ~/.bash_profile, ~/.profile


2.3 redirection - CORRECT ANSWER - used to put output into a file or variable
> writes to
>> appends to
mkdir = make a directory


2.3 Piping - CORRECT ANSWER - used to put output of a process into another process
[process 1] | [process2]


named pipes: info remains in the named pipe until system is shut down
mkfifo [pipeName]


EX: ls -l text.txt | grep "Modify"


2.4 bash boolean logic - CORRECT ANSWER - ! logical negation
|| OR
&& AND
-o logical OR
-a logical AND
All values are either True or False / 0 or 1
XOR


2.5 methods of gaining more information about commands - CORRECT ANSWER - man
[command]

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1074
Member since
1 year
Number of followers
102
Documents
68976
Last sold
1 day ago
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

170 reviews

5
73
4
30
3
45
2
8
1
14

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions