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
Geschreven voor
- Instelling
- CCTC
- Vak
- CCTC
Documentinformatie
- Geüpload op
- 28 maart 2024
- Aantal pagina's
- 13
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
describe common shells
-
study guide for cctc exam
-
order of evaluation in bash
-
describe the file system ownership properties
Ook beschikbaar in voordeelbundel