Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

No need to explain, I can figure out what each answer means and why. THANK YOU! I have not learned a thing yet! 1a)List at

No need to explain, I can figure out what each answer means and why. THANK YOU! I have not learned a thing yet!

1a)List at least four commonly used shells.

1b)How would you start editing the file first-file using the nano editor?

1c)Write down the nano command that will:

1d)Move to the beginning of the line.

1e)Move to the end of the line.

1f)Move back one page.

1g)Cut selected text.

1h)Exit nano.

1i)Name two other common Unix text editors besides pico/nano.

2a) Display the absolute path of your home directory.

2b) Create a new subdirectory called COP3353-temp in your home directory.

2c) Create a new subdirectory called assign1 in COP3353-temp.

2d) Create a new subdirectory called assign2 in COP3353-temp.

2e) Display the contents of the directory COP3353-temp.

2f) Delete the directory assign2.

2g) Display the contents of the directory COP3353-temp.

3a) Change your current working directory to COP3353-temp.

3b) Create a new subdirectory called assign2 in COP3353-temp.

3c) Create a new file called MyFile.txt using the touch command and insert two lines into the file.

The first line should be a sentence that tells me your favorite movie.

The second line should be a sentence that tells me your favorite food.

3d) Display the contents of the file MyFile.txt to the standard output (screen).

3e) Copy the file MyFile.txt to directory assign1 and rename it to t_1.txt.

3f) Change your working directory to assign1.

3g) Make a copy of t_1.txt with the name t_2.txt (in the same directory).

3h) Display the contents of the directory assign1.

3i) Copy the t_1.txt file to directory assign2.

3j) Display the contents of the directory assign2.

3k) Delete the file t_1.txt in the directory assign1.

3l) Display the contents of the directory assign1.

4a) Change your current working directory to COP3353-temp. (Stay in this directory for the rest of the steps in question 4)

4b) Create a new directory called assign3 in your working directory.

4c) Create 9 new files (in directory COP3353-temp) named as follows:

Test_1.txt Test_2.txt Test_1-1.txt Test_2-1.txt Test_1-2.xtxt Test_2-2.xtxt Test_1-1.bak Test_2-2.bak File_1.bat 

4d) Display a listing of all the files in the working directory.

4e) Display a listing of all the files ending in txt using one command.

4f) Display a listing of all the files ending in t using one command.

4g) Copy all the files containing "t_1" to the directory assign3 using one command.

4h) Display a listing of the contents of the directory assign3.

5a) Print the disk usage of directory COP3353-temp in bytes.

5b) Print the disk usage of the directory and all its files.

5c) Print the newline count, the byte count, and the longest line length for the file MyFile.txt in the directory COP3353-temp.

5d) Print the current date using the default format.

5e) Print the current date in the format mm/dd/yy

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

Students also viewed these Databases questions