General :: Identify Machine And Raid Version With Command Line

Mar 14, 2011

Is there a way to identify the machine (I believe it's an HP), the information on the type and size of drives it uses, and what version of RAID it has through command line?

View 3 Replies


ADVERTISEMENT

General :: Identify File Types - Command Line Arguments - And Count - How Many Of Them Are Regular Files

Feb 20, 2010

Write a script that will take a list of filenames as arguments and output a count of how many of them are regular files, and how many of them are scripts (if the file is executable, it will be assumed to be a script file)

Counts always come back as 0

View 5 Replies View Related

Ubuntu :: Identify System's Motherboard From The Command Line?

Jan 12, 2010

How can I identify my system's motherboard from the command line?

View 5 Replies View Related

General :: Command Line - Trying To Cleanse Log Files On A Machine - Currently Using Sed

Feb 21, 2011

I have a large amount of log files that I need to remove sensitive data from. The sensitive data is provided to me in a text file and is prone to change. I had hoped to do the equivalent of this:

[Code]....

The commented out egrep works fine, the sed doesn't. Am I right to use sed for this? Or is there a more apt route to take?

View 2 Replies View Related

General :: How To Identify Red Hat Version

Jul 18, 2011

I have a Red Hat Linux system that does not boot. The boot partition is damaged and files cannot be recovered.

I would like to know how to find out which version of Red Hat was installed from the program/data partition which is undamaged and accessible from Fedora Live CD. I assume this is available in a configuration file somewhere.

View 2 Replies View Related

General :: Focus On Command Line Machine System, Network Basics, And File Management Knowledge?

Feb 17, 2011

As a strategy for learning linux I have decided to adopt using a lean windows based approach. I want to focus on command line machine system, network basics, and file management knowledge. In other words find out how desktop manager does it's business, so I know how to master my machine, but by and large once I have made my choices, leave it alone to do just that.

I figure I should know how applications are internally configured etc., but I also figure an apps GUI and config choices should take care of installations, and program usage as in M$ windows. Surely taking care of an applications dependencies are the responsibility of the developer, are they not?

I am working my way through "Rute User's Tutorial and Exposition (Version 1.0.0)" right now for an overall viewpoint. Can anyone suggest a specific source for a point by point explanation of the command basis of a generalised "desktop management" application (KDE,LXDE)? Better yet would be if it had some parallel comparison of the varied approaches taken by different distributions of linux.

A secondary question, is that allowed? Up to a certain point in Ms windows, a thorough knowledge of DOS 6.xx would theoreticaly enable one to more or less duplicate the actions of the windows overlay. Is there a basic distribution (or subset in all of them maybe?) of linux that would be consistent with that paradigm? What would be analogous to DOS batch files, or GM-Basic? Oh! that's 3.I am certainly appreciating the depth of this forum, and the breadth of knowledge among you forumite's. Reading it is time well spent.

View 7 Replies View Related

General :: How To Identify Current CPU In A Parallel Machine

Sep 1, 2010

I do not know much about parallel computing, but I do have access to a few cpus.I am trying to write a program compatible for multiple cpus, but to do it, I need to ensure unique directories. I have figured out that the time of creation, process id, and cpu id form a unique combination I can use to name files (up to the degree of accuracy of the internal timer).Anyway, I am using perl. I know how to find the process id and I know I can get the time pretty easily, but as I said, I do not know much about hardware or parallel computing. All I need is a way to identify each cpu in the system and I am set for half of my program (the other half is significantly more straightforward and is mainly about text parsing.)

So anyway using terminal, perl, etc., I could access this identification? Or could someone at least tell me the name of what I am looking for? I have seen the words "ip" "MAC" "hostid" and a bunch of other "id" things come up in my googling, but I really cannot figure out which is the one relevent to me

View 6 Replies View Related

Fedora :: Access Machine In Command Line Mode

Apr 16, 2011

my fedora 14 did an automatic update tonight and on reboot it hangs displaying the "f" before the login in menu. The "f" is how I now feel.I do "fn+f2" as it is booting and it displays the sequence of loading items which report all is "ok" until it gets to "jexec services" and then it hangs.I do not know how to access the machine in command line mode and I am not sure what to do from here. I beleive the "jexec service" is a Sun Java item but I am not sure.

View 2 Replies View Related

Ubuntu :: Set Domain/machine Name From The Terminal Command Line?

Mar 16, 2011

I have both desktop and notebook with Ubuntu 10.10.In the desktop, net domain correctly displays domain and server name, but in the notebook both appear as blank. Maybe that's the reason why I can't see the shares in the desktop from the notebook.How do I set the domain and machine name from the terminal command line?

View 2 Replies View Related

Ubuntu Installation :: Force A Package Version Via Command Line?

May 19, 2010

I have the suspicion that the latest gdm update (2.28.1-0ubuntu2.2) broke something because the login screen isn't displayed anymore on my desktop. My question is the following:How can I revert an update or force a package version via command line? It's pretty straight forward via Synaptic but I only have access to the recovery command line so that is not really an option.

View 1 Replies View Related

Ubuntu Installation :: Dual-boot On A RAID-0 Array - Drops To GRUB Command Line?

May 28, 2011

I've recently had trouble reinstalling my Ubuntu system as I was getting various unusual errors as described in my old thread here. I thought it was probably something to do with my RAID-0 array which was pre-installed on my laptop from purchase being corrupted or something like that (if it's possible). I decided to simplify things for myself (not understanding RAID arrays much) so I just removed the RAID array and installed Windows and Ubuntu on the now separate hard disks. It worked fine.

I noticed quite a significant performance drop, however, with even Ubuntu boots taking longer than 30 seconds despite my laptop being both high-spec and only a few months old. Windows, as you can imagine, was dreadfully slow. I wasn't entirely convinced that this was entirely due to the loss of the RAID array - as even low-spec laptops with presumably no RAID arrays are supposed to boot Ubuntu in under 30 seconds apparently - but I read that RAID-0 arra

View 8 Replies View Related

General :: How To Identify Raid Degrade Process / How To Rebuilt Process

Jun 12, 2010

send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.

View 4 Replies View Related

General :: Transform A File On 1st Machine With A Tool On 2nd Machine In One Line Over Ssh?

Jul 14, 2011

I have some file tools on a mint machine that I would rather not install on my mac laptop. Mainly because of the vastness of apt-get and the low risk of installation failure. Anyway, every so often I have a file that I want to process in place using some remote tool. Both machines can ssh right in to each other so I was figuring there must be some script or tool out there that would allow me to type out something like remote [file] [tool & args] to send my file to the other machine, get it processed, then get it back.

View 4 Replies View Related

Ubuntu :: CLI Version Of 10.04 - When Rebooted The Command-line Login Would Not Accept My Password

Jun 8, 2010

I have an old PC (130mb RAM, 6gb hard drive).

I installed a command-line version of Ubuntu 10.04 using the Alternate CD. The machine was wiped, and I used most of the default settings.

I used a thirteen character user id which consisted of mixed case letters and numbers, and an eighteen character password that contains mixed case letters and numbers and a # sign.

When I rebooted, the command-line login would not accept my password. I assumed I had somehow made a mistake, and just wiped the machine again and reinstalled. This time I was very careful with the user name/pw.

Again, the command-line login did not accept my password!

On a hunch, I took an old Ubuntu 7.10 Alternate CD and erased the machine again. I installed a command-line version of Ubuntu. AGAIN --- it will not accept my password even though I'm 100% sure it is correct.

View 2 Replies View Related

General :: Identify File System Type From The Output Of Fdisk Command?

Nov 16, 2010

The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)

[code]...

View 2 Replies View Related

Ubuntu Networking :: Unable To Install Command-line Version Of Maverick From Alternate CD

Oct 2, 2010

I'm attempting to install a command-line version of Maverick, from the alternate CD. I'm using the 64-bit version. The installation has gone fine - however, I'm having troubles getting the wireless to work. I've installed wireless-tools by carting the *.deb archive over from another computer - this seemed to go fine, and iwconfig shows my wireless card as "wlan0". However, even after setting the essid and the WEP key I can't connect to the internet (tested this using apt-get). I know that this wireless card requires the "rtl8187se" module, which automatically loads with the desktop version of Maverick - however, it isn't working on the command-line. Running "sudo modprobe rtl8187se" pings back an error message saying that the module can't be found. Is there a way for me to manually install it or "find" it?

View 1 Replies View Related

Ubuntu :: Mdadm Raid + GRUB = Not Booting - Error: Unsupported RAID Version: 0.91

Jul 18, 2011

I have a raid5 on 10 disk, 750gb and it have worked fine with grub for a long time with ubuntu 10.04 lts. A couple of days ago I added a disk to the raid, growd it and then resized it.. BUT, I started the resize-process on a terminal on another computer, and after some time my girlfriend powered down that computer!
So the resize process cancelled in the middle and i couldn't acess any of the HDDs so I rebooted the server.

Now the problem, the system is not booting up, simple black with a blinking line. Used a rescue CD to boot it up, finised the resize-process and the raid seems to be working fine so I tried to boot normal again. Same problem. Rescue cd, updated grub, got several errors: error: unsupported RAID version: 0.91. I have tried to purge grub, grub-pc, grub commmon, removed /boot/grub and installed grub again. Same problem.

I have tried to erased mbr (# dd if=/dev/null of=/dev/sdX bs=446 count=1) on sda (ide disk, system), sdb (sata, new raid disk). Same problem. Removed and reinstalled ubuntu 11.04 and is now getting error: no such device: (hdd id). Again tried to reinstall grub on both sda and sdb, no luck. update-grub is still generating error about raid id 0.91 and is back on a blinking line on normal boot. When you'r resizeing a raid MDADM changed the ID from 0.90 to 0.91 to prevent something that happend happened. But since I have completed the resize-process MDADM have indeed changed the ID back to 0.90 on all disks.

I have also tried to follow a howto on a similar problem with a patch on [URL] But I cant compile, various error about dpkg. So my problem is, I cant get grub to work. It just gives me a blinking line and unsupported RAID version: 0.91.

View 2 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Ubuntu Installation :: 9.10 Server - When Boot It Only Boots To The Server Version And All Get Is Command Line

Apr 1, 2010

I was having so much trouble with ubuntu 8.04 that I deleted off my computer and did a fresh install of 9.10. I downloaded the 64 bit iso from the internet, burned it to a disc and installed it. When it asked if it should be the server version I thought I said no. Now when I boot it only boots to the server version and all I get is command line. Can I get out of this and get my regular ubuntu screen back or did I install the wrong version?

View 6 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

General :: Update Maven Version On Ubuntu Machine

Sep 20, 2011

I am working on Ubuntu linux machine.my current maven version is 2.2.1 , I am wondering, how can I update my maven to verstion 3? What I tried: I have downloaded maven v3.0.3 binary version, and add the /apache-maven-3.0.3/bin/ path in .bash_profile file, but when I use mvn -v command, it still shows version 2...

View 1 Replies View Related

General :: Build A Glibc Version For Target Machine's Kernel?

Jan 8, 2010

AFAIK, in addition to implementing the standard C library, glibc provides wrappers for system calls, threading support, and basic application facilities. So because of that, glibc that will be used on my target system should be built based on the kernel version running on my target, right?

Based on the above, I am trying to build a glibc version for my target machine's kernel. However, I don't know to to build a glibc library for a target system and also where on the target's filesystem should be put? In which location Linux will start looking for the libraries required for a program to run (should I create an /etc/ld.so.conf file)?

View 12 Replies View Related

General :: Write <Esc> In The Vim Command Line (:vim Command)?

Jun 24, 2011

how do you write the ASCII character #27 in the vim command line?

View 6 Replies View Related

General :: Command To Delete A Software RAID?

Apr 1, 2010

Anyone know of a command to delete a Software RAID?

View 4 Replies View Related

General :: Command For The Program Version?

Jun 11, 2010

what command tell me the version of a program, e.g. make version 2.64?

View 2 Replies View Related

Hardware :: How To Identify Hardware Raid

Jul 3, 2011

Can any one give me suggestion of about hardware raid.us how we can identify who's the hardware raid configured on my IBM/HP server.

View 7 Replies View Related

General :: Cannot Log In From Command Line

Apr 1, 2010

trying to install the latest NVIDIA drivers:

I need to disable the X server to install it, which brings me to a blank screen prompting for a login before continuing. it reads thusly:

Ubuntu 9.10 chris-linux

chris-linux login: [i would assume i put in chris here...]

Password:[i type the password i use to login from the normal GUI screen, however i see no indication that im typing anything..]

Login incorrect

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved