I had opened a Pen-Drive in my system and I thought to open my Pen-Drive from terminal and copy the needed file from system to Pen-Drive from terminal only. But I was wondering how I can do that. Can you please suggest me procedure for doing the same?
Asked
Active
Viewed 2,859 times
1 Answers
0
Actually all mounted devices including system partitions will be in a directory named as media.
Open your terminal and type the following one after one
cd /
cd media
There you can find your partitions including your Pen-Drive or USB device.
Next with cp command you can copy and paste the data from Pen-Drive to system and vice-versa.
Syntax:
cp <source-path> <destination-path>
Raja G
- 105,327
- 107
- 262
- 331