c program (linux): get command line output to a variable and filter data
location: linuxexchange.com - date: August 17, 2012
i have a c program that runs following command:
system("sudo grep '' /sys/class/dmi/id/board_*")
and give output on command line.
I want the output to be stored in some variable in c program, so that i can filter board_serial.
How to get command line from Linux TV box
location: ubuntuforums.com - date: September 11, 2011
This is a long shot
I have a TV PVR which runs on a Linux OS, annoyingly it runs a 'check disk' message at inconvenient times (I assume it is the fsck command).
There is no obvious way to get a command line on the device though I can access web addresses and get config details such as about:config etc
Anyone know any tricks that might get me a command window so that I can control various boot up options.
how to get HDD and SSD serial number in linux using command line
location: linuxquestions.com - date: May 14, 2014
I need to calculate an algorithm using linux HDD or SSD serial number.
How can i get HDD or SSD serial number in linux?
Need to access Linux Mint command line through Windows
location: linux.com - date: December 12, 2011
Hello. I made a big mistake. I was compiling Blender on my Linux Mint. Because some packages were not on the normal repositories. I played stupid (mainly because I was being lazy). And I add the debian.org's repository. Which was really really stupid. Because now, by default the repositories were of debian.org . So when an error prompted on the update manager I restart with the command line and I did sudo apt-get update (again I was being an idiot because those were unstable packages) And I basically switched it all to debian's repositories (I am the biggest douche on the world). So long story short I can't even login to the command line on my Mint (11 Katya). So I am on my second partition (with Windows). Posting this. What I need now is a command line on Windows so I can solve my problem. Thank you so much! *facepalm*
new to linux, exhaustive command line exercises
location: linuxquestions.com - date: February 8, 2006
I am trying to switch to linux, though it seems not so easy. at least as comfortable as with windows for day to day tasks regarding documents, pictures, sounds, videos etc.
first i want to get comfortable with commands. i see that general short guidelines found in many sections for configuration with command lines is not good enough for a newcomer.
I am looking for exhaustive excercises for checking various configurations to get to know the devices, command prompt better, without risking my system too much. (I installed Ubuntu on AMD Athelon 850MHz)
for example, just few lines over 'mount' command are not enough..
Can Linux get a virus?
location: ubuntuforums.com - date: May 17, 2009
I have never gotten a virus with Linux, but is it possible? I know every machine has 0.1% or more of chance of getting a virus, but is linux near the 0.1%?
Use Xming to access linux get log screen again after enter valid username and pawd
location: linuxquestions.com - date: June 9, 2009
Use Xming to access Mandriva get log screen again after enter valid username and pawd
[Log in to get rid of this advertisement]
From windows, I can launch Xming to show login screen of linux box. However, after I enter the valid username and password, I simply get a another login screen. I never able to see the linux desktop. I can use
ssh to login linux box and launch any X program correctly though.
Please let me know where to fix. Thanks a lot!
Email Client in Linux using command line only
location: linuxquestions.com - date: September 29, 2006
does anyone here know where I can get a small email client (SMTP) so that I can use the small application in my embedded linux? I want it to be small, without any GUI needed.
anybody who has an idea?
how to find max memory usage for process in Linux by command line
location: linuxquestions.com - date: May 31, 2007
Not with TOP command .
Any other way to find the which process is using maximum memory.
It will list that process only
Thanks in advance
Restart linux from command line
location: linuxquestions.com - date: February 3, 2003
I'm using redhat 7.1. I want to know if there's a way to restart the whole server from the command line. I'm sure there is, actually, and I'm sure it's easy. But I have no idea.
Page: 1 2 3 4 5 6 7 8 9 10