Question

Linuxzoo Tutorial 2 Question 6: cp Make the directory work your current directory and using an...

Linuxzoo

Tutorial 2

Question 6: cp Make the directory work your current directory and using an absolute path name, copy the file 'bigfile2' in the tutorial directory to the scripts directory.

Homework Answers

Answer #1

First command to naviaget to work directory to make it current directory:

cd /path to work directory // this will take your terminal to work directory ( if your work directory is in the root directory then the absolute command will be : cd ~/work )

2. Next copying the file bigfile2

cp source destination

cp /path to bigfile2/bigfile2 /path to script directory [ie: cp ~/tutorial/bigfile2 ~/scripts, here tutorial is directory and scripts is a directory, and ~ is absolute path to those directory, and this command will copy the file named bigfile2 from tutorial directory to scripts directory. ]

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Lab of operating system: please use the linux server please so all the commands used and...
Lab of operating system: please use the linux server please so all the commands used and the output PROBLEM 1: Create a file and name it f1 • Cerate a directory and name it d1 • Move f1 to d1 • Create a directory and name it d2 • Move d1 to d2 • Check if d1 is inside d2 • Check if f1 is inside d1 • While your (Current Working Directory) CWD is d1, move back f1 to...
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /  ...
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /   command to review the contents of the / directory Review the Linux Filesystem Standard (FSSTD) and document the following directories’ contents / ------- |--bin |--boot               |--dev               |--etc |--home               |--lib               |--mnt               |--opt               |--root               |--sbin               |--tmp               |--usr               |--var 3. use the cd etc  OR cd /etc  to change your default directory to the etc directory 4. use the...
Using a PowerShell cmdlet (non-alias), pipe the contents of your current directory into a Where-Object search...
Using a PowerShell cmdlet (non-alias), pipe the contents of your current directory into a Where-Object search to find a file or group of files by partial or full filename. (Suggestion: Use part or all of a filename to filter everything else out of a directory listing. It’s much easier to test by looking for a file that really exists) POWERSHELL PLEASE!
NOTE: I just need the answer for question 5 and 6. I already knew the question...
NOTE: I just need the answer for question 5 and 6. I already knew the question 1-4, and wrote down all the requirements for clarification. In this assignment, you are required to write a Bash script, call it assignment2.sh. Your Bash script has to accept at least four input arguments, and must: 1) Print to the user a set of instructions explaining how the PATH variable can be used in Bash. 2) Save the manual of the 'awk' command in...
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and...
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and the output in a word document and submit it. Part1: 1. Log in to Linux using your user account name and password. 2. If you logged in using a graphical login screen, open a terminal window by clicking on the icon in the lower left corner of the desktop to open the main menu, then selecting System Tools, then Terminal. A terminal window opens....
The c++ question: Assume that there is a valid file cards.txt in the current directory which...
The c++ question: Assume that there is a valid file cards.txt in the current directory which contains 5 valid int values, each on its own line. Write a function which reads all the values from the file and prints out the message “Lucky 7!” to the screen for every 7 it sees. Your function must have the following signature: void printSevens();
Question 2 (7 marks) (Note this question is from the Week 6 Tutorial) Within the context...
Question 2 (Note this question is from the Week 6 Tutorial) Within the context of services provided by a stockbroker, discuss the two (2) main types of stockbrokers that an investor may choose to use. In your response, differentiate between the services provided by these two (2) types of stockbrokers. (7 marks. Word limit Maximum 500 words)
Write Linux command lines to do the following: 1. Create a directory with name “yourName_ID” 2....
Write Linux command lines to do the following: 1. Create a directory with name “yourName_ID” 2. Create a file with name “yourLastName.txt” inside the directory created in step.1 3. Write inside the created file exactly the following content (you may use editors such as vim, pico, ….): Linux Lab Lab. ToDo#1 Summer Semester 2019/2020# 4. Display the first 2 lines of the file. 5. Change the permission of the file to read write and execute for owner, groups and others....
Here is your chance to be creative. Craft your own shell script that has 6 different...
Here is your chance to be creative. Craft your own shell script that has 6 different actions. For example, listing the current directory would be one, displaying the date to STDOUT would be a second. You do not get to use those examples, so make up your own. Copy your script here and submit a screenshot of the executed script from a terminal window.
Time: 10 minutes Objective: Create, view and extract tar archives. Description:  In this activity, the student will...
Time: 10 minutes Objective: Create, view and extract tar archives. Description:  In this activity, the student will use the tar utility to create, view, and extract a tar archive and use it options to name the tar file and view files as they are being archived and extracted. 1.     Start your Linux server virtual machine and sign-on with your individual user ID.  All Activities should begin in your home directory. 2.    Create a directory by typing  mkdir Act6-1 and press Enter.  Switch to this new directory...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT