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.
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. ]
Get Answers For Free
Most questions answered within 1 hours.