Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: idiotboy
  • Content: Threads
  • Order by date
  1. idiotboy

    Checking within a string

    Hi, I have a string e.g. idiotboy|is|trying|to|count|how|many|pipes|are|in|this|string| How can I count how many pipes there are in the string? grep only returns the string itself I can While read pipe|;do tr -s "|" "|\n" $pipe|wc -l;done but I thought there might be another way which is...
  2. idiotboy

    Installing Red Hat Linux

    Hi, If I install Red Hat Linux (latest version) on a server (pc) which is dual processor, will I experience any problems and more importantly, if I have an application that utilises paralell processing will this correctly be assigned both processors at run time? Sorry for the vagueness...
  3. idiotboy

    Network Configuration

    Hi, I have an Ultra 1. It is running Solaris 8. The OS is installed correctly and is behaving normally. I wish to connect it to my hub so that I can telnet to it from elsewhere within my house only. My /etc/hosts looks like this 127.0.0.1 localhost 192.168.0.30 ultra1 loghost 169.254.164.12...
  4. idiotboy

    How much RAM do I have

    Hi, I just bought a ultrasparc1. I noticed at boot up that the spec said that I had 128 megs ram. I was sold the machine thinking it had 256 megs ram. Do I need to do anything so that I can use that ram. I haven't looked inside the machine to confirm that there is in fact 256 ram. I...
  5. idiotboy

    Case statement in Korn Shell

    Hi, I've got the syntax for the case statement in korn shell (running on Solaris) but I can't figure out how to pose a question and read the answer as the input to the case statement. Do I just print "Quesion:y/n" read ans ans="y" case $ans in y) print "blah...
  6. idiotboy

    .bashprofile can anyone verify if this is right

    Many thanks for the help. Is this .bashprofile right? I can execute commands in their respective directories e.g. /sbin/shutdown -h 1 whilst pwd = /sbin but not execute it elsewhere using shutdown -h 1. I should be able to shouldn't I? Or am I being stupid? .bashprofile if [-f...
  7. idiotboy

    Command Line problems with Redhat 6.2

    I have installed redhat Linux 6.2 on an 486 with no problems. No reported errors. However, whenever I try to invoke a command (e.g. adduser, shutdown, wall,) the command line informs me that no such command exists, despite everything being in my /sbin. Can anyone help. My aim is to run...

Part and Inventory Search

Back
Top