Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to configure 'Liquid Weather' on the desktop. So far I have some things that are showing ok. When I try and edit the script I have got a bit stuck, the following files when I look in my root dir seem to be in a different place to where the script indicates.
mountpoint /home /mnt/hda1 hdb
also can't find
networks eth0 /sbin/ip addr show eth0
My questions is if - when I find these files, should I copy them to the location of 'Liquid Weather' to get it to run.
Could you please post a copy of (parts of) the script, and point at the faulty line(s)?
Quote:
when I find these files
Exactly which files? `mountpoint /home /mnt/hda1 hdb'?
There probably is no file called `mountpoint'--that's just the technical term for `the directory in which you mount <foo>' (= "foo's mountpoint").
now `hdb' is probably only the correct path to the file you want if you're in /dev;
but having /dev/hda1 mount at /home -- that makes sense.
Unfortunately I don't have the context--so please post the script as I said.
I need to enter the correct details for this script but cannot find where they are on my system, and also if I find where they are, what do I do next.
Could you try to state clearly:
1) What you're trying to do--seen both from a user's POV and from a programmers POV.
2) How you're trying to do it.
3) What the exact problem is.
It's a bit difficult for me to explain so please bear with me.
# I have installed 'Liquid Weather' on the desktop ok but some of the figures do not correspond to what I have on my system. So I would like to edit the scipt so that it will show the correct figures.
At the moment it indicates that /home has 422mb/1%
/hda1 has 0 mb/0%
/hdb has 0 mb/0%
The newwork configuration has Down: 0 kb/s
Up: 0 kb/s
IP:
Firstly I would like to find out where and what /hda I have on my system
Second I would like to be able to enter my IP address, but don't know where to find it.
If I find answers to the above questions, what do I have to do if the file is in the wrong place
# I hope the above makes some sense to you so please forgive my ignorance.
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 5.8G 2.5G 3.0G 46% /
/dev/hda6 106G 425M 106G 1% /home
Here is the output of $show ip addr
$No such command
Now that I have the info about the /dev/hda1 and /dev/hda6 how can I find the address( or place ) where these are kept. When I find that info, do I insert that in the script.
#
Have tried entering several different combinations of the $show ip addr but still cannot get any info on that.
Maybe you might have another suggestion.
Thanks again for your help - just sorry that I am painfully slow in picking things up
Thanks again Jonas for your reply. Still not able to solve this problem so have decided to start again.
Many thanks for your time and attention, much appreciated. Good Luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.