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 copy a file to Bob's home directory that Bob needs to revise. However, when Bob attempts to open the file he is unsuccessful. What command do you need to use to give Bob ownershiop of the file?
Ratings Rating:
View Answer View Answer: Here

Questions Question: You issue the command ls -l memos and get the following output -rw-rw-r-- 1 bob users 17249 Sep 7 10:08 accounting -rw-rw-r-- 1 bob users 7202 Sep 17 9:10 administration -rw-rw-r-- 1 root users 13367 Sep 1 12:58 humres -rw-rw-r-- 1 bob users 9449 Sep 22 7:34 sales Bob opens the humres file and makes changes, however, he is unable to save the file after making changes. What is the problem? Choose one: a. Bob is not a member of the users group and only has read access. b. Bob's quota has been exceeded. c. Only the owner of a file can make changes to it. d. The file humres is corrupted and he needs to save his changes to another file.
Ratings Rating:
View Answer View Answer: Here

Questions Question: How does the locate and find commands differ in their method of searching? Choose one: a. locate uses the locatedb database and find searches the directory tree. b. find uses the finddb database and locate searches the directory tree. c. find searches the directory tree and the locate command only searches known directories. d. Both locate and find searches the directory tree.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You need to locate a file called salesdata that one of your user's created in his home directory but you do not know which one. How could you use the find command to locate this file?
Ratings Rating:
View Answer View Answer: Here

Questions Question: You wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What option should you use in this command line to be successful.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have two files in two different directories with the same inode. What type of link is involved?
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a file called salesdata and create symbolic links to it in bob's home directory. Bob calls you and says that his link no longer works. How can you fix the link? Choose one: a. The file salesdata has been deleted. You will have to restore it from a backup. b. You will need to delete the symbolic link in bob's directory and recreate it. c. Rename the link in bob's directory to salesdata.lnk. d. Change the owner of the link in bob's directory and change the permissions to give others read and write permissions.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a large spreadsheet located in the /data directory that five different people need to be able to change. How can you enable each user to edit the spreadsheet from their individual home directories? Choose one: a. Create a symbolic link in the /data directory. b. Copy the spreadsheet to each user's home directory. c. Create a hard link in each user's home directory. d. Create a script to move the spreadsheet to which ever user's home directory who needs to edit it.
Ratings Rating:
View Answer View Answer: Here

Questions Question: What command should you use to check the number of files and disk space used and each user's defined quotas?
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have set quotas for all your users but half of your users are using more space than they have been allotted. Which of the following could be the problem? Choose one: a. You have too many users on your system. b. Users' home directories are located on two different partitions. c. Your kernel does not support setting disk quotas. d. You did not turn quotas on with the quotaon command.
Ratings Rating:
View Answer View Answer: Here

Questions Question: One of your users calls to tell you that he cannot save a new file he has created in his home directory. You check his disk quota and find that he is using less than 50 percent of the space he is allotted. What could be the problem? Choose one: a. He is presently a member of a group that has exceeded its disk space quota. b. He has not named the file correctly. c. The system is corrupt. d. He needs to specify the absolute path when naming the file.
Ratings Rating:
View Answer View Answer: Here

Questions Question: After copying a file to a floppy disk, what should you do before removing the disk?
Ratings Rating:
View Answer View Answer: Here

Questions Question: What is contained in the directory /proc? Choose one: a. System information b. Administrative procedures c. Boot procedures d. Documentation on your system
Ratings Rating:
View Answer View Answer: Here

Questions Question: You use the mount -a command to mount all your filesystems, however, you cannot access your CD-ROM. What could be the problem? Choose one: a. The CD-ROM is not defined in the fstab file. b. The CD-ROM cannot be mounted using the mount -a command. c. The command mount -a is not a valid command. d. The correct syntax to mount all filesystems is mount fstab.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You want to make it possible for your users to mount floppy disks. What do you need to do? Choose one: a. Tell your users the password for root as floppies can only be mounted by root. b. Edit the mtab file and add the user option on the floppy entry. c. Edit the fstab file and add the ro option on the floppy entry. d. Edit the fstab file and add the user option on the floppy entry.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a new application on a CD-ROM that you wish to install. What should your first step be? Choose one: a. Read the installation instructions on the CD-ROM. b. Use the mount command to mount your CD-ROM as read-write. c. Use the umount command to access your CD-ROM. d. Use the mount command to mount your CD-ROM as read-only.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You issue the command mount without any options and the following output is displayed /dev/hda1 on / type ext2 (rw) none on /proc type proc (rw) /dev/hda9 on /home type ext2 (rw) /dev/hda7 on /tmp type ext2 (rw) /dev/hda5 on /usr type ext2 (rw) /dev/hda6 on /var type ext2 (rw) What does this output mean? Choose one: a. This is a listing of all the available filesystems that may be mounted on your system and is taken from the /etc/fstab file. b. This is a listing of all the mounted filesystems on your system and is taken from the /etc/mtab file. c. This is a listing of all the available filesystems that may be mounted on your system and is taken from the /etc/mtab file. d. This is a listing of all the mounted filesystems on your system and is taken from the /etc/fstab file.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You have a file called docs.Z but do not know what it is. What is the easiest way to look at the contents of the file? Choose one: a. Use zcat to display its contents. b. Use uncompress to expand the file and then use emacs to display the files contents. c. Copy the file to a floppy disk and uncompress it under Windows. d. Use tar -xt to display the file's contents.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You created a tarfile called myfiles.tar containing copies of all the files in your home directory. In order to save space you compress this file using gzip. After completing the operation, you do a listing of the contents of the directory to see how much smaller the compressed file is. How can you use the information from the listing to determine the percentage of compression? Choose one: a. Only the compressed file will be listed and not the tarfile. b. Divide the reported size of the tarfile by the reported size of the compressed file. c. Neither the tarfile nor the compressed file are listed as they are both moved to another directory by default. d. Divide the reported size of the compressed file by the reported size of the tarfile.
Ratings Rating:
View Answer View Answer: Here

Questions Question: You are using tar to create a tarfile of the files contained in the /home/bob/memos directory. After making the /home/bob/memos directory your working directory, which of the following commands will create the file? Choose one: a. tar cf memos.tar . b. tar xf memos.tar . c. tar cf memos.tar /home/bob/memos d. tar xf memos.tar /home/bob/memos
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=80&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