I am trying to switch from Windows to Linux and I need a few answers. Please help.
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.
Maybe it lives in /usr/sbin/lspci, maybe you haven't that tool installed for some reason. The package is usually called something like pciutils, but that -of course- depends on your distro packagers. Simple as that.
Mmm, this has nothing to do with the current problem. The search $PATH is irrelevant when you provide the full path to the binary file, as in
Even a relative path would do, and the binary needn't be on a dir listed by $PATH in that case either.
Good point. You do need to have permission to access the "sbin" directory and read the file. I don't know enough about Linux to be sure what the usual permissions are for "sbin".
Well....I'm really pissed now.
The best of the best went from "guru" to "moderator". As far as I'm concerned, that's a total disgrace, this "moderator" title impairs reality.
Your comment doesn't make any sense to me, and this seems totally off-topic.
Various versions of Linux keep their distro/version information in differently named files; /etc/issue is used by several but not all.
@ayush.27 Which Linux distro are you using?
EDIT: ignore that question; ayush.27 was posting the answer as it was being written (and anishakaul was confident it was an ubuntu so /etc/issue was good anyway)
Just to let people know, I'm going to post my original problem again :
Quote:
I have a HP Pavillian Laptop. Intel Core 2 Duo @ 2 GHz. 4 GB RAM.
I've installed Kubuntu on my laptop. The biggest problem is that my laptop doesn't go into sleep mode. The screen goes off, but the system is still running. I mean you can hear the fan and everything. The sleep in Windows Vista is quite convenient. I just press a button, close the lid and I can later resume from where I left it. While in the sleep mode, the laptop appears to be "off". There's just one small light that keeps blinking.
I've tried the hibernate in Kubuntu. But that isn't satisfactory either. First of all, it takes forever to come out of the hibernate state. Secondly, it doesn't preserve the application state. For example, if I'm watching 45 minute flash video on google video. I have the entire video buffered. After watching half the video, I need to step out for a little while. I do the hibernate. After coming back, I can't resume watching from where I left it. I have to reload the video. This doesn't happen in the Vista sleep mode.
Various versions of Linux keep their distro/version information in differently named files; /etc/issue is used by several but not all.
....
(and anishakaul was confident it was an ubuntu so /etc/issue was good anyway)
"anishakaul" was not confident about Ubuntu but in fact she was thinking that the OP must be using some weird distros like andLinux
and IPCop
cat /etc/issue has been tested on both the above mentioned distros as well as on Suse, Ubuntu, Redhat !
A good illustration of which files contain distro+version id text on various distros is rkhunter's rkh_dat_get_os_info() function.
Mr. Catkin,
Thanks for the enlightenment !
But I couldn't find it in the "Yast" nor through "cnf" nor through "man". It needs to be installed separately (at least in OpenSuse). May be there is something wrong with my current installation.
Actually I couldn't find even "Kdevelop" there
Last edited by Aquarius_Girl; 08-21-2010 at 01:02 PM.
Reason: added info
I've tried the hibernate in Kubuntu. But that isn't satisfactory either. First of all, it takes forever to come out of the hibernate state. Secondly, it doesn't preserve the application state. For example, if I'm watching 45 minute flash video on google video. I have the entire video buffered. After watching half the video, I need to step out for a little while. I do the hibernate. After coming back, I can't resume watching from where I left it. I have to reload the video. This doesn't happen in the Vista sleep mode.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.