Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1 What is the purpose of /dev/null ? a. This is an empty file used as the filesystem template for new files b. This

QUESTION 1

  1. What is the purpose of /dev/null ?

    a.

    This is an empty file used as the filesystem template for new files

    b.

    This is a special directory used for source code development files

    c.

    This file is a system device called a bit bucket which accepts input and does nothing with it.

    d.

    This is a device file that maps to the zero key on the keyboard

    QUESTION 3

    You have a directory named "CIS003" that has some files in it. You want to delete the directory and all the contents. What command would you type?

    a.

    rmdir CIS003

    b.

    del -R CIS003/*

    c.

    rm -r CIS003

    d.

    rmdir -all CIS003

    QUESTION 4

    In most Unix command line interfaces, which key can you press to get to a previously typed command (command history)?

    a.

    Shift + Enter

    b.

    Up Arrow

    c.

    ESC Key

    d.

    Space Key

    QUESTION 7

    If your current working directory is /usr, which of the following commands would bring you to the /usr/bin directory? (there might be more than one right answer)

    a.

    cd ..

    b.

    cd /usr/bin

    c.

    cd bin

    d.

    cd ./bin

    QUESTION 8

    Which command is used to search the contents of a file for lines that contain a particular pattern?

    a.

    grep

    b.

    ls

    c.

    tee

    d.

    wc

    QUESTION 10

    You want to create a symbolic link named "docs" in your home directory that points to /usr/share/doc

    What command would you type to create that symbolic link?

    a.

    ln -s docs /usr/share/doc/

    b.

    ln -s /usr/share/doc/ docs

    c.

    ln /usr/share/doc/ -> docs

    d.

    lnk -s /usr/share/doc/ .

    QUESTION 14

    Which of the following commands will bring you to your home directory (there might be more than one)?

    a.

    cd

    b.

    cd /

    c.

    cd $HOME

    d.

    cd ~

    QUESTION 17

    When using the vi text editor to edit a file, why can you just start typing away right after opening the file?

    a.

    Vi takes a minute at startup to verify the file syntax.

    b.

    Vi needs to be told if the file is ascii or binary after opening the file.

    c.

    Vi starts in read-only mode by default.

    d.

    Vi is a modal text editor, and is in command mode by default when first opened.

    QUESTION 20

    Which command would you type to view all connected filesystems in Unix?

    a.

    lm -a

    b.

    ls /

    c.

    ps axm

    d.

    mount

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

List behaviors to improve effective leadership in meetings

Answered: 1 week ago