Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

3D052 CDC's V2 Pt.3

Non-URE related questions, specifically regarding UNIX

QuestionAnswer
Where will you mainly see UNIX in the Air Force? functional or special systems, such as the Theater Battle Management Core Systems (TBMCS).
This is the basic memory-resident portion of the operating system. It is loaded into main memory whenever the system is booted and remains there while the system is up and running. Kernel
This is simply a program that allows the system to understand your commands. The Shell
In this use of a UNIX shell, the system waits for you to type a command at the UNIX™ prompt. Interactive use
This is a surrogate of the Bourne shell that allows you to edit the command, line. Korn Shell
This shell uses C syntax. C Shell
These are a special kind of file that contains a list of other files. Directories
This is actually a normal directory entry, but instead of pointing to a unique file, it points to an already existing file. Hard Link
This type of link doesn't point to another inode but to another filename. Symbolic Link
These are the means for UNIX to network with other machines. Sockets
These enable programs to communicate with one another through the file system. Named Pipes
These exist in the /dev directory, are used to communicate with device drivers, and have major and minor numbers. Block Devices
This directory contains executable files for the most commonly used UNIX commands. /bin
This directory is used by the system for temporary storage files. /tmp
This directory contains miscellaneous files primarily used for system administration tasks such as boot and shutdown. /etc
This directory contains common files used by all users. /usr
This directory contains library files used for programming. /lib
This command is used to display data one screen full at a time. more
This command is used to display the contents of a file one page at a time. pg
This command formats a file according to the options to standard output. pr
This is a means of taking the output of one command and redirecting it as the input of another command. a pipe (|)
What are the four conditions for the find command in UNIX? name, print, user, group
What is the name condition used for? Used to look for a specific name.
What does the print condition display? Displays the result of the find command to standard output (i.e. terminal).
What is the user condition used for? Used to search for files belonging to a particular user.
This command is used to encrypt a file. If no password is given, the command prompts for one to be created. crypt
To match any single character in a filename, you use this wildcard in the desired position of the filename. ?
If users have a large number of files with similar filenames, they can pinpoint action on just a select few by using what wildcard? []
What wildcard would you use to match any number of characters in a filename? *
This command displays a list of the users logged onto the system. who
This command displays a list of the login names of users logged onto the system, along with the user’s complete name, the TTY port, the day of the week, the login time, and the remote system name if the user is logged in remotely. finger
This command displays the date, time, and operating system name. For each user logged on, the device name, user id (UID), and login time are shown, followed by a list of active processes associated with the PID. whodo
This command shows you the users logged on to other machines on your network. Typing this command by itself displays each machine on the network and the users logged into them. rusers
Use this command to display the UID and group ID number for a user who is logged on. This information can be helpful for troubleshooting problems when users cannot access files, or when users want to find out which group they belong to. id
This command is used to create short files or to append a small amount of text to an existing file. cat
This command is used to set access and modification times for each file to the current time. touch
To see what your environment variables are type _____ and press return. env
The basic print command is lpr
To check to see what printers are available, and to see what is in the print queues, use the _____ command. lpstat
This print flag forces encryption when connecting to the server. -E
This print flag shows the accepting state of printer queues. If no printer is specified, then all printers are displayed. -a
This print flag shows the current default destination. -d
This print flag shows a long listing of printers, classes and jobs. -l
This print flag shows the jobs queue on a specified destination. If no destination is specified, then all jobs are shown. -o
To cancel or stop a print job in a print queue, you would use the ________ command. lprm
To see the status of all of the available printers, you would use the ______ command. lpq (line printer query)
This flag (with the lpq command) displays information about a printer, or class of printers. destination can be given in either (server:destination) format or (…/service/printer/UUA8000) format. -P destination
This flag (with the lpq command) displays the information in long format, which includes which host sent the print job. -l
This flag (with the lpq command) lists all jobs associated with a specific user. user
This flag (with the lpq command) shows the status of a specific printer that you know about. printer
To set a default printer, use the _________ command. PRINTER=
This is a super user primary group. Membership in this group provides a user with complete access to the entire local file system. root
This is a primary administrative group for all users unless other groups are created. staff
This is the system administrators group. Allows full access to administrative applications such as Admintool. sysadmin
The /etc/group file is located on every system and contains the names and members of the groups for that system. Each line is in what format? groupname:password:gid:user-list
What is the command to add a new group definition on the system? groupadd
What is the command to modify a group definition on the system? groupmod
What is the command to delete a group definition on the system? groupdel
The _____ command displays ACL entries on files. getfacl
The ______ command is used to set, add, modify, and delete ACL entries on files. setfacl
The ______ commands allow users to be more informed while processing text files in vi. set
If _________ is set, the mode displays on the bottom of the screen. This helps users keep track of what mode they are in: command or text input. showmode
This prevents the current mode from displaying on the bottom of the screen. noshowmode
When users ______, the system numbers each line of their text. This command is handy for copying a block of information or to search and replace a word. set number
This command is just the opposite of number. The file reverts back to its original format. set nonumber
In VI, this deletes a single character and moves the remaining line to the left to fill in the gap. x
In VI, this deletes the current line no matter where the cursor is. Typing 3dd will delete the current line plus two more lines below. 4dd will delete four total lines, 5dd five lines, etc. dd
In VI, this deletes a word. Typing a number before this command with delete that many words, etc... dw
In VI mode, this will delete from current cursor position to the beginning of the next sentence. d)
In VI this will delete from the current cursor position to the end of the sentence and the next sentence, etc. 2d)
This will undo. Reverses the effects of the last command. If you make a mistake, this command is very useful. u
In VI this appends text to the editing buffer after the cursor position. a
In VI this places users in text insert mode and allows them to add characters without deleting existing text. i
In VI this allows replacement of multiple characters. A user actually types over text in the file. R
In VI this replaces a single character. r
In VI this opens a new line below the cursor for inserting text. o
In VI this opens a new line above the cursor to input text. O
To do a forward search in VI you type /
To do a backward search in VI you type ?
How can a replace an existing word with another word or a string with another string? :s
In VI, what is the command to save the buffer contents and remain in the file? :w
In VI, what is the command to save the buffer contents and exit the file? :wq
This will write the buffer to a file. If the file already exists, the new contents replace the old contents. If the file does not exist, the command creates one. It does not exit vi. :w! filename
This VI command writes the contents of the buffer to the end of the file :w>>filename
This command exits vi when you have a file open but makes no changes to it. This is helpful for viewing a file and then exiting it. :q
Use this command when you modify the buffer but decide against saving it permanently. This is nice if users go into a file, alter it, and then realize that they do not want to save it with the modifications. :q!
What is the command to archive files? ar
What is the command to delete files from archive? d
What is the command to move files to end of archive? m
What is the command to print files in archive? p
What is the command to append files to archive? q
What is the command to replace files in archive? r
What is the command to list the contents of archive or list the named files? t
What is the command to extract contents from archive or only the named files? x
What is the command to start a window manager, for example motif window manager? The first letter of each word of the window manager plus the cash symbol. Example: (motif window manager is) mwm $
This command makes a terminal emulator window with a UNIX login session inside, just like a miniature terminal. xterm
Created by: eeds6126
Popular Military sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards