Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Linux 1. What command would you use to determine what directory you are currently in? 2. I have seven files named: filea fileb

Linux

1. What command would you use to determine what directory you are currently in?

2.  I have seven files named: 

  • filea  

  • fileb  

  • filec  

  • filed  

  • filee  

  • filef  

  • fileg

     How can I list only filed filee and filef in a single command? You must use file globbing. 

3.  Provide the command to find all files on the system with the file extension .xz.

4. You have a directory called ics2231. You wish to create a backup of this directory, which you have decided to call ics231_backup. Provide the command to create this backup directory

5. Provide the command to delete all files in your current directory with an extension of txt.

6. Provide the command to create the compressed file: ics231.tar.xz. Do not use the touch command. 

7. What does the following command do: 

!100

8. If I wanted to change the ownership of an entire directory to the user grossp, what command would I use?

9.  What command would you use to learn about your USB devices?

10.  Provide the command to find all files on the system that belong to the user grossp, are created in the last 24 hours, and are less than 100 megs.

Part 2:

Use the same text document to answer the following questions. 5 from each section (a total of 10) will randomly be picked for grading.  Each one is worth 2 points.

Part A:

   Write the command by using letters (symbolic) to set the following permissions. The default file permissions are: 755 ( rwxr-xr-x)

  1. rwxrwxrwx
  2. r--r----x
  3. rw-rw-rw-
  4. rwxrwxr--
  5. rw-rw--w-
  6. --x--x--x
  7. -wxr-----
  8. ---rwxr-x
  9. -wxr--rwx
  10. ---rw--wx

Part B:

   Write the command by using octal numbers to set the following permissions:

  1. rwxrwxrwx
  2. r--r----x
  3. rw-rw-rw-
  4. rwxrwxr--
  5. rw-rw--w-
  6. --x--x--x
  7. -wxr-----
  8. ---rwxr-x
  9. -wxr--rwx
  10. ---rw--wx

Part 3:

Each question is worth 5 points.

1. What is the difference between a Window Manager and a Desktop Environment? Provide examples of each one. 

2. What is the difference between hard and soft links? Provide an example of each one.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Linux 1 What command would you use to determine what directory you are currently in The pwd print working directory command is used to determine the current directory in a Linux system bash pwd 2 I ha... blur-text-image

Get Instant Access with AI-Powered 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

Accounting Information Systems

Authors: Marshall B. Romney, Paul J. Steinbart

13th edition

978-0133428537

Students also viewed these Programming questions

Question

How can an investor sell a security that is not currently owned?

Answered: 1 week ago

Question

What is an ANOVA table?

Answered: 1 week ago