UNIX/LINUX

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

The _______ symbol usually represents the prompt in Unix/Linux Korn shell

$

the____option to ls includes all files in the current directory, including dot or hidden files

-a

the_____option with ls places a forward slash at the end of the name of each directory

-f

The _________ option, when specified with the sort utility, reverses the ASCII order.

-r

The _______ command in the ksh, bash, or sh can be used to instruct the current shell to read a file and execute each line in a file.

. (dot)

The ______ contains one line of information (a record) for each user.

/etc/passwd

Bourne (sh), Korn (ksh)

/etc/profile*,~/.profile

The _________ environment variable holds the location of the user's workspace or home directory.

HOME

The vi editor opens a file in insert mode by default

false

Which of the following commands will create a new text file called newFile?

wc newFile

The _________ command is used to search the location of a utility.

which

The _______ command displays the number of users logged on to a multi-user system.

who | wc -l

The _________ command is used to instruct the vi editor to write the file and quit the editor.

wq

Are UNIX/LINUX case sensitive

yes

The ______ is the instruction to connect the output of one utility to the input of another.

| (pipe)

Z (zsh)

~./zshrc

Bash (bash)

~/.bashrc,~/.bash_profile

Korn (ksh)

~/.kshrc

C (csh)

~/.login,~/.cshrc

TC (tcsh)

~/.tcshrc

what is the command to see what shell is running?

echo $SHELL

the______command displays all files with the long listing of information, and directories marked with a slash

ls -alF

Whenever you are in doubt in vi, what key should you press?

Esc

The __________ command is used to logoff from a terminal environment.

Exit

The root user CANNOT create regular user accounts in Unix/Linux

False

We would still be able to use the Internet if we didn't have Unix/Linux.

False

Which of the following symbols instruct the shell to create a new file and redirect the process to that file?

>

The ___________ is a redirection character that instructs the shell to append data to the end of an existing file.

>>

The _______________ error message is displayed if either the login or the password is typed incorrectly when accessing xserver.delta.edu.

Access Denied

information passed to the utility is called

Arguments or options

The __________ environment variable in a Korn shell stores the login ID of a user logged into the system.

LOGNAME

Importance of UNIX/LINUX

No Military, No Operational Government, No Functioning Universities, No Large Corporations,

The _________ is not displayed on the screen when typed in Unix/Linux

Password

Programming

The ability to execute sequences of programs and commands

I/O Handling

The control of program and command input and output

Two ways of viewing an operating system

Top-down and Bottom up

Unix began in the Bell Labs in 1969

True

The _________ command is used to switch from the command mode to the append mode in vi

a

Which of the following are vi modes?

a. Command b. Append c. Insert d. All of the above

Which of the following fields is displayed when executing the ls -l command?

a. filename b. file size c. number of links to file d. all of the above

Some of the common editors included on most UNIX/Linux systems include:

a. vi b. pico c. emacs d. all of the above

The ______ utility is used to select and print specific fields, make calculations, and locate records by the value of specific fields.

awk

the______command can be used to make a directory the current directory

cd

The __________key combination is used to access the Help section of Pico

ctrl-g

The ________ command is used to display the current date and time in Unix/Linux.

date

The __________ utility in Unix/Linux is used for locating lines in a file that contain the words or the string of characters specified.

grep

The __________ utility is used to display a list of files and subdirectories created in the current directory.

ls

the ______command can be used to obtain a list of all the files and directories in the root directory

ls /

The ______ command is used to change the user‟s password on a normal system.

passwd

The command ls -l file displays the ___________________.

permission and other information about the file

The __________ command displays the list of all processes running on the entire system.

ps -ef

The ___________ command displays the path information from the top file system to the user's current directory.

pwd

The ___________ command in the ksh shell executes the 15th command and displays its output from the history list.

r 15

a user having a ______ login is granted the extensive power needed to administer the system

root

The sleep utility interprets its arguments as the number of ____________ it should wait before exiting.

seconds

The __________ shell does NOT allow users to repeat previously entered commands.

sh

The _____ utility reads the file into memory and rearranges the lines into a sorted order.

sort

Execution

the ability to execute programs and commands

Binary files contain non-printable characters which is sometimes known as machine language.

true

Text files contain printable ASCII characters

true

The ___________ command is used for removing an alias associated with DIR.

unalias DIR

What does the acronym vi stand for?

visual editor

Which of the following commands results in an error?

wc -c-l

The __________ command displays the total number of lines in a file.

wc -l


Set pelajaran terkait

NS 415 Test 1 Objectives (Ch 1,2,3,4,17,18,23,25)

View Set

Control of the Internal Environment

View Set

Chapter 15: Pain Management During Childbirth

View Set

CT-Exam Secrets Practice Questions

View Set