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 strongm 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. applebala

    exporting AWK variables to unix shell variable

    Hi I have this awk script and I want to export the number of records to Unix shell !!! awk -F: '$1 !~ "#" { print $1 }; END { lines=NR }' filename I want to access the "lines" variable in Unix shell. Can anyone help me... thanks in advance Bala
  2. applebala

    Deleting last 7 lines from a file using awk or sed

    Hi Everyone I want to delete last 7 lines from a bunch of files. Can anyone help me on this. You can suggest any unix utility which does this and how it should be done.. say awk or sed or ?. Thanks in advance Bala
  3. applebala

    Shutdown logs in HP-UX ver 11.00

    Hi All I am trying to find out where the shutdown log is generated when the server is shutdown using shutdown command ? Is there an equivalent to /etc/rc.log file, which is generated when the machine is started up ? I have checked the following files. But they do not contain shutdown info...
  4. applebala

    enabling emacs GUI on hp-ux ver 11.00

    Hi All I have installed emacs ver 20.7 on HP-UX ver 11.00. Now how do I get the gui enabled so that I can click on the emacs menu to execute emacs commands. At present I am using control keys. Can I have the same look and feel of emacs as it is on Windows NT machine ? Please suggest Thanks in...
  5. applebala

    Mounting Local Machine HDD as a mount point on HP-UX server

    Hi Technical info. Local Machine OS NT 4.0 service pack 5. Unix Server HP-UX ver 11.00 On HP-UX server, I want to mount my local machine drive as a mount point. Can anyone suggest how this can be done ? Thanks in advance Bala
  6. applebala

    Enabling / Disabling CAPS key thru unix shell script

    Hi all In continuance to the above question, the application I am accessing thru shell needs everything to be entered in CAPS. Also I donot have the application source code. Can anyone suggest utilities under HP-unix which turn on / turn off the CAPS keys Thanks in advance Bala
  7. applebala

    Enabling / Disabling CAPS key thru unix shell script

    Hi All I want to enable the CAPS key thru my shell script for user input and once it is done I want to bring it back to the original state i.e CAPS OFF. Suggesstions are welcome Thanks in advance Bala
  8. applebala

    AWK :- Print all fields other than the first field in a variable rec

    I am a new user to awk I am trying to print all fields other than the first field in a variable length record. How do we do that ?

Part and Inventory Search

Back
Top