LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ls /dev
#7
Quote:As you can see I ran the code , I then inserted a USB stick and used up arrow on keyboard to reuse the same code and run it again, thus allowing for a comparison of before and after adding the USB stick.
It produced 2 new results the /dev/sdb and the /dev/sdb1 rather than the 1 new result I was expecting, why is this ?

[member=411]bitsnpcs[/member]  I'm not sure what you're trying to do, but it seems that you want to ls into a usb stick? if so, then I think the correct path would be run/media/bitsnpcs, like so:
Code:
$ ls /run/media/bitsnpcs
and then your usb stick should appear in the list just like mine - MOK - does as you can see in the image bellow. 

[Image: 10dh5k4.jpg]

You might want to read here: http://www.tldp.org/LDP/Linux-Filesystem...l/dev.html

Hope this helps! Smile
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply


Messages In This Thread
ls /dev - by bitsnpcs - 09-21-2018, 03:55 PM
Re: ls /dev - by Valtam - 09-21-2018, 04:46 PM
Re: ls /dev - by bitsnpcs - 09-21-2018, 04:49 PM
Re: ls /dev - by Valtam - 09-21-2018, 10:47 PM
Re: ls /dev - by supergamer - 09-22-2018, 01:34 AM
Re: ls /dev - by bitsnpcs - 09-22-2018, 01:52 AM
Re: ls /dev - by Moltke - 09-22-2018, 11:51 AM
Re: ls /dev - by bitsnpcs - 09-22-2018, 02:26 PM
Re: ls /dev - by Moltke - 09-22-2018, 08:10 PM
Re: ls /dev - by bitsnpcs - 09-23-2018, 01:07 AM
Re: ls /dev - by Moltke - 09-23-2018, 12:15 PM
Re: ls /dev - by trinidad - 09-23-2018, 03:31 PM
Re: ls /dev - by bitsnpcs - 09-23-2018, 05:57 PM
Re: ls /dev - by Moltke - 09-23-2018, 06:45 PM
Re: ls /dev - by Valtam - 09-23-2018, 06:53 PM
Re: ls /dev - by Moltke - 09-23-2018, 09:15 PM
Re: ls /dev - by bitsnpcs - 09-23-2018, 09:29 PM
Re: ls /dev - by firenice03 - 09-24-2018, 12:50 AM
Re: ls /dev - by Moltke - 09-24-2018, 03:32 AM

Forum Jump:


Users browsing this thread: 6 Guest(s)