Originally Posted by Torched-Geek
I can imagine linux shell...
Originally Posted by The Hundred Gunner
What are the basic commands in terminal for:
-Copying a file
-Pasting a file
-Deleting a file
-Moving a file
If you could provide an example for each, that would be most appreciated! Thanks
cp /home/user/TEST1.sh /media/usbdisk
cp -r /home/user/music /media/usbdisk
Originally Posted by FrankenPC
You talking about a linux shell? Or Microsoft Terminal services?
Originally Posted by dangerousHobo
You can type "man cp" in the terminal to find all of the available. options/flags.(press q to exit man pages) Link
works just like copy. link
"man rm" for for info. Link
basic use "rm /home/user/screenshot.jpg"
or to remove a folder and everything in it "rm -R /home/user/notes"
"man paste" for more info. Link
Originally Posted by ouroboros1827
mv MOVES the file. So: 'mv essay.odt ./school/' will move the file essay.odt into the folder school. After this command, there will be only ONE copy of the file, and it will be in the folder school.
When deleting directories on the command line, you'll find it doesn't like to delete directories when they're not empty. I recommend using Nautilus/Konqueror to mess with that stuff...
So cp is the copy-paste
mv is the cut-paste
rm is the delete.
That explain it?