Question
In unix/Linux

Assume you have a subdirectory named dotofiles directly under your current working directory, and you have two files nomed da
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Ans

cp data1 data2 /datafiles

cp command is for copying

data1 and data2 are files to be copied

/datafiles is the relative path of final destination for the files to be pasted.

Add a comment
Know the answer?
Add Answer to:
In unix/Linux Assume you have a subdirectory named dotofiles directly under your current working directory, and...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • In unix assume text1, text2, text 3 are three files in your current working directory, the...

    In unix assume text1, text2, text 3 are three files in your current working directory, the following command is valid cat text1 text 2 text 3 true or false?

  • Unix/Linux The purpose of this lab is to practice the commands to manage and organize files...

    Unix/Linux The purpose of this lab is to practice the commands to manage and organize files and directories: How would one go about this? Thanks. Task 1: Preliminaries: 1) If you have not already done so, create a directory called bin under your HOME directory. 2) If you have not already made a copy (using ftp) of the file called famous.dat from the Assignment#1, do that now. 3) Make bin the active/working directory. Task 2: Perform all of the following...

  • Manipulate directory structures in Unix/Linux Use the OS that you set up from Question 1. Assume...

    Manipulate directory structures in Unix/Linux Use the OS that you set up from Question 1. Assume you are started at your home directory. Perform a command that displays the absolute path of your home directory (your current location). Create a new directory inside your home directory and name it “Assignment-3” Without moving into the directory you just made (staying in your home directory), create two new directories using one command inside of the Assignment-3 directory, and name them Test1 and...

  • Question 2: Manipulate directory structures in Unix/Linux (24 marks – 4 marks each) Use the OS...

    Question 2: Manipulate directory structures in Unix/Linux (24 marks – 4 marks each) Use the OS that you set up from Question 1. Assume you are started at your home directory. a) Perform a command that displays the absolute path of your home directory (your current location). b) Create a new directory inside your home directory and name it “Assignment-Two” c) Without moving into the directory you just made (staying in your home directory), create three new directories using one...

  • Open Command Prompt typing CMD command in your Search window. Change the directory from current to...

    Open Command Prompt typing CMD command in your Search window. Change the directory from current to root (C:). Make a new directory called CIS165_Your Last Name (example: CIS165_Nossa). Within this directory, make subdirectories called Can1 and Can2. Verify the created directory and subdirectories using particular command. Under Can1 subdirectory creates three files called Jam.txt, Milk.txt and Juice.txt. Verify that you created these files using particular command. Move Jam.txt file from the Can1 subdirectory to the Can2 folder. Compare using special...

  • In Unix - Devise a system which allows you to use an alias named "current" to...

    In Unix - Devise a system which allows you to use an alias named "current" to display recursively only the ordinary files in the current directory tree which have been modified since you logged in.

  • LINUX QUESTIONS (dont have to display output, I will be running these commands myself to check...

    LINUX QUESTIONS (dont have to display output, I will be running these commands myself to check the output) Display the command(s) used to do the following: create an empty file called history by using just a redirection operator. Verify and show. Show/verify all results (i.e., all commands and their corresponding outputs). Wait 1 minute or more and then display the command(s) used to do the following: change the timestamp on the history file you just created. Verify/display the change. Show/verify...

  • Linux / Unix: Please explain in details if you can. Thanks. Write find commands for the...

    Linux / Unix: Please explain in details if you can. Thanks. Write find commands for the following. No need to submit execution output. 3. To find all files from current directory that have not been modified in the past three days 4. To find all files from /bin that are owned by root 5. To find all files from /etc that have the inode number 87539084

  • 4. (15%) Show the commands you would use change the current working directory from student’s home...

    4. (15%) Show the commands you would use change the current working directory from student’s home directory: /home/student to the student’s apache web directory:/var/www/student using: a. (5%) A series of relative commands b. (5%) A single relative command c. (5%) A single absolute command 5. (20%) Suppose you are presently in the /home/student folder and you wish to copy a file (file3.jpg) from the /home/seed/pics directory to your current directory. Provide two sets of copy commands to accomplish your goal:...

  • Login to Suse Linux as root. Complete the task working as the root user. 1. What...

    Login to Suse Linux as root. Complete the task working as the root user. 1. What is your current directory. What did you enter at the command prompt to determine your current working directory? 2. Change directories if needed to find your foods (or food) file. Use vi to make the file contain 10 food items. Save your file and quit. Use the cat command, and option, and the argument food to display the food file with numbered lines. Use...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT