Which command could you type to see your current user

Assignment Help Computer Engineering
Reference no: EM132117117

QUESTION 1

Perhaps you are an administrator of a Unix system with multiple users, and you log in as different users from time to time. Which command could you type to see your current user identity?

a.

ident

b.

me

c.

pwd

d.

id

QUESTION 2

In traditional Unix systems, which file contains the list of user accounts?

a.

/var/db/users

b.

/etc/accounts

c.

/etc/group

d.

/etc/passwd

QUESTION 3

When you type "ls -l" to view the details of the contents of your current working directory, one of the items has the following permissions:

drwxr-xr-x

What does the d at the beginning mean?

a.

It is a directory

b.

It is dynamically linked

c

.It has been deleted and is in the trashcan

d.

It is a duplicate file

QUESTION 4

On traditional Unix systems, which file contains the list of user groups and their members?

a.

/var/db/grps

b.

/etc/ugps

c.

/etc/shadow

d.

/etc/group

QUESTION 5

What is the numeric or Octal version of the following permissions for a file? -rwx r-- r--

Or, put a different way: u=rwx,g=r,o=r

a.

744

b.

655

c.

755

d.

311

QUESTION 6

You want to change the permissions on a directory named public_files so that everyone else (the "other" category of users) has the ability to go into the directory and read files, but not write to the directory.

Which command would do that for you?

a.

chmod o=rx public_files

b.

chmod ugo+ public_files

c.

chmod go=r public_files

d.

chmod 777 public_files

QUESTION 7

You want to remove write permissions for everyone including yourself on a file named "my-homework.txt"

Which command would do that for you?

a.

chmod a-w my-homework.txt

b.

umask 755 my-homework.txt

c.

chmod o-w my-homework.txt

d.

rm -w my-homework.txt

QUESTION 8

What piece of information do you need to know in order to use the su command?



a.The username of one of the administrator accounts

b.

The password for the root account

c.

The password for the user you are trying to become

d.

The index number for an administrative user in the user account database

QUESTION 9

A file named "homework" had the following permissions: -rwxr--r--

Which command could have been typed to change the permissions to this: --wx-w---x

a.

chmod 465 homework

b.

chmod 321 homework

c.

chomd g-r homework

d.

chmod a-r homework

QUESTION 10

Why migh you use sudo instead of su?

a.

Because sudo always asks for confirmation before executing a command, while su does not.


b.

Because sudo allows you to use your own password to quickly run a task with administrative privilges, you are less tempted to endanger your system by running as root all the time.


c.

Because sudo can make you a sandwich.


d.

Because su is old and usually not present on Unix.

Reference no: EM132117117

Questions Cloud

Explain what is a process : A group diary and time management system is intended to support the timetabling of meetings and appointments across a group of co-workers.
What is the value of his account after making : What is the value of his account after making the fifth deposit?
What is the amount of the pretax profit on the sale : The firm no longer uses this property so is selling it today at a price of $13,500. What is the amount of the pretax profit on the sale?
How many firewalls should protect the application : What considerations and methods can be used to ensure easy downloading and reading of the encrypted documents while minimizing the risk of compromise?
Which command could you type to see your current user : You log in as different users from time to time. Which command could you type to see your current user identity?
Made an investment into a project : You have already made an investment into a project. This project is expected to earn you $500 at the end of the first year, $600
How much are his monthly payments expected to be : William just graduated Indiana University but had to take out a $50,000 student loan. His loan requires him to make monthly payments over a 10-year period at 4.
How much must you invest in your account today : How much must you invest in your account today if you want to pay yourself $230 at the end of each of the next 15 years?
How much will you have saved : If instead of investing in the account, you saved your money in your cookie jar. How much will you have saved?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd