How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 9972
Experience:  Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
29751445
Type Your Programming Question Here...
LogicPro is online now
A new question is answered every 9 seconds

Need help on Advanced Unix Commands

Resolved Question:

Advanced Unix Commands

1. When you use the paste command, by default, the pasted results appear in columns separated by commas.

(Points : 1)

True

False

2. The root of a file system is denoted by the ____. (Points : 1)

dot (.)

dot dot (..)

forward slash (/)

backward slash (\)

3. The term ____ refers to a “black hole”; any data sent to this device is gone forever. (Points : 1)

void

root

null

console

4. The cp ____ option creates a symbolic link or name at the destination rather than a physical file. (Points : 1)

-s

-y

-l

-n

5. The command rmdir can be used to delete a directory that is not empty. (Points : 1)

True

False

6. A(n) ____ is used to reduce file fragmentation, because a block of contiguous disk storage can be reserved for a file. (Points : 1) partition

node

journal

extent

7. The ____ option of the paste command is used to specify a different separator as a delimiter. (Points : 1)

-t

-o

-d

-s

8. UNIX/Linux store data, such as letters, product records, or vendor reports, in flat ASCII files. (Points : 1)

True

False

9. The paste command normally sends its output to ____. (Points : 1) s

tdout

null

stderr

the file indicated as an argument

10. To redirect the list of the files in a directory to a file called homedir.list, you enter ____. (Points : 1)

ls < homedir.list 
ls > homedir.list 
homedir.list < ls

homedir.list > ls

11. The ____ is shorthand for the home directory, which typically has the same name as the user’s account name. (Points : 1) backward slash (\)

forward slash (/)

dollar sign ($)

tilde (~)

12. The rm -r command can be used to delete a directory that is not empty. (Points : 1)

True

False

13. The command > accountsfile ____. (Points : 1)

deletes de file accounts

file is not valid in UNIX/Linux systems

displays the contents of the file accountsfile on the screen

creates an empty file called accountsfile

14. A(n) ____ path begins at the root level and lists all subdirectories to the destination file. (Points : 1)

root

primary

absolute

relative

15. If you plan to have multiple users access a system, you can create a ____ partition, which is the home directory for all users’ directories. (Points : 1)

/root

/etc

/usr

/home

16. UNIX/Linux systems interpret a single dot character to mean the current working directory. (Points : 1)

True

False

17. You use the ____ command to display a directory’s contents, including files and other directories. (Points : 1)

dir

d

pwd

ls

18. A sorting ____ is a field position within each line. (Points : 1) index

key

column

position

19. The ____ partition acts like an extension of memory, so that UNIX/Linux have more room to run large programs. (Points : 1) backup

primary

virtual

swap

20. The ____ directory contains configuration files that the system uses when the computer starts. (Points : 1)

/boot

/bin

/dev

/etc

21. You can change the pattern of permission settings by using the ____ command. (Points : 1)

chperm

chmod

chsec

chown

22. If you plan to have multiple users accessing your system, you should consider having a /var partition in which to store some or all of the nonkernel operating system programs that are accessed by users. (Points : 1)

True

False

23. You can use the ____ command to create empty files. (Points : 1)

touch

create

make

null

24. Moving and renaming a file are essentially the same operation. (Points : 1)

True

False

25. The UNIX file system (ufs) supports ____, which automatically move data on damaged portions of disks to areas that are not damaged. (Points : 1)

hot fixes

backups

recovery fixes

extents

26. The command cd source uses relative path addressing. (Points : 1)

True

False

27. To move a file, you use the ____ command along with the source file name and destination name. (Points : 1)

rm

rename

mv

move

28. A disadvantage of ufs is that it does not support journaling. (Points : 1)

True

False

29.When you no longer need a file, you can delete it using the ____ command. (Points : 1)

rm

remove

dl

delete

30. System administrators and programmers refer to standard input as ____. (Points : 1)

sin

stin

stdin

standardin

31. The ____ directory contains executables, which are the programs needed to start the system and perform other essential system tasks. (Points : 1)

/boot

/bin

/dev

/etc

32. The ____ command is used to look for patterns in files. (Points : 1)

awk

find

pattern

search

33. You can use the ____ operator to redirect commands or program error messages from the screen to a file. (Points : 1)

1>

2>

3>

4>

34. The two most popular hard disk interfaces are IDE and ____. (Points : 1)

ATA

SCSI

EIDE

RAID

35. The join command is used to associate information in two different files on the basis of a common field or ____ in those files

index 
link 
column 
key

36. ____ are programs that perform operations such as copying files, listing directories, and communicating with other users. (Points : 1)
Extents
Utilities
Applications
Services

37. To navigate the UNIX/Linux directory structure, you use the ____ command. (Points : 1)
nav
cd
mv
jump

38. When you use find, it is useful to note that some UNIX versions require the ____ option after the file name to display the names of files. (Points : 1)
-display
-print
-show
-names

39.You can complete a project using awk that you cannot complete using a combination of paste, cut, sort, and join.
(Points : 1)
True
False

40.When you are moving files, using the -o option with the mv command can be a good idea so that you don't unexpectedly overwrite a destination file with the same name.
(Points : 1)
True
False

 

Submitted: 2 years ago.
Category: Programming
Expert:  LogicPro replied 2 years ago.
I will check and reply ASAP
Expert:  LogicPro replied 2 years ago.

Download answer from here Advanced Unix Commands multiple choice.docx
You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant and fresh answers.

LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 9972
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
LogicPro and other Programming Specialists are ready to help you

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
 
 
 

Meet The Experts:

 
 
 
  • ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7463
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
< Last | Next >
  • http://ww2.justanswer.com/uploads/SP/spatlanta2010/2011-6-23_12450_photo.64x64.gif ATLPROG's Avatar

    ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7463
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Computer Software Engineer

    Satisfied Customers:

    5603
    Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
  • http://ww2.justanswer.com/uploads/unvadim/2010-11-15_210218_avatar.jpg unvadim's Avatar

    unvadim

    Computer Software Engineer

    Satisfied Customers:

    1158
    Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.
  • http://ww2.justanswer.com/uploads/lifesaver333/2010-10-17_191349_ls.jpeg lifesaver's Avatar

    lifesaver

    Computer Software Engineer

    Satisfied Customers:

    950
    Several years of intensive programming and application development experience in various platforms.
  • http://ww2.justanswer.com/uploads/EH/ehabtutor/2012-8-2_202016_1.64x64.jpg ehabtutor's Avatar

    ehabtutor

    Computer Software Engineer

    Satisfied Customers:

    864
    Bachelor of computer science, 5+ years experience in software development, software company owner
  • http://ww2.justanswer.com/uploads/RA/rajivsharma086/2012-6-6_17128_displaypic.64x64.jpg Raj's Avatar

    Raj

    Computer Engg.

    Satisfied Customers:

    860
    BE CS, 4+ Experience in Programming and Database (ERP)
  • http://ww2.justanswer.com/uploads/eljonis/2010-01-06_130406_eljon2.jpg Eljon's Avatar

    Eljon

    Consultant

    Satisfied Customers:

    590
    11 yrs of programming (PHP, WordPress, XSL, SQL, JavaScript)
 
 
 

Related Programming Questions

Chat Now With A Programmer
LogicPro
LogicPro
5840 Satisfied Customers
Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.