| Terms |
Definitions |
|
what does the rsh command allow you to do?
|
This allows you to run a program on a remote system without having to log on to the remote system.
|
|
What will the command :set ic do?
|
Instructs searches to ignore case
|
|
What is a logname variable do?
|
sets login name of user
|
|
List two options to search man pages
|
you can search by Section or Keyword
|
|
What does pgrep -t term do?
|
Displays only those processes that are associated with a terminal in the term list
|
|
What does the typeset +f function do?
|
lists just the function names
|
|
what does fgrep do?
|
Search for a file for a literal string or a group of characters.
|
|
What does pgrep -x do?
|
Displays the PID that matches the pattern exactly
|
|
What is the find command used for?
|
used to locate files or directories in the directory hierrarchy
|
|
list the 3 vi editor modes
|
command = delet, change or copy text
edit = to enter text to a file
last line = advanced editing commands(:)
|
|
What does the "&&" do?
|
Ensures that a command is performed only if the preceding command succeeds
|
|
what does tar -f do?
|
Specifies the archive file or tape drive.
|
|
What does the command setfcal -r do?
|
Recalculates the ACL
|
|
What will set -o option_name do?
|
will turn an option on
|
|
What does the history cd ls command do?
|
to display the most recent CD command to the most recent date command
|
|
what will this do (' ')?
|
instructs the shell to ignore all enclosed metacharacters
|
|
what does this command do rm -r?
|
remove directories that are not empty
|
|
What is the more command used for?
|
used to view or page thru the contents of a text file
|
|
what does rlogin do?
|
establishes a remote login session on another system.
|
|
what does this symbol do $ ?
|
indicates that the following text is the name of a shell variable
|
|
what does the jar -v command do?
|
Executes in verboe mode.
|
|
what does the lp -n do?
|
sends request to printer with number of copies
|
|
what does thelpstat -o do?
|
status of all output requests
|
|
Using the CHMOD command on a file that already has an ACL on it will recalculate the mask
|
true
|
|
What will the command ":set nu" do?
|
shows line numbers
|
|
what is the initial permission value automaticly assigned by the Solaris OS for a new file.
|
rw-rw-rw-
|
|
What will the command find -type do?
|
Finds a file type
|
|
what is the "set" command used for?
|
used to customize a vi session
|
|
what does tar -v do?
|
Executes in verbose mode, writes to the standard output.
|
|
What does grep do?
|
Searches the contents of one or more files for specific character patterns globaly
|
|
what does the cp -r do?
|
copies recursivly. Includes the contents of a directory, including the contents of all subdirectories, when you copy a directory
|
|
what will the pwd command tell you?
|
Identifies the directory you are currently accessing
|
|
What will setfacl -r -m do?
|
will recalculate the ACL mask entry
|
|
What is a Relative path name?
|
lists the directories in the path relative to the current working directory.
|
|
what does the rm command do?
|
Remove
|
|
what does the zcat command do
|
allows you to view files that have been compressed via compress command
|
|
what does tar -c do?
|
creates a new tar file
|
|
What is the set -o vi command do?
|
turn on and enable the shell history editing feature
|
|
What is this ".kschrc"?
|
executed everytime you log on and defines specific settings in the KORN shell.
|
|
What will the command find -user loginIDdo?
|
finds all files that are owned by the login ID
|
|
What will the command :set nonu do?
|
Hides line numbers
|
|
What does the command setfcal -d do?
|
Deletes one or more ACL
|
|
What does the history -n command do
|
Displays the command history without line numbers
|
|
What will pkill allow you to do?
|
allows you yo use process name to terminate a process
|
|
what does thelp stat -d do?
|
system default printer
|
|
What does Job control command fg %n do?
|
Brings the current or specified job into the foreground (n is job id)
|
|
What does pgrep -n do?
|
displays only the most recently created PID that contains the pattern
|
|
what will this command do vi -R?
|
prevents accidental overwriting of the file content by opening in Read only mode
|
|
How many Work spaces area available by default when logging in to your desk top session?
|
Four
|
|
What does job control command stop %n do?
|
Stops a job that is running in the background (n is the Job ID)
|
|
what does the cp -i do?
|
Prevents you from over writting existing files or directories
|
|
What will the command find -perm do?
|
Finds Files that have certian access permission Bits
|
|
what will typing "?string" do?
|
searchs backwards for the string
|
|
what does pgrep do?
|
will display the PID of every process that matches the specific criteria.
|
|
What general format must there be to run a shell function?
|
A space must appear after the first brace and before the closing brace
|
|
What is UID?
|
user identification number and it identifies who owns the file.
|
|
What does ps -ef do?
|
used to view a listing if all the processes currently scheduled to run on the system
|
|
what does the gzcat command do?
|
allows you to view files that were compressed with with gzip or compress
|
|
what does this commmand do?
$jar cvf /tmp/bundle.jar *
|
this command will allow you to copy and compress multiple files into a single archive file.
|
|
Can you use the file manager GUI to perform common ACL configuration tasks?
|
yes
|
|
what is stdout and what is its number?
|
Standard Output (1)
|
|
what is input redirection?
|
forces a command to to read the input from a file instead of the keyboard
(
|
|
What will the "Jobs" command do?
|
Lists all jobs that are currently running or are stopped in the background
|
|
What does the compress command do?
|
This command reduces the size of a file, such that it occupies less disk space and takes less time for a transfer.
compression reduces teh size of a text file by 50-60%
|
|
What will the command find -size [+|-]n do
|
find files that are larger than +n or smaller than -n or exactly n
|
|
What does Job control command bg %n command do?
|
Runs the current or specified job in the background
(n is job id)
|
|
What is vi editor?
|
command line , interactive editor. used when windows desktop is not available. only text editor to edit certian files without changing the permissions and all talking place in the buffer
|
|
what will typing "/string" do?
|
searches forward thru a string
|
|
what is stderr and what is its number?
|
standard error (2)
|
|
What does Ctrl -U do?
|
Removes all charaters on the current line
|
|
what does the lp -d do?
|
sends print request to destination (desired printer)
|
|
What are Korn shell metacharacters?
|
specific charaters, generally symbols having speacial meaning to the shell
|
|
what does the ./ rhostfile do?
|
provides an authentication procedure to determine if a remote user can access the local host with the identity of the local user
|
|
What is an export command used for?
|
IT makes the value of a variable known to a sub shell
|
|
what does the lpstat -t do?
|
complete status of all printers
|
|
What are 4 possible outputs from file or ls -F command?
|
/ = directory
* = executable
(none)plane txt or ASCII
@ = Symbolic link
|
|
What does the jar command do?
|
This command will combine multiple files into a single archive file.
|
|
what is stdin and whats is its number?
|
starndard command input (0)
|
|
what will this command do vi -r?
|
recovers the specified file or lists the files that can be recovered.
|
|
What does the jar -c command do?
|
creates a new Jar file
|
|
what will telnet allow you to do?
|
It allows you to log onto a remote system and work in that environment
|
|
What is output redirection ?
|
sends the output from a command into a file instead of sending the output to a screen.
(>)
|
|
What does ls -a do?
|
list all files in a directory including hidden files
|
|
What opens a single terminal window instead of starting a full desktop session?
|
Failsafe Login
|
|
What does Ctrl -c do?
|
Interrupts a command
|
|
What does the command getfacl command do?
|
will display the trivial ACL entries for a file or directory
|
|
What is an Inode?
|
the inode contains information about the type of info,permissions,ownership info,and location where data is stored.
|
|
what does the ln -s command do?
|
will create a symbolic link file
ln -s source_file target_file
|
|
what will this do(" " )?
|
instructs shell to ignor all inclosed metacharacters
|
|
List 3 common print commands
|
lp
lpstat
cancel
|
|
List two Desktop Environments
|
Common (CDE) and Jave (JDE)
|
|
What Option buttons on login allow 3 types of sessions?
|
Desktop, Lost DeskTop, FailSafe
|
|
if the .rhosts file contains a (+) what does that mean?
|
this means the user is able to login in from any known system on the network without a password.
|
|
what does the rcp command allow you to do?
|
It allows you to copy files or directories from one host to another.
|
|
what does the command jar -x do?
|
Extracts files from the jar file.
|
|
what does tar -h do?
|
Follows symbolic links as standard files or directories
|
|
What is Symbolic link?
|
A path name to another file or directory
|
|
What is chmod command used for?
|
used to change the permission set for files and directories using symbolic or octal mode
|
|
what does the lp command do?
|
sends print requests to printers
|
|
What does Ctrl- S do?
|
Halts output to screen
|
|
What is the | (pipe) character used for?
|
used to redirect the standard output to the input of another command
|
|
What does the command jar -f do?
|
specifies the jar file to process
|
|
what does the lp -m do?
|
send request to printer to send a mail message when complete
|
|
What does the (&)symbol at the end if the command line do?
|
Runs a job in the background
|
|
What is the default C shell prompt for a regular user and root user?
|
Host name followed by a % sign for regular and host name followed by # sign
|
|
What is the core of the Operating system?
|
Kernel
|
|
What is a PID?
|
used by the Kernal to track control and manage the process.
|
|
what is ACL and what does it do?
|
Access control list. It enables the owner of a file or directory to grant or deny specific user access
|
|
what does the lpstat printername do?
|
The command used before executing the cancel command to identify the print Request-id
|
|
What does ls -l do?
|
(long list)
used to view detailed info about the contents of a dir
ls -l dir1
would allow you to view the detailed contents of dir1
|
|
If you see "z?:" after a search what does it mean
|
no such file or directory
|
|
What do grep, egrep,and fgrep do?
|
Allows you to search the contents of files for patterns or strings of characters
|
|
What is PS2 Variable?
|
specifies the secondary KORN shell prompt (>)
|
|
What does Ctrl - W do?
|
Removes last word on the command line
|
|
What is the general Syntax of a UNIX command?
|
Command , Option and Argument
Command specifies what the sytem does or executes
Option starts with a - (-a, ls -l ).
Argument specifys whats affected (file, dir or txt)
Cal 12 2000
is an example of a command and 2 arguments
|
|
What is the r command
|
alias built into the KORN shell that enables you to repeat a command
example you pull history
159 cal
160 ls
161 cd
$r 160
this would rerun he ls command
|
|
what does the lp -o do?
|
sends print request with no banner printed
|
|
what is the default umask value in Solaris
|
022
|
|
What will the tail command give you?
|
Tail command is used to view the last 10 lines of a file
option(s)
-n = dispalys n lines from the end of the file
+n = displays file content from line n end to the end of the file
|
|
What does the typeset -f function command do?
|
displays a list of all functions with definitions
|
|
What will the command :set list do?
|
Displays invisible characters such as ^I for a tab $ for end of line characters
|
|
Which command is used to modify the ACL entries of a file
|
setfacl
|
|
What will the commandfind -ntime [+|-]n do?
|
find files that have been modified more then +n days, less than -ndays, or exacty n days ago
|
|
What is this ";" used for?
|
The semi colon is used to seperate each command to enter multipul commands at once.
The shell executes each command from left to right
Format would be
Command>option>argument; Command>option>argument
|
|
What is the "|| " used for?
|
Ensures that a command is performed only if the preceding command fails
|
|
which file is a frequently used shell script that sets the working environment of the users
|
.profile file
|
|
What does ls -R do?
|
To recursively display contents of its directory and its sub directory
|
|
Do ACL permissions modify the umask permissions settings to provide a second level of file and directory access protection
|
NO
The ACL permissions provide a second level of access protection, but ACL's cannot modify the umask permissions settings
|
|
What does the history -r command do?
|
Displays the history list in reverse order
|
|
what will this do(` `)?
|
instructs the shell to execute and display the output for a UNIX system command
|
|
What does the command setfcal -s do?
|
substitutes new ACL entries for old
|
|
What does Job control command Control -Z do?
|
Stops the foreground job and places it in the background as a stopped job
|
|
What will the symbol "#!" be used for?
|
used to identify the program that interperts the lines in the script
|
|
what does the ptree command do?
|
Displays a process tree based on the specified PID
|
|
what does the lpstat command do?
|
displays information about the current status of the LP print service, including the status of print jobs
|
|
what is the wc command used for?
|
word count = displays numbers of lines, words, and characters contained in a file
options
-l = line count
-w =word count
-c = byte count
-m = character count
|
|
what will this do \ ?
|
prevents shell from interpreting the next character as a metacharacter
|
|
What will the commandfind -atime[+|-]n do?
|
find files that have been accessed more then +n days, less than -ndays, or exacty n days ago
|
|
What is echo command used for?
|
used to display the value that is stored inside a shell variable
|
|
This is used to create and extract files from a file archive or any removable media such as USB flash drive or a tape device
|
tar command
|
|
what will the command do "2> filename"?
|
redirection surpresses error messages from appearing on screen and redirects to standard error file
|
|
What is GID?
|
group id, group users who owns the file
|
|
What is the EDITOR variable do?
|
defines default editor
|
|
What does the PS command do?
|
Lists the process that are scheduled to run.
Dispays the PID, TTY, Time and CMD
|
|
what does the lpstat -a do?
|
Lists printers accepting print requests
|
|
What are File name substitution Metacharaters?
|
they are substitution characters
>Asterisk (*) zero or more characters (f* = Fxxxx)
>Question Mark (?) any single character (f? = Fx)
>Square Bracket ([]) set or range of characters
ls [a-f]*
|
|
What does set -o do?
|
shows current option settings
|
|
what is the initial permission value automaticly assigned by the Solaris OS for a new directory.
|
rwxrwxrwx
|
|
What is the default Bourn Shelll prompt for a regular user and root user?
|
Bourn Shell uses $ for a regular user and the # for root?
|
|
What does the command getfacl -a do?
|
Displays all info about ACL
|
|
What does the command setfacl -m do?
|
creates or modifies ACL entries on files
|
|
What does a PATH variabile do?
|
specifies a colon-delimited list of directories to be searched when the shell needs to find a command to be executed
|
|
What command is used to display the actual list of ACL entries?
|
getfacl
|
|
What is set command used for?
|
list shell variables with thier current values
|
|
what does the lpstat -p do?
|
status of all printers
|
|
What does ls -ld do?
|
used to view detailed info about a directory without viewing its contents
|
|
What will $tar tf /dev/rmt/0 show you?
|
This is the command to allows you to view the contentes of the archived directory on a tape
|
|
what are Korn, Bourn, C shell?
|
3 Primary shells
|
|
what does tar -x do?
|
extracts from the tar file
|
|
An exit status is a numeric value that indicates success or failure. what are they?
|
a value of zero indicates success while a non-zero value indicates failure and held in the $? special shell variable
|
|
what does the gzip command do?
|
reduces the size of a file.
|
|
What is SIGKILL (9)?
|
kill
Signal that kills a process
|
|
what does the zip command do?
|
this command allows you to compress multiple files into a single archive file.
|
|
What will the command :set all do?
|
Displays all set vi variables and their current values
|
|
What does pgrep -l do?
|
Displays name of the process along with the PID
|
|
How do you display directory contents?
|
ls to display contents
ls -options filename
-a, -l, -ld, and -R
|
|
what does the rmdir command do?
|
permanently remove empty directories
|
|
What will the command ls -n do ?
|
Will help determine ownership of a files and directories.
|
|
what does tar -t do?
|
lists the table of contents of the tar file
|
|
What is SIGTERM (15)?
|
Terminate
A signal that terminates a process in a orderly manner
|
|
what does pgrep -U uid do?
|
Displays only the PIDs that belong to the specified user
|
|
what does the MV command do?
|
the command used to rename a single file within the same directory or to move a file to a different dir or move a dir and contents to a diffenrent dir
|
|
What is ls -F or File used for?
|
used to display file type
|
|
what does the gunzip command do?
|
restores a file that has been compresses with the gzip command
|
|
what does 7az command do?
|
used to compress a file
|
|
What will set +o option_name do?
|
will turn an option off
|
|
What is the default Korn prompt for a regular user and root user?
|
Regular user is $ and root is #
|
|
What is PS1 variable?
|
Specifies the primary KORN shell prompt ($)
|
|
What is an Absolute path name?
|
lists all the directories in the path starting with the root directory.
|
|
what is the Command interpreter called?
|
Shell
|
|
what are Daemons?
|
processes that run in the background and provide services.
|
|
what does the command jar -t do?
|
this command will list the table of contents of the jar file
|