You are Here:
Linux Lite 4.0 Final has been released. See the Release Announcements Section.




Recent Posts

Pages: [1] 2 3 ... 10
1
Scripting and Bash / Re: ls /dev
« Last post by bitsnpcs on Today at 10:26:43 AM »
I'm not sure what you're trying to do, but it seems that you want to ls into a usb stick?
Hope this helps! :)
@Moltke thank you  :) I have read the info on the link you gave me, it was helpful.

The answer by @supergamer is what I needed to know, I cannot mark things solved in this section of forum.

I am not trying to do something at this stage, just experimenting.

What I was curious about, my motivation, was how a GUI only displays the most recently mounted storage device, as the output option field, or how to make a GUI do this.
and
if I could use this command ls /dev/sd* by attaching it to a button in a GUI to achieve similar type of result.

I understand from @supergamer explanation why this did not work in the way I expected, and I also learned some new and useful information on the structure and use from you both. :)
2
Scripting and Bash / Re: ls /dev
« Last post by Moltke on Today at 07:51:34 AM »
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 ?

@bitsnpcs  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: [Select]
$ 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. 



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

Hope this helps! :)
3
I'm still following this. Are you on the Italian or German end of this connection? The 169 address is a Windows ad hoc service address. It won't pass every protocol.

TC
"ip rout show" outuput:
This is the output of console vps in Italy i.imgur.com/zJRXjIP.png and this is his ip 185.xx.xxx.xxx; This the output of dedicated server in germany i.imgur.com/jiFHFFL.png and his ip is 148.251.127.xx; These are the command i.imgur.com/hoOn7cE.png i tried with another guide https://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.tunnel.gre.html, if I have understood well the guide then they have not worked. @trinidad
4
Other / Re: Timeshift restore
« Last post by TMG1961 on Today at 05:16:19 AM »
Will do that.
5
Installing Software / Update error: File unexpected size
« Last post by thoughtinstinct on Today at 04:57:40 AM »
Hi


I did an update 2 days ago and shut down laptop after although it was asking for a restart after update. On starting computer yesterday it booted directly to the screen where i was to chose boot options and stuff but all worked well afterwards. Tried an update today and seems not to be working, please see error log below


Code: [Select]
===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.linuxliteos.com/forums/ and paste the log below into a new or existing thread for assistance.


============ Log ===========


Hit:1 http://archive.canonical.com/ubuntu bionic InRelease
Hit:2 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Get:3 https://repo.skype.com/deb stable InRelease [4 487 B]
Hit:4 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu bionic InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Get:8 https://download.sublimetext.com apt/stable/ InRelease [2 562 B]
Get:9 https://repo.skype.com/deb stable/main amd64 Packages [2 475 B]
Err:9 https://repo.skype.com/deb stable/main amd64 Packages
  File has unexpected size (2248 != 2475). Mirror sync in progress? [IP: 2.20.73.42 443]
  Hashes of expected file:
   - Filesize:2475 [weak]
   - SHA512:dc177d46272531b00bb2a40be46bdf7d9cf8420707528ac7f8ee5dc6f4957201337152c30b3f9cda86d847fa628299de30db87fd00644c12a9402e06e7999d4e
   - SHA256:cc855650be0533bd6f97f9db783864f3553a973d9418d92b0bf112609874b1d8
   - SHA1:32467cb1d7c892531c875a9d00da35cc2a3e541a [weak]
   - MD5Sum:737e940e3617ff841675feade9f744e4 [weak]
  Release file created at: Sat, 22 Sep 2018 08:36:19 +0000
Get:10 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:12 https://download.sublimetext.com apt/stable/ Packages [967 B]
Get:13 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [328 kB]
Hit:14 http://repo.linuxliteos.com/linuxlite diamond InRelease
Get:15 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [292 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [199 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [199 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [2 852 B]
Get:19 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [2 848 B]
Fetched 1 278 kB in 2s (558 kB/s)
Reading package lists...
E: Failed to fetch https://repo.skype.com/deb/dists/stable/main/binary-amd64/Packages.bz2  File has unexpected size (2248 != 2475). Mirror sync in progress? [IP: 2.20.73.42 443]
   Hashes of expected file:
    - Filesize:2475 [weak]
    - SHA512:dc177d46272531b00bb2a40be46bdf7d9cf8420707528ac7f8ee5dc6f4957201337152c30b3f9cda86d847fa628299de30db87fd00644c12a9402e06e7999d4e
    - SHA256:cc855650be0533bd6f97f9db783864f3553a973d9418d92b0bf112609874b1d8
    - SHA1:32467cb1d7c892531c875a9d00da35cc2a3e541a [weak]
    - MD5Sum:737e940e3617ff841675feade9f744e4 [weak]
   Release file created at: Sat, 22 Sep 2018 08:36:19 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
6
Other / Re: Timeshift restore
« Last post by Jerry on Today at 04:53:08 AM »
Might pay to report this to the Timneshift devs.
7
Other / Timeshift restore
« Last post by TMG1961 on Today at 03:41:28 AM »

I got a problem with timeshift. I did a restore and no errors during the restore itself. But when the laptop booted after the restore i got the following message.
Pressing ctrl-d didnt work, the password i entered wasnt accepteted and a hard reboot didnt work either, just got the same screen back. I ended up having to do a complete fresh install.
Anyone have an idea what is causing this, because at the moment timeshift doesnt work for me.


This is the message:




8
Video Cards / Re: [SOLVED] Screen resolution issue
« Last post by firenice03 on September 21, 2018, 10:05:35 PM »
Hey wow, That link really helped and it worked on the first try. Thank you so much.
Glad to hear you got it figured out!!!

 ;D ;D ;D
9
Scripting and Bash / Re: ls /dev
« Last post by bitsnpcs on September 21, 2018, 09:52:10 PM »
Thank You @supergamer  :) for explaining .


10
Scripting and Bash / Re: ls /dev
« Last post by supergamer on September 21, 2018, 09:34:13 PM »
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 ?



My understanding on why the 2 new devices might be rudimentary but it is how I keep things straight.


In the /dev folder it shows the devices as well as the partitions (partitions being treated as a devices also). So you see the /dev/sda (device) and the /dev/sda1 (partition) as well as the new devices like the new usb device which is /dev/sdb (device) and the partition /dev/sdb1 (partition)
Pages: [1] 2 3 ... 10

Linux Lite 4.0 Final has been released. See the Release Announcements Section.