General :: Command To Find Out Hardware Info?
Jun 29, 2011I need to find out hardware information for the below items under Linux:
CPU (and cores)
CPU speed
Memory
Hard disks
OS version
I need to find out hardware information for the below items under Linux:
CPU (and cores)
CPU speed
Memory
Hard disks
OS version
i'm trying to setup my server box.. it's being setup as a web server, file server, and setup for me to be able to access it remotely (aka i do pc repair for windows users and it'd be nice to just know where ALL of my software tools are and get to them from there)anyways.. these things are almost all setup right now.. but the one thing i'm having issues with.. is the fact that this box does have 2 hard drives in it and i want to use both of them.. now i'm running straight command line and i can't find the info i need to reformat the second HDD (which is currently NTFS formated) and use it in this system... i'm running 9.04 as a server.. NO GUI INSTALLED! i need this with straight command line...What do i need to look for to figure this out? i'm having trouble figuring this out and it's really getting annoying..
View 5 Replies View RelatedFrom a linux host, how can I find information about a lun that has been exported. For example, if I have 3 100G luns available via FC. How can I tell which is which? I've looked at fdisk, /proc/scsi/scsi, /sys, lscsi, sg3_utils. So If I want to destroy one of these luns, how can I find out how to identify it on the san device? 2.6 kernel. Not looking for something distro specific, but i have a mix of rhel5 and sles.
View 1 Replies View RelatedWhen I an in Emacs, I want to call info pages like in terminal. E.g., info date will call the date info page, but when I in Emacs, I can only use M-x info call the complete info pages, but I only want to see the date info page. Then which command I should execute in emacs.
View 4 Replies View RelatedWhat commands would someone use if they wanted to see their group priveledges, like if they were in a super user group or various groups.
View 1 Replies View RelatedI am trying to find a linux cmd line utility that will read info from an iso file. The problem I have is that the file is always corrupt so I cannot mount it because I only have around 100k of it but all I need is to extract the headers of what the iso contains. how I can achieve this I have searched the internet with no look at all.
View 1 Replies View RelatedI have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following
more /etc/inet/file.example1
182.23.2.4
255.255.0.0
10.10.1.1
I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:
wc `find . ( -name "*.as" -o -name "*.mxml" ) -exec grep -H HeightResizableList {}` ;
Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.
View 2 Replies View RelatedI know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"
View 1 Replies View Relatedam new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.
View 14 Replies View RelatedI am trying to compile some thing on a remote machine, need to know following infomation:
1. machine:
2. CPU type:
3. Operation system:
4. Fortran compiler:
5. C compiler:
Where do I look?
How can I figure out what is using my bandwidth? (command line or otherwise).
View 3 Replies View RelatedI have been comileing that kinect hack with the 3d video capture. i did everything, calibrated cameras and everything else but when i try to open the final program (KinectViewer) i get back this error: Caught exception Misc::File: Error opening file CameraCalibrationMatrices-B00363201643043B.dat in mode rb. From what ive gathered off the web it is not opening it because its in binaly mode or something to that affect. any tips to fix it? is there a way to change what mode im in?
View 2 Replies View RelatedI was wondering if there's any resource that explains how to use w3m. I checked the man page but this just lists the startup options. I also did some google searches but couldn't find anything useful. I was able to find bits and pieces of info on different sites (e.g. how to enter a URL, how to go back a page, etc.) but there was no site that had all this sort of information in one place.
View 1 Replies View RelatedI am very new to Linux and am taking a class on Introduction to Linux, but I am not familiar with Command Script. Can anyone direct me to a place where I can find more info (for a two year old) on command script programming? I want to be able to understand what it all means.
View 7 Replies View RelatedI'm using CentOS 5.4 x86_64 on my Dell Inspiron 1440. Is there any way I can get information about the battery(charge) through command line without X server.
View 1 Replies View RelatedBanshee can't find any information about track or artist with a CD in the drive. She can play it and rip without error just no info... I have had a good look about the menu's and can not find any way of changing the site where it gets the info from.
View 4 Replies View RelatedI have an issue when running the phpinfo() command on a webpage. Occasionally the Default timezone setting shows 'utc', at others it show 'Europe/Berlin'. To prove I'm not going mad I screen captured a short video of the display changing while all I was doing was pressing F5.
The system is set to a European timezone i.e. both date and hwclock commands show 'CET'. There was an update to the Debian tzdata package which I installed at the beginning of February 2010. I'm not aware of there being a problem before that but I could be wrong about that.
I have searched all over. I cannot find any info on the description of the Fedora mirror release directory structure and the reason for having a "Fedora" and "Everything" directory? Yes I looked at [URL] I mostly work with the Red Hat 5.x. The Fedora release software is kept on a mirror and the DVD release as, (using i386 release):
[Code]....
Now I am use Xfce4,some window's tittle are different from the running commands!
So I hope to know which command can do like FvwmIdent !
How to get info (length, etc.) about music files in command line? Nautilus can show it on the file's Properties > Audio tab.
View 2 Replies View RelatedI've been searching high and low for a solution to my problem, and have not had much luck as to yet!The situation is: I have two files containing bits of info that both need to be included in a single command, such as a for loop, but as separate elements. What I need to do is basically this:Code:ssh <servers in list a> ls -la | grep <items in list b>Does anyone have any thoughts on how I might do this? Is it possible to do using bash scripting alone?
View 3 Replies View RelatedI cannot install Kubuntu 8.04LTS. When I run the Live CD and click to install it gets me the box that should show me my hard drives and possible partitions but the box is empty. I get the same when booting to the Live CD and clicking on install. I have had this CD since Kubuntu 8.04 was released. So not knowing what might be wrong I figure I will ask here for what to type in a command line to install it. I know it is an old version but it is the last one with KDE 3.5.
View 7 Replies View RelatedI want to scan a particular directory recursively and run a particular command with each file as input. For this I am using "find /dir/path". I dont want to write any long script containing loop on the output of "find". I want a single command which will allow me to run a command on each file of the "find" command output.
View 3 Replies View RelatedWhen I run find command with exec option, it just hangs on me. what am I doing wrong?
find /stdlist -type d -mtime 0 -exec cp -r {} joblogs ;
#!/bin/shLOOK_FOR="NTLMAuthenticationFilter"for i in `find ./ -name "*jar"`doecho "Looking in $i ..."grepjar -e $LOOK_FOR $idoneI wrote the script above, and try to find if there any file name LOOK_FOR exist in those jar,my quest is: grepjar -e $LOOK_FOR $ihere how can I check if there are any successful result , and output them ?
View 2 Replies View RelatedWhat is the difference between *.xml and *.xml in find command in Linux/macThe results of:find . -name *.xml and find . -name *.xml are different. But why?Also, is locate '*.xml' better than find? Which one is the most commonly used?
View 1 Replies View RelatedI've got a script where I have to parse out the last modified time for a large amount of files. Piping the output for "ls" into "cut" seems to work most of the time, but the output is unpredictable.The "fields" argument doesn't find the date modified columns consistently, and using character count is as well since the output can vary in width depending on the file name
View 3 Replies View RelatedI want to know the command which will list the local users created by me not system users.
View 6 Replies View Related