Hi All, In this section I will be explaining how to access files that are available in USB/pen-drive through UNIX/LINUX command prompt.
First of all login as a root user.
STEP1:
We have to create a mount point, for this execute the below command
#mkdir -p /mnt/pen
STEP2:
Now we should mount the disk, for that run the mount command.
#mount /dev/sda1 /mnt/pen
This command will mount files to the targeted location.
After that use regular commands to list /mnt/pen
#ls /mnt/pen
First of all login as a root user.
STEP1:
We have to create a mount point, for this execute the below command
#mkdir -p /mnt/pen
STEP2:
Now we should mount the disk, for that run the mount command.
#mount /dev/sda1 /mnt/pen
This command will mount files to the targeted location.
After that use regular commands to list /mnt/pen
#ls /mnt/pen
No comments:
Post a Comment