Study Guide for CCTC Exam
Study Guide for CCTC Exam 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
Written for
- Institution
- CCTC
- Course
- CCTC
Document information
- Uploaded on
- April 4, 2024
- Number of pages
- 13
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- describe common shells
-
study guide for cctc exam
-
environment initialization
-
2 describe the file system ownership properties
-
post kernel linux boot process
Also available in package deal