Unix Administration Questions & Answers - Sanfoundry

Embed Size (px)

DESCRIPTION

unix questions

Citation preview

  • 7/7/13 Unix Administration Questions & Answers - Sanfoundry

    www.sanfoundry.com/linux-command-mcq-3/ 1/6

    Linux Questions & Answers Linux Commands 3

    This set of Linux / Unix questions and answers focuses on various

    Unix administration commands. It will be useful for anyone learning

    basic Unix Administration.

    1. Command used to determine the path of an executable file is

    a) which

    b) where

    c) wexec

    d) what

    View Answer

    Answer:a

    2. Command used to count number of character in a file is

    a) grep

    b) wc

    c) count

    d) cut

    View Answer

    Answer:b

    3. Which of these commands could you use to show one page of

    output at a time?

    a) less

    b) sed

    c) pause

    d) grep

    View Answer

    Answer:a

    4. Which commands will give you information about how much disk

    Sanfoundry

    Like

    26,460 people like Sanfoundry.

    Facebook social plugin

    We're on

    +112

    Follow

    Testimonials

    The presentation was

    r e a l l y g o o d .

    Advanced C was

    excellent.

    Alan - Wipro

    Technologies

    It was a wonderful

    HomeHome AboutAbout Courses Calender Courses Calender & & FeesFees TestimonialsTestimonials InternshipInternship ContactContact MiscellenousMiscellenous

    1000 C MCQs 1000 C++ MCQs 1000 Linux MCQs 1000 SAN MCQs 1000 C Programs Best Books

  • 7/7/13 Unix Administration Questions & Answers - Sanfoundry

    www.sanfoundry.com/linux-command-mcq-3/ 2/6

    space each file in the current directory uses?

    a) ls -l

    b) ls -la

    c) du

    d) ls -a

    View Answer

    Answer:c

    5. Which of the following command output contains userid?

    a) ls

    b) help

    c) date

    d) ls l

    View Answer

    Answer:d

    6. Which command is used to display all the files including hidden files

    in your current and its subdirectories ?

    a) ls aR

    b) ls a

    c) ls R

    d) ls l

    View Answer

    Answer:a

    7. Which of the following commands can be used to copy files across

    systems?

    a) ssh

    b) telnet

    c) rsh

    d) ftp

    View Answer

    Answer:d

    8. pwd command displays

    a) user password

    b) password file content

    c) present working directory

    d) none of the mentioned

    View Answer

    Answer:c

    course, a thorough

    study through the bits

    and pieces of Storage

    Devices and the other

    advancements in the

    SAN techn o lo g y

    which was very

    informative for me.

    Well prepared slides,

    practical thoughts

    and fully interactive

    class.

    Milind - Microsoft

    The way of teaching

    is excellent. Now we

    have very good

    knowledge in linux

    systems

    programming.

    Javeed - TCS

    The training I got was

    very helpful. The most

    important thing, which

    i liked the most is way

    of training based on

    "Show me the code".

    It has made my

    knowledge in Unix

    deeper and cleared

    the doubts I had and

    also made me to do

    lots of coding in very

    exciting ways during

    sessions. Thanks a

    million to Manish

    Bhojasia.

    Harsh - Wipro

    Technologies

    The SAN training was

    exce l l e n t . G o o d

    hands on an d

    c o n c e p t u a l l y I

    understood a lot, the

    learning curve was

  • 7/7/13 Unix Administration Questions & Answers - Sanfoundry

    www.sanfoundry.com/linux-command-mcq-3/ 3/6

    9. Which of the following commands can be used to change default

    permissions for files and directories at the time of creation

    a) Chmod

    b) Chown

    c) Umask

    d) Chgrp

    View Answer

    Answer:c

    10. Which tar command option is used to list the files in a tape archive

    format?

    a) cvf

    b) tvf

    c) xvf

    d) ovf

    View Answer

    Answer:b

    11. Which of the following commands will allow the user to search

    contents of a file for a particular pattern

    a) touch

    b) grep

    c) find

    d) ls

    View Answer

    Answer:b

    Sanfoundry Global Education & Learning Series Linux

    Administration & Programming.

    To practice all questions on Linux Administration & Programming, here

    is complete set of 1000+ Multiple Choice Questions and Answers on

    Linux.

    If you liked this Linux MCQ, kindly share, recommend or like

    below!

    1

    TweetTweet 3

    excellent. Thank s

    Manish!!

    Amit - Ericsson

    India

    Best Training class I

    ever had on Linux.

    Swati - Aricent

    Thank you for

    providing such an

    awesome experience

    on Linux Device

    Driver Programming.

    The real beauty in

    this training that I

    could witness was its

    practical exposures

    and explanations on

    the same in a neat

    way.

    Ro s h a n -

    Oracle/Sun

    Lab sessions for SAN

    on Ubuntu was very

    useful.

    Ajit - Ericsson India

    Read Complete

    Testimonials here

    We're on

    +112

    Follow

    Subscribe to

    Sanfoundry

    Like 2

    ShareShare 6

  • 7/7/13 Unix Administration Questions & Answers - Sanfoundry

    www.sanfoundry.com/linux-command-mcq-3/ 4/6

    Manish Bhojasia, a technology veteran

    with 17+ years @ Cisco & Wipro, is

    Founder and CTO at Sanfoundry. He is

    Linux Kernel Developer and SAN

    Architect and is passionate about

    competency developments in these

    areas. He lives in Bangalore and delivers

    focused training sessions to IT

    professionals in Linux Kernel, Linux

    Debugging, Linux Device Drivers, Linux

    Networking, Linux Storage & Cluster

    Ad min i s t r a t i o n , Ad v a n c e d C

    Pro g r a mmin g , SAN St o r a g e

    Technologies, SCSI Internals and

    Storage Protocols such as iSCSI & Fiber

    Channel. Stay connected with him below.

    Twitter | Facebook | LinkedIn | Google+

    Manish Bhojasia on Add to circles

    Sanfoundry on Follow

    Sanfoundry

    Like

    26,460 people like Sanfoundry.

    Facebook social plugin

    Follow Follow @sanfoundry@sanfoundry

    Join LinkedIn Group for

    SAN and Kernel Training &

    Jobs

    search here

    GoGo

    Sanfoundry

    Like

    26,460 people like Sanfoundry.

    Facebook social plugin

    Like Send 26,460 people like this. Be the

    first of your friends.

  • 7/7/13 Unix Administration Questions & Answers - Sanfoundry

    www.sanfoundry.com/linux-command-mcq-3/ 5/6

    Sanfoundry is No. 1 choice for Deep Hands-ON Trainings in

    SAN, Linux & C, Kernel & Device Driver Programming.

    Our Founder has trained employees of almost all Top

    Companies in India. Here are few of them: VMware, Citrix,

    Oracle, Motorola, Ericsson, Aricent, HP, Intuit, Microsoft, Cisco,

    SAP Labs, Siemens, Symantec, Redhat, Chelsio, Cavium

    Networks, ST Microelectronics, Samsung, LG-Soft, Wipro, TCS,

    HCL, IBM, Accenture, HSBC, Northwest Bank, Mphasis, Tata

    Elxsi, Tata Communications, Mindtree, Cognizant, mid size IT

    companies and many Startups. Students from top Universities

    and colleges such as NIT Trichy, BITS Pilani, University of

    California, Irvine, University of Texas, Austin & PESIT Bangalore

    have benefited a lot from these courses as well. The

    assignments and real time projects for our courses are of

    extremely high quality with excellent learning curve.

    Register for Expert Level Training Classes by our Founder

    & CTO. Alternatively, call us for your Corporate Training or

    College Training needs.

    Subscribe Newsletter & Posts

    SubscribeSubscribe

    Name

    *

    Email Address

    *

  • 7/7/13 Unix Administration Questions & Answers - Sanfoundry

    www.sanfoundry.com/linux-command-mcq-3/ 6/6

    TOS License Technology Groups Interns Jobs

    2013 Sanfoundry Responsive Theme pow ered by

    WordPress

    C++ Programming Questions and Answers Dereferencing

    C Program to Convert Binary to Hexadecimal

    Related posts:

    1. Linux Questions & Answers Linux Commands 2

    2. Linux Questions & Answers Linux Commands 1

    3. Linux Questions & Answers Shell Redirection

    4. Linux Questions & Answers Linux Commands 4

    Posted in Linux MCQs