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: What would be the result of the command paste -s dog cat? Choose one: a. The corresponding lines from the files dog and cat would be pasted together separated by a tab. b. The corresponding lines from the files dog and cat would be pasted together separated by a space. c. The file cat would be pasted after the file dog. d. The file dog would be pasted after the file cat.
Ratings Rating:
View Answer View Answer: Here

Questions Question: What text filter can you use to display a binary file in octal numbers?
Ratings Rating:
View Answer View Answer: Here

Questions Question: What text filter can you use to display a multi-page file and place numbers at the beginning of each line.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have two files each ten lines long. What text filter could you use to combine the two files so that each line of the output contains the corresponding line from each file?
Ratings Rating:
View Answer View Answer: Here

Questions Question: You issue the command head *. What would the resulting output be? Choose one: a. The first ten lines of each file in the working directory would be displayed preceeded by the file's name. b. The first five lines of each file in the working directory would be displayed preceeded by the file's name. c. The name of each file in the working directory would be displayed. d. The first ten lines of each file in your home directory would be displayed preceeded by the file's name.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You want to print out a text file called vacations however the lines are of varying length. What text filter could you use to even out the length of the lines?
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this? Choose one: a. expand -t4 phonenos b. expand phonenos c. expand -n4 phonenos d. expand -t phonenos
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a file called phonenos that consists of two fields per line, telephone number and name, with the fields being separated by a comma (,). You want to have a list of the names only. Which command will accomplish this? Choose one: a. cut -d, -f2 phonenos b. cut -d, -f1 phonenos c. cut -d -f2 phonenos d. cut -f2 phonenos
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a file named phonenos containing names and telephone numbers. Each line contains the telephone number followed by the name. You want to sort the file by telephone number in ascending order. Which of the following commands will accomplish this. Choose one: a. sort phonenos b. sort -c phonenos c. sort -n phonenos d. sort -r phonenos
Ratings Rating:
View Answer View Answer: Here

Questions Question: When using sed to replace one term with another it will print every line in the file and then print each line every time it does a replacement. What option should you add to the command line to only print the lines that are changed? Choose one: a. -n b. -p c. -g d. -f
Ratings Rating:
View Answer View Answer: Here

Questions Question: Which of the following commands will replace all occurrences of the word rate with the word speed in the file racing? Choose one: a. sed s/rate/speed/g racing b. sed -n s/rate/speed/ racing c. sed s/rate/speed/ racing d. sed s2/rate/speed/ racing
Ratings Rating:
View Answer View Answer: Here

Questions Question: Your default umask is 002. What does this mean? Choose one: a. Any file you create will have the permissions set as owner and group having read and write permissions; others as read only. b. Any file you create will have the permissions set as owner and group having read, write and execute permissions; others as read and execute. c. Any directoy you create will have the permissions set as owner and group having read, write and execute permissions; others as read and write permissions. d. Any directory you create will have the permissions set as owner and group having read and write permissions; others as read only.
Ratings Rating:
View Answer View Answer: Here

Questions Question: What is meant by sticky bit? Choose one: a. When set on a directory, then only the owner of a file can delete it. b. When set on an executable, then any user can run the executable. c. When set on a file, only the owner can see the file in a directory listing. d. When set on a directory, then everyone has read, write and execute permission on the files contained in that directory.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a file with permissions set as -rw-r--r-- 1 root admin 7202 Sep 17 9:10 phonenos What would be the effect of issuing the command chmod 4755? Choose one: a. The owner would be given execute permission. b. To run the file you will have to give root's password. c. When executing the file phonenos it would be run under the same permissions as the owner's. d. Everyone would have the write permission to the phonenos file.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a file with the following permissions -rw-r--r-- 1 root admin 7202 Sep 17 9:10 phonenos You want the members of the admin group to be able to modify the file. What command should you use? Choose one: a. chmod 664 phonenos b. chmod 114 phonenos c. chmod 771 phonenos d. chmod 551 phonenos
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a directory with the following permissions drw-rw--w- 1 root admin 7202 Sep 17 9:10 administration and need to give everyone except root read only access to it. Which of the following commands will accomplish this? Choose one: a. chmod uo=r administration b. chmod ug+r administration c. chmod uo+r administration d. chmod ug=r administration
Ratings Rating:
View Answer View Answer: Here

Questions Question: You copy the administration directory to George's home directory. -rw-rw--w- 1 root admin 7202 Sep 17 9:10 administration The only group that George is a member of is users. He calls you to say he cannot list the contents of the administration directory. Why can't he look at its contents since it is in his home directory? Choose one: a. In order to view the contents of a directory, you must have read permission. George only has write permission. b. Only the owner of a directory can list its contents. c. George needs to change his default group to admin. d. George needs to make himself the owner of the administration directory.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a file called administration with the following attributes -rw-rw-r-- 1 root admin 7202 Sep 17 9:10 administration George is a member of the admin group and Bob is a member of the sales group. Both George and Bob need to make changes to this file. What permissions do George and Bob have to the file? Choose one: a. George has read and write permissions and Bob has read permission. b. Bob has read and write permissions and George has read permission. c. Both George and Bob have read and write permissions. d. Both George and Bob have read permission only.
Ratings Rating:
View Answer View Answer: Here

Questions Question: A listing of the /data directory shows drw-rw-r-- 1 root accounting 17249 Sep 7 10:08 accounting drw-rw-r-- 1 root admin 7202 Sep 17 9:10 administration drw-rw-r-- 1 root humres 13367 Sep 1 12:58 humres drw-rw-r-- 1 root sales 9449 Sep 22 7:34 sales George, who is a member of the admin group, attempts to delete a file contained in the humres directory but is unsuccessful. What do you and George need to do to allow George to delete files in this directory? Choose one: a. You need to add George to the humres group then George needs to make the humres group his default group. b. You need to edit the /etc/passwd file to show the humres group as George's default group. c. Give George ownership of the humres directory. d. George needs to give you a list of files to be deleted and then you should delete them.
Ratings Rating:
View Answer View Answer: Here

Questions Question: Bob has created a new directory that will contain files that he and seven other users will be using for a new project. These eight users are the only members of the kickoff group. What does Bob need to do to give these users access to these files. Choose one: a. Change the group on the new directory to kickoff using the chgrp command. b. Make each of the other seven users the owner of the files as they are created. c. Give the others group the read and write permission to the directory. d. Place the files in the ftp directory so each user can copy them to his own home directory.
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=60&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