Linux Study Guide for CCTC Exam Questions and
Answers | Fall 2026 | 100% Correct
Save
Terms in this set (67)
- Bash: default shell for most linux distributions; sh-
compatible; unlimited command history
- Tcsh/Csh: C shell; interactive login shell;
1.1 Describe common - Ksh: Korn shell; interactive command language
shells
- Zsh: designed to be interactive; includes many
indexes not in other shells (variable, function, key)
- fish: user friendly shell; web based configuration;
auto suggestion
$ normal user prompt
# root user prompt
1.2 common shell modes -- = posix mode makes bash emulate sh, this will
disable the operation
sudo = auto to root
- command history is saved to ~./.bash_history,
accessible by pressing the up arrow key
2.1 Where is command
history saved to in bash?
- writes history from memory (HISTSIZE) to disk
(HISTFILESIZE) when close the shell
, create: touch
read: cat
copy: cp
remove: rm
change ownership: chown
change permissions: chmod
list: ls
2.1 How to create, read,
copy, remove, change list w/ more detail on a file : ls -l FILENAME
ownership, change ps : process list
permissions in bash and system informaion (kernal/hardware) : uname -a
IMP commands 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
redirection
aliases
order of evaluation in
expansion
bash
command substitution
shell
-l logs in without a GUI
-i interactive mode with a GUI
2.2 Environment During Initialization of a shell environment the sources
initialization for the environment are pulled from the following:
/etc/profile
(home directory ~) ~/.bash_login, ~/.bash_profile,
~/.profile
used to put output into a file or variable
> writes to
2.3 redirection
>> appends to
mkdir = make a directory
used to put output of a process into another process
[process 1] | [process2]
Answers | Fall 2026 | 100% Correct
Save
Terms in this set (67)
- Bash: default shell for most linux distributions; sh-
compatible; unlimited command history
- Tcsh/Csh: C shell; interactive login shell;
1.1 Describe common - Ksh: Korn shell; interactive command language
shells
- Zsh: designed to be interactive; includes many
indexes not in other shells (variable, function, key)
- fish: user friendly shell; web based configuration;
auto suggestion
$ normal user prompt
# root user prompt
1.2 common shell modes -- = posix mode makes bash emulate sh, this will
disable the operation
sudo = auto to root
- command history is saved to ~./.bash_history,
accessible by pressing the up arrow key
2.1 Where is command
history saved to in bash?
- writes history from memory (HISTSIZE) to disk
(HISTFILESIZE) when close the shell
, create: touch
read: cat
copy: cp
remove: rm
change ownership: chown
change permissions: chmod
list: ls
2.1 How to create, read,
copy, remove, change list w/ more detail on a file : ls -l FILENAME
ownership, change ps : process list
permissions in bash and system informaion (kernal/hardware) : uname -a
IMP commands 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
redirection
aliases
order of evaluation in
expansion
bash
command substitution
shell
-l logs in without a GUI
-i interactive mode with a GUI
2.2 Environment During Initialization of a shell environment the sources
initialization for the environment are pulled from the following:
/etc/profile
(home directory ~) ~/.bash_login, ~/.bash_profile,
~/.profile
used to put output into a file or variable
> writes to
2.3 redirection
>> appends to
mkdir = make a directory
used to put output of a process into another process
[process 1] | [process2]