Home  
 
  Ask Questions  
 
  Feed Back  
 
  My Questions  
 
  Contact Us  
 
  About Us  
 


 Interview Questions  
 Our Services  

Linux Interview Questions and Answers

NEW INTERVIEW QUESTIONS.COM OPERATING SYSTEMS INTERVIEW QUESTIONS LINUX INTERVIEW QUESTIONS QUESTIONS LISTING

Linux Interview Questions & Answers


A D V E R T I S E M E N T





Previous Page 1 Page 2 [ Page 3] Page 4 Page 5 Page 6 Page 7 Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Next

Newinterviewquestions.com: World's Largest Interview Questions Website.
Questions Question: You enter the command cat horse | tr 'x' 'X'. What is the result of this command? Choose one: a. The file horse will be displayed to the screen. b. Any lines in the file horse containing 'x' or 'X' will be displayed to the screen c. All instances of 'x' will be changed to 'X' and the output sent to the screen. d. All instances of 'x' will be changed to 'X' and the output written to the file called horse.
Ratings Rating:
View Answer View Answer: Here

Questions Question: Which file do you need to change to alter how the updatedb database is created? Choose one: a. /etc/which.conf b. /etc/conf.updatedb c. /etc/updatedb.conf d. /etc/conf.which
Ratings Rating:
View Answer View Answer: Here

Questions Question: You want to configure your system so that when you create a new user a customized .bash_logout file will be created in the new user's home directory. How can you do this? Choose one: a. Copy the .bash_logout file to the new user's home directory. b. Copy the .bash_logout file to the /etc/skel directory. c. Copy the .bash_logout file to the /etc directory. d. Rename the .bash_logout file to BASH_LOGOUT
Ratings Rating:
View Answer View Answer: Here

Questions Question: As the system administrator you have created a directory containing some scripts that you have written. You want to have all your users to be able to run this scripts. Which file should you edit to ensure that the scripts will run without your users having to type the complete path to the script? Choose one: a. ~/.profile b. /etc/profile c. /etc/bash d. ~/.bash
Ratings Rating:
View Answer View Answer: Here

Questions Question: What is the purpose of the command xargs? Choose one: a. xargs is used to pass arguments from one command to another. b. xargs is used to redirect standard output to a file. c. xargs is used to redirect standard error to a file. d. xargs is used to use the contents of a file as standard input.
Ratings Rating:
View Answer View Answer: Here

Questions Question: What is the results of the command cat horse | tee dog? Choose one: a. The contents of the file horse would be displayed on the screen and saved in a new file called dog. b. The contents of the file horse would be displayed on the screen. c. The contents of the file horse would saved in a new file called dog. d. The contents of the files horse and dog would be displayed on the screen.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You enter the command cat horse | tr 'x' 'X'. What is the purpose of the | character? Choose one: a. The | character is used to send the output from one command to another command as input. b. The | character is used to send the input from one command to another command as output. c. The | character is used to sequentially enter multiple commands. d. The | character is a place holder to tell the shell where one command ends and another begins.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You are not interested in any error messages from the command cat dog cat horse. What command should you enter? Choose one: a. cat dog cat horse >& /dev/null b. cat dog cat horse &> /dev/null c. cat dog cat horse d. cat dog cat horse 1> /dev/null
Ratings Rating:
View Answer View Answer: Here

Questions Question: If you type the command cat dog 1> cat 2> horse where would the output be sent? Choose one: a. Any error messages would be saved to the file horse and the standard output would be saved to the file cat. b. Any error messages would be saved to the file cat and the standard output would be saved to the file horse. c. The contents of the file dog and any error messages would be saved to the file horse. d. The contents of the files dog and cat would be saved to the file horse.
Ratings Rating:
View Answer View Answer: Here

Questions Question: If you type the command cat dog &> cat what would you see on your display? Choose one: a. Any error messages only. b. The contents of the file dog. c. The contents of the file dog and any error messages. d. Nothing as all output is saved to the file cat.
Ratings Rating:
View Answer View Answer: Here

Questions Question: If you type the command cat dog >& cat what would you see on your display? Choose one: a. Any error messages only. b. The contents of the file dog. c. The contents of the file dog and any error messages. d. The contents of the file dog and the file cat.
Ratings Rating:
View Answer View Answer: Here

Questions Question: If you type the command cat dog > cat what would you see on your display? Choose one: a. Any error messages only. b. The contents of the file dog. c. The contents of the file dog and any error messages. d. The contents of the file dog and the file cat.
Ratings Rating:
View Answer View Answer: Here

Questions Question: Each command has two types of output. There are standard output and standard __________.
Ratings Rating:
View Answer View Answer: Here

Questions Question: Where is standard output usually directed?
Ratings Rating:
View Answer View Answer: Here

Questions Question: You know that there should be 1,233 entries in the phonenos file and that each entry in on a separate line. What utility can you use to verify that the file contains 1,233 lines?
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have the file phonenos that contains telephone numbers and names separated by a comma. You want to change each comma to a semicolon. Which of the following will accomplish this. Choose one: a. cat phonenos | tr ',' ';' b. tr ',' ';' phonenos c. sed s/,/;/ phonenos d. tr phonenos ',' ';'
Ratings Rating:
View Answer View Answer: Here

Questions Question: You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
Ratings Rating:
View Answer View Answer: Here

Questions Question: What would be the result of issuing the command cat phonenos? Choose one: a. The file phonenos would be displayed in reverse order with the last line shown first. b. The first word of each line of the file phonenos would be displayed. c. The file phonenos would be displayed in reverse order with the last line shown first and a newline character added at the end of each line. d. The file phonenos would be displayed with each line numbered in reverse order with the last line shown first.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a file called phonenos that is almost 4,000 lines long. What text filter can you use to split it into four pieces each 1,000 lines long?
Ratings Rating:
View Answer View Answer: Here

Questions Question: You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this? Choose one: a. pr -l60 vacations | lpr b. pr -f vacations | lpr c. pr -m vacations | lpr d. pr -l vacations | lpr
Ratings Rating:
View Answer View Answer: Here

Previous Page 1 Page 2 [ Page 3] Page 4 Page 5 Page 6 Page 7 Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Next


 Sponsors  

Latest 10 Answers
When there is any situation that u should attach a new patch to ur kernel , then download the patch and install it,to make changes to kernel , go to ok prompt and type boot -r, it will update or reconfigure the kernel
Honesty, helpful and reliable
procedure is a set of sql statement ,are combined to gether to perform a specific task or to solve a specifi problem.it does not return value.
leadership is power to influence a group so that the members willingly exert efforts as aspired by the leader.
I have the unique combination of technical skill and the ability to build strong customer relationship. I have the ability to stay focussed in stressfull situation. I would be great addition to your team.
first execute the bc search spec to fetch the data then executes the applet search spec if applet search spec is not match with bc it skips
TCP-Transmission Control Protocol. TCP is Reliable. TCP is Connection oriented. UDP-User Datagram Protoco UDP is Unreliable. UDP is Connectionless.
By default in structure all data member and member function are public,i,e if you not mentation any access specifier. But in case of class By default all data member and member function are private.
Structure is a user defined data type. By default all structure variables are public type and we cann't use access specifier in structure type variable, where as in class we can define objects(variables) under required access specifier type.
variable cost is the cost which is not fixed in nature

Newinterviewquestions.com is a part of Vyom Network. Top



Copyright © 2017, newinterviewquestions.com. All rights reserved Privacy Policy | Terms and Conditions

Page URL: http://www.newinterviewquestions.com/cat/Linux-interview-questions/Default.asp?&iType=83&iDBLoc=40&cachecommand=bypass


Download Yahoo Messenger | Web Hosting | Dedicated Server | Free SMS Domain Registration | Windows Hosting | Linux Hosting | Java Hosting | Virtual Dedicated Server | Dedicated Server | Reseller Web Hosting | Unlimited Windows reseller hosting | Unlimited Linux reseller hosting | Cheap Windows reseller hosting | Cheap Linux reseller hosting | Cheap Windows hosting | Best Windows hosting | Windows hosting Multiple Domains | Unlimited Windows hosting | Compare hosting plans | Cheap Linux hosting | Best Linux hosting | Linux hosting Multiple Domains | Unlimited Linux hosting | Cheap asp.net hosting | Best asp.net hosting | unlimited asp.net hosting | Cheap asp.net reseller hosting | Unlimited asp.net reseller hosting | Java Features | Cheap Java hosting | Best Java hosting | unlimited Java Hosting | Unlimited Linux reseller hosting | Java Hosting Multiple Domains Quick2host Reviews Buy Online Traffic