Results 1 to 6 of 6
Well the thing is everytime i plug in my pendrive in system ..
i have to copy paste a particular file into my folder to work on the terminal screen.
...
- 08-30-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 11
How to access pendrive using terminal
Well the thing is everytime i plug in my pendrive in system ..
i have to copy paste a particular file into my folder to work on the terminal screen.
I know it sounds ridiculous , but how do i access my pendrive files directly from my terminal screen.?
- 08-31-2009 #2
The pendrive should mount under /media. Mine shows up as LEXAR MEDIA, and since the command line will stop at the space, I put it in quotes like so:
cd /media/"LEXAR MEDIA"
or
ls -al /media/"LEXAR MEDIA"
- 08-31-2009 #3Linux Newbie
- Join Date
- Nov 2007
- Location
- Planet Earth
- Posts
- 152
Hi,
If there is no a 'media' folder (may be different in some distros) you can use the 'df' command to see the current mounted filesystems (disk usage actually)
HugoEOF
- 08-31-2009 #4Just Joined!
- Join Date
- Aug 2009
- Posts
- 11
In the GUI the pen drive shows up ..... but i want to access using the terminal screen.
for example in windows
the default drive will be like
C:\ (provided ur OS is installed in it )
but if i write
C:\ D: the drive changes . It becomes
D:\ and i can access all the files in that particular drive.
can i do something like that .....
- 08-31-2009 #5
udevmonitor
start udevmonitor command
root#udevmonitor
now insert pern drive, just check name device file for your pen drive (may be /dev/sdb1)
now mount it
root#mkdir /mnt/pendrive
root#mount -t vfat /dev/sdb1 /mnt/pendrive
here vfat is file system, i suppose pen drive formatted in windows
thnks
Say NO to Microsoft
- 08-31-2009 #6Just Joined!
- Join Date
- Aug 2009
- Posts
- 11
Well it worked ..
But wiithout the udevmonitor command.
Could u enlighten me on wat does that command particularly works.


Reply With Quote