Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Find if the following command is built-in, alias or a UNIX command. How did you find it? If a command is an alias, what is
- Find if the following command is built-in, alias or a UNIX command. How did you find it? If a command is an alias, what is it set to?
- which
- ifconfig
- find
- paste
- wc
- Get familiar with nano. Write down the nano command that will:
- Move to the beginning of the line.
- Move to the end of the line.
- Move back one page.
- Cut selected text.
- Write to a file.
- Exit nano.
- Manipulate directory structures:
- Display the absolute path of your home directory.
- Create a new subdirectory called comp145-temp in your home directory.
- Create a new subdirectory called assign1 in comp145-temp.
- Create a new subdirectory called assign2 in comp145-temp.
- Display the contents of the directory comp145-temp.
- Delete the directory assign2.
- Display the contents of the directory comp145-temp.
- Manipulate files:
- Change your current working directory to comp145-temp.
- Create a new subdirectory called assign2 in comp145-temp.
- 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.
- Display the contents of the file MyFile.txt to the standard output (screen).
- Copy the file MyFile.txt to directory assign1 and rename it to t_1.txt.
- Change your working directory to assign1.
- Make a copy of t_1.txt with the name t_2.txt (in the same directory).
- Display the contents of the directory assign1.
- Copy the t_1.txt file to directory assign2.
- Display the contents of the directory assign2.
- Delete the file t_1.txt in the directory assign1.
- Display the contents of the directory assign1.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started