Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 20 pages
Exam (elaborations)

CCTC Linux Exam Questions and Answers, Latest Updated 2024/2025 (100% Correct)

Document preview thumbnail
Preview 3 out of 20 pages

What do you not have in a borne derivitive shell? - Answer Tab complete, history, What is a daemon? - Answer Orphan process. Orphaned children are immediately adopted by init. What is a non-interactive Shell? - Answer Commands are run without user interaction. Example: An automated process that does not require input or output that someone will see as it runs. Example: a Script that scans storage media looking for potential PII that is executed by cron in the middle of the night and creates a log file. What is an interactive shell? - Answer Commands are run with user-interaction from keyboard. Example: The Shell can prompt the user to enter input, and the user can see the output. What file are user accounts declared in? - Answer What is a login shell? - Answer Means that the shell is run as part of the login of the user to the system. Typically used to do configuration that a user needs to establish the environment. What is a non-login shell? - Answer Any other shell run by the user after logging on, or which is run by any automated process which is not coupled to a logged in user. What is a shell in Linux? - Answer Interface (buffer) between user and kernel (OS) Interprets user commands Not part of the kernel (OS), but interacts with the kernel to execute programs, create files, etc. What are common Linux Shells? - Answer /bin/sh - Bourne Shell /bin/bash - Bourne Again Shell /bin/ksh - Korn Shell CCTC Linux Exam Questions and Answers Updated 2024/2025 (100% Correct) /bin/dash - DASH (Debian Almquist Shell) /bin/csh - C shell /bin/tcsh - Tee See Shell /bin/zsh - Z shell What are the two BASH modes? - Answer Normal user ($); root (#) What are Bash Aliases? - Answer Aliases allow a string to be substituted for a word when it is used as the first word of a simple command. The shell maintains a list of aliases that may be set and unset with the alias and unalias builtin commands. What is a function in Bash? - Answer Think of a function as a small script within a script within a script. It's a small chunk of code which you may call multiple times within your script. What is Command substitution in BASH? - Answer reassigns the output of a command or even multiple commands; it literally plugs the command output into another context. What file is concerned wether or not your in an interactive shell? - Answer /c - Answer .profile path variable - Answer etc/profile Can put aliases in? - Answer all of them Whats the first files that run in - Answer etc/skel What files are in etc/skel - Answer Directory containing default files Whats the last file that runs for root user? - Answer (runs for all users) .bashrc - Answer .bash_logout before .profile runs for a user and not root user which two files does it look for? - Answer . How do you update the man database? - Answer man db How do commands and arguments differ in linux? - Answer Use the forward slash everything in linux is a file (first and formost) everything is space dellimated read except for pipes and colons What is a parameter expansion in Bash? - Answer How do you change the history size? - Answer $HISTSIZE - max lines in history $HISTFILESIZE - max lines saved, set to 0 for no history Standard in, whats posits number is that - Answer 0 Standard out - Answer 1 Standard Error - Answer 2 You can't hash directories - Answer Can you hash something in a constant state? - Answer no, because its constantly changing What happens when you put a & at the end? - Answer you are backgrounding the What is the Bash order of evaluation? - Answer Redirection Aliases Parameter expansion Shell Function Builtin command HASH tables Path variable if the above fails "command not found" What are 6 ways or commands of getting help? - Answer man (Manual pages) Whatis Whereis apropos info --help Boolean Logic: && - Answer AND execute next command if previous command successful Boolean Logic: || - Answer OR execute next command if previous command fails What does a successful command return? - Answer 0 What does a command return when it fails? - Answer other than 0 What is located in /tmp - Answer everyone can write to it it gets reset every reboot every 24 hours What is located in /boot - Answer kernel (not all of them) boot configuration files What is located in /dev - Answer physically connected devices What is located in /lib - Answer kernel library files What is located in /usr - Answer programs and applications What is located in /var? - Answer dynamic files (logs, packages installs, etc) /sbin - Answer main system binaries regular users can see them but not execute them What is in /mnt? - Answer mount point (s) virtual mount process to physical system. /home - Answer user directories What is located in /bin? - Answer all the binaries What is located in /root? - Answer home directory for root file What is located in /run? - Answer RAM What is in /media? - Answer removable media devices Which are the Pseudo file systems? - Answer /proc (because process change all the time) /sys (info about the system (hardware) What is a Pseudo file system? - Answer Does not contain real files but rather run time system information (system memory, devices mounted, hardware configuration) What does the /etc/shadow file store? - Answer actual password in encrypted format (more like the has of the password) for user's account with additional properties related to user password. What does the /etc/passwd file store? - Answer essential information, which is required during login i.e. user account information. contains one entry line per user of the system. it is a file which contains a list of the systems accounts, giving for each account some useful information like user ID, Group ID, Home directory, shell. What does the touch command do? - Answer If I wanted to find out more information about the directory what man page would I go to? - Answer man hier What is metadata? - Answer is data about data. Contains information about a piece of data. How do you keep the time stamp from being changed when changing passwords? - Answer chattr +A filename What will tell you when the password will be change - Answer


Document information

Uploaded on
April 20, 2024
Number of pages
20
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$17.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
STUDYROOM2026
3.5
(64)
Sold
412
Followers
212
Items
3879
Last sold
1 month ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

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