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 SkipVought 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: *

  1. mcrobiej

    borne shell x=y, $x=7 echo $y, not set

    Bill, not quite, you have turned it around to make it work !! let me add more info variablename=mode now I want to set the variable mode to manual, but this does not work. $variablename=manual . You also have done the function returning using a global variable, I already have it working...
  2. mcrobiej

    IP add. goes away on reboot Why ?

    when the system boots it looks at the hostname.<interface> i.e hostname.hme0 it then looks this up in the /etc/hosts file to get the IP address. your ifconfig and hostname will only change it on a running system, as you have found, when you reboot they wil go !!
  3. mcrobiej

    su is not acceptable

    try changing your /etc/nsswitch.conf passwd line to just files, (remove the nis bit for the moment) then give it a go again.
  4. mcrobiej

    borne shell x=y, $x=7 echo $y, not set

    Ok this must be a quick one to answer borne shell script: x=y $x=7 error y=7 , how do i use the content of a variable as a name for a new variable? also how do i return parameters from a function i.e. _read() { prompt=$1 temp=&quot;&quot; valid=0 while [ &quot;$temp&quot; = &quot;&quot...

Part and Inventory Search

Back
Top