If you're a VI user, you can use VI line-edit mode on the comand line. To set this up, type:
$ set -o vi
Now you can use standard VI commands to browse the command history, and edit the command (for example, ESC-k to go to the last command, / to search through the command history etc).
This...
One last comment regarding exporting a variable. It makes sense that exporting it within a function will not make it available to the main since the main is a parent of the function, and export simply makes the variable available to the function's children. In other words, the variable becomes...
There's also this link:
http://www-1.ibm.com/services/sl/swm/
which is a simple grid. Or this one:
http://www-1.ibm.com/services/sl/products/
which is a Java applet.
And since you didn't explicitly declare rundate, ksh will create it as a global variable. There's no way that I know of to declare a variable inside a function and make it global -- you're just going to have to declare limitpct outside the function.
Those commands would work fine to skip nfs, except if one of the nfs mounts is to a server that is unreachable. Then, even though I've told it to skip nfs, it still tries to contact the nfs share and times out (if it's a hard mount, it'll just keep trying forever). There doesn't seem to be any...
-local is not a viable flag in AIX 4.33 or 5.2.
It does bring up a related question, though. Is there a location where I can download a find binary that will do what I need?
I want the find command to skip all nfs filesystems. I use the following syntax:
find / -fstype nfs -prune -o -name myfile -print
The (very frustrating) problem is that if the remote host for the nfs filesystem is down, find will still try to contact it even though I've told it prune all...
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.