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
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
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...
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...
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
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
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.