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

CCTC – Linux UPDATED Exam Questions and CORRECT Answers

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

CCTC – Linux UPDATED Exam Questions and CORRECT Answers rbash - CORRECT ANSWER /etc/shells - CORRECT ANSWER sh - CORRECT ANSWER - restricted bash shell - location of shells - bourne shell, very first iteration of shells for UNIX $SHELL - CORRECT ANSWER used $BASH - CORRECT ANSWER /dev/null - CORRECT ANSWER 2 - CORRECT ANSWER - environment variable to display current shell being - environment variable to display location of /bin/bash

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
22
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CCTC – Linux UPDATED Exam Questions
and CORRECT Answers
rbash - CORRECT ANSWER - restricted bash shell



/etc/shells - CORRECT ANSWER - location of shells



sh - CORRECT ANSWER - bourne shell, very first iteration of shells for UNIX



$SHELL - CORRECT ANSWER - environment variable to display current shell being
used


$BASH - CORRECT ANSWER - environment variable to display location of /bin/bash



/dev/null - CORRECT ANSWER - data dump location on the machine



2 - CORRECT ANSWER - file descriptor for stderr



2>/dev/null - CORRECT ANSWER - send all errors to /dev/null



ps --forest - CORRECT ANSWER - shows, in a tree format, the processes and their
parents/children


which - CORRECT ANSWER - gives the user the path to the executable



whatis - CORRECT ANSWER - gives the user more information about a file



file - CORRECT ANSWER - gives the user the file type of a file

,{1..10} - CORRECT ANSWER - brace expansion in the bash shell



$BASH_ENV - CORRECT ANSWER - holds the name of the file to source when a script
is run


Login shell - CORRECT ANSWER - interactive shell created when authenticating onto a
machine


Non-login shell - CORRECT ANSWER - native shell not requiring the start of /etc/profile
because no remote authentication is completed


Non-interactive shell - CORRECT ANSWER - essentially a script.sh, can't interact with it.



sh, bash, dash, csh, zsh, ksh, tcsh, rbash - CORRECT ANSWER - what are the different
types of shells?


root - CORRECT ANSWER - what user is ALWAYS logged into the system?



0:0 - CORRECT ANSWER - what is the EUID/GUID of root?


/etc/profile, /etc/bash.bashrc, ~/.bash_profile, ~/.bash_login, ~/.profile, ~/.bashrc - CORRECT
ANSWER - what files are called during bash initialization?



shopt login_shell, echo $- - CORRECT ANSWER - how can you check if you are in a
login shell


redirect input, output, and pipe - CORRECT ANSWER - what do '<', '>', and '|', do on the
command line?

, 2> - CORRECT ANSWER - how do you redirect stderr



tab completion, command history, brace expansion - CORRECT ANSWER - What are
some features of BASH?


alias - CORRECT ANSWER - bash command to create an alias



unalias - CORRECT ANSWER - bash command to remove an alias



env - CORRECT ANSWER - bash command to show working environment



set - CORRECT ANSWER - bash command to show more detailed output of the working
environment


function - CORRECT ANSWER - bash starting line of script to create a function



hash - CORRECT ANSWER - database to show the bash shell recently accessed
commands


find -exec <cmd> {} \; - CORRECT ANSWER - find command to execute a command on
whatever "find" finds


man hier - CORRECT ANSWER - gives the user a description of the filesystem hierarchy



lsattr - CORRECT ANSWER - lists file attributes on a Linux second extended file system



chattr - CORRECT ANSWER - change file attributes on a Linux file system

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