Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

LINUX QUESTIONS : PART 4

Command used to determine the path of an executable file is

 

which

where

wexec

 what

SHOW ANSWER

Command used to count number of character in a file is

 

grep

 wc

count

 cut

SHOW ANSWER

Which of these commands could you use to show one page of output at a time?

less

 sed

 pause

 grep

SHOW ANSWER

Which commands will give you information about how much disk space each file in the current directory uses?

ls -l

 ls -la

 du

 ls -a

SHOW ANSWER

Which of the following commands can be used to copy files across systems?

ssh

 telnet

 rsh

 ftp

SHOW ANSWER

pwd command displays

user password

 password file content

 present working directory

none of the mentioned

SHOW ANSWER

Which of the following commands will allow the user to search contents of a file for a particular pattern

touch

 grep

 find

 ls

SHOW ANSWER

The command syntax to display the file ‘sample.txt’ one page at a time is

man sample.txt>more

cat sample.txt<more

 cat sample.txt|more

none of the mentioned

SHOW ANSWER

What will be the output of the command 'tail sample'?

Last 10 lines of the file.

 Last 15 lines of the file

Last 5 lines of the file

 First 10 lines of file.

SHOW ANSWER

Output of the command 'wc <filename>' is

Show only line

Show only word.

Show number of lines,words,characters and the filename.

Show only file name.

SHOW ANSWER

What command is used to display the characteristics of a process?

au

ps

du

pid

None of the above

SHOW ANSWER

._______ will add contents to an existing file

cat > file

cat >> file

cat file | file1

cat file > file1

SHOW ANSWER
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in