Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
These are a few of questions in a Unix exam I had recently.
I am curious to know the answers.
Code:
1) A listing of inodes are unique in different ..............
1) File systems
2) Partitions
3) Files
4) don't remember
2) When you remove all the ............ system considers the file removed.
1) Hard links
2) Soft links
3) Files
4) don't remember
3) What is the command to compile a file script in shell.
1) gcc
2) don't remember
3) vi
4) don't remember
4) which one of these are not an editor in unix?
1) Nano
2) Pico
3) Vi
4) none of the above
5) When you don't partition a disk in Unix, by default Unix
creates all the directories under.......
1) / root
2) / etc
3) / home
4) none of the above
5) ps command is used to find out which processes are
currently running.
True
or
False
6) To bring a background process to the foreground, fg command
is used with the process ID of the process.
True
or
False
7) Which one of these are a windows based file system.
1) Ext2
2) NTFS
3) Ext3
4) FAT
8) Which one of these is not an operating system?
1) Windows
2) DOS
3) Unix
4) None of the above
9) if [ -f /bin/ls ]; then echo " I found it"
is a valid path for
1) Directory
2) File
3) File system
4) don't remember
Thank you
mansour
Last edited by mansour; 04-30-2011 at 12:30 PM.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Actually I did search google, and I got some info but no definitive answer on most.
Googling any linux questions, would often return a page from this forum as well.
I thought this forum is the best place to get the answer to these questions.
Google isn't what some people believe, at least my experience shows me so.
It is sometimes useful and a lot of times not so useful.
No, This is the exam I already have done, but not gotten the answers yet, and will never know the answers, since the course is over.{...}
Sorry but..
a)It's hard to believe exam is over or that teacher won't help with discussing answers after exam..and you mentioned exam is over then teachers|schoolmates don't have problem sharing answers.
b)Not hard exam..just need small research and common sence.
Good luck with exam.
How come "3) What is the command to compile a file script in shell." has two "don't remember" answer options and what does the question mean anyway?
Regards "2) When you remove all the ............ system considers the file removed", the system doesn't "consider" -- it follows definitive algorithms. If the question should have been "when is the file removed" then "removed" needs clarifying. If it means "when is its data freed in the file system" then none of the answers are correct.
Well, you should find the answers in your books, no?
Kind regards
Well some of them, I am not sure are even correct.
like:
6) To bring a background process to the foreground, fg command
is used with the process ID of the process.
True
or
False
The answer here could be both true and false.
You could bring it to the foreground with fg and grep as my boss said to me.
But you couldn't bring to the foreground by fg alone + process ID. unless you use, jobs command first.
script & (run a script in the background)
jobs -l ( get its jobs ID )
then fg %jobs ID ( bring it to the foreground )
7) Which one of these are a windows based file system.
1) Ext2
2) NTFS
3) Ext3
4) FAT
Here there are two correct answers. Both Fat and NTFS are windows based file systems
@OP; Remember that 'man command' is always available to you.
You could <Linux> - Google Search most of the questions that are presented by using good keywords or look some of the links below. These links will aid you to gaining some understanding but YOU will need to work for it;
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.