LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 02-05-2009, 08:13 AM   #1
sanja
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
please help me:)I need answers for this pop quiz..and sorry for my bad english:)


1) Which shell is considered as default shell in linux?
a) ksh
b) sh
c) bash
d) ash

2) Is it possible to perform this command structure command argument option in linux?
a) yes
b) no

3) What does this command do? cmd & ; kill %1
a) runs a command cmd and sends SIGTERM to a process with PID 1
b) runs a command cmd in background and then unconditionally sends SIGTERM back to it
c) runs a command cmd in background and if it returns non-zero status it sends SIGSTOP to it
d) erases content of a /tmp directory

4) Which of these exists in inode (3 answers)?
a) permissions
b) file name
c) number of hard links
d) date/time of the last change

5) Write a name of a file with a full path where are the information about file systems on your machine. This file can be read by different programs and it automatically mounts file system when booting (if we say so)
……………………………………………….

6) What is the command to demount mounted file system in linux?
a) unmount
b) umount
c) removefs
d) rmfs

7) Connect numbers and letters
a) Which 1)does query on a base
b) Locate 2)path through file system hierarchy
c)Find 3)path through $PATH
………………….





8) Does this commands effectively do the same thing chown :mysql /var/mysql and chgrp mysql /var/mysql ?

9) You have a command chmod 730 /share/freethesoftware-rms.mp3. ( freethesoftware-rms.mp3 is a file). Which of these are correct?
a) owner of the file can change content
b) other users can execute the file
c) group can read the file
d) group can write on file

10) Write a command which shows all shells which are used by users on a system, but so that every different shell shows only once ( for example you have 3 users on your system, the first one uses bash, second also and third ksh, this command would show bash and ksh).
………………………..
11) Write a command that is looking for all lines in a file that begin with th but so that it does not matter if they are t or h written with large or small letters ( th, TH, tH, Th).
…………………..myfile.txt
12) Do this commands sed –e ‘s/lin/nix/’ and tr ‘lin’ ‘nix’ do in every possible case the same thing?
a) yes
b) no

13) In which file is setup for defaultin runlevel in linux?
a) /etc/mttab
b) /etc/fstab
c) /etc/init.d
d) /etc/inittab

14) Content of the file /etc/issue is shown?
a) before we log in
b) after we log in
c) none of it

15) Circle the right answers
a) time of the last password chage in in /etc/shadow
b) on modern linux systems user’s password is in /etc/passwd
c) user’s home directory is in /etc/passwd
d) primary group id (GID) is in /etc/group

16) Write a command that adds a user rms with uid 1099, /bin/zsh shell, and by that create home directory /export /home/rms
……………………………………………………
17) Which two commands are used for conversion from /etc/passwd format in /etc/ shadow, and vice versa ( and also cleans /etc/passwd and /etc/ shadow from wrong entries)?
a) pwconv
b) pwunconv
c) convertpasswd
d) convertshadow

18) What does the following syslog selector do?
*.crit /var/log/critical.log

a) enters messages from crit deamon in /var/log/critical.log
b) enters massages for all facilities from crit to emerge priority in /var/log/critical.log
c) enters messages for all facilities only for crit priorities in /var/log/critical.log
d) none

19) Write one of the commands that display the current logged in users on the system
……………………………..

20) What does the command echo “ls” | at 11:30 pm July 15?
a) executes ls command in 11:30 pm 15 July current year only once
b) executes echo “ls” command in 11:30 pm 15th July current year only once
c) executes ls command every 15 July in 11:30 pm
d) executes command ls in 3 pm November 30th current year only once
21) How would you zip the directory /etc/ in the compressed file /tmp/etc_backup.tar.gz using gzip compression?
……………………………
22) How many times will be done echo “mysql” in the following construction?
While true
Do
Echo “mysql”
Done
a) once
b) twice
c) infinitely

23) Which command do you use to make shell variable available to all sub-shells that can be run from that shell?
a) global
b) export
c) var
d) lilo


24) Which command is not used to configure/list network interfaces?
a) network
b) configure
c) ipconfig
d) ifconfig

25) What is the name of the package for sharing files between two unix/linux servers?
a) samba
b) nfs
c) zfs
d) grub

26) What is the name of well known DNS implementation in linux/unix systems?
a) DNS
b) WINS
c) BIND
d) top

27) You have a network 214.11.0.0/16. Write a netmask in “dotted quad” format (255…), broadcast address, and the first and the last host
Netmask ………………..
Broadcast ………………
The first host ……………
The last host ……………

28) What is the name of the command in linux which automatically reveals what part of software package should be uncomplied/complied and presents commands that do it?
a) cook
b) gcc
c) make
d) more

29) Which switch in netstat command lists routing table?
a) –t
b) –r
c) –x
d) -j


I hope you'll understad what I wanted to ask
 
Old 02-05-2009, 08:17 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
People aren't going to do your homework for you. Surely if you've been given this to do, you must have learnt something in the class you're taking, or given books to read, etc?
 
Old 02-05-2009, 08:17 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
You are at wrong place Dude.
This forum is designed for asking Linux Related queries not DOING YOUR HOMEWORK.
We are not FREE SERVICE DELIVERY CENTRE....

Best Medicine is GOOOOGLing.

Have a Nice Time.
 
Old 02-05-2009, 08:18 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by sanja View Post
I hope you'll understad what I wanted to ask
Of course! You're asking us to do your homework. That's really a bad idea! How are you supposed to learn something if someone does the job for you? If you have some doubt about one or more topics, feel free to ask but at least show what you've done by yourself and do a more specific question.
 
Old 02-05-2009, 08:20 AM   #5
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
What you need to do is more studying!
 
Old 02-05-2009, 08:21 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Way to use a good free English to English Dictionary linbose Linux - Software 6 06-03-2009 10:25 PM
Can I have english menu with chinese/english/spanish input? codec Linux - General 9 10-04-2003 07:18 PM
english-english dictionary for linux zozia Linux - Software 4 09-21-2003 02:32 PM
The one the only POP QUIZ!!!! New version 5.6.2.3.3 insane_jester Linux - Newbie 12 05-20-2003 06:48 PM
Pop quiz test yourself! insane_jester Linux - Newbie 4 04-18-2003 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration