Have you had a look at bash completion scripts? These are quite powerful and configurable.
The simplest example with fixed list of arguments:
Another example if fuz takes directory as 1st parameter:
There is also the ability to fully program the operation of the complete using a function which can be fully tailored to your needs.
These 2 Users Gave Thanks to Chubler_XL For This Post:
Hi All,
One small request. In UNIX/LINUX we can have our own aliases in .bashrc file. My doubt is when we add a new alias and if it is tried in already opened terminals it will not work, may be it is not going to recognise. Bit when we use the same alias in new terminal it will work. I... (1 Reply)
Folks;
I know this might sound stupid, but Can i alias a web link to another web link in a UNIX server?
Let say i have a web link named http://test.new.com/wiki
Can i alias that so when i click on it or i type it in the browser address it opens but the link in the browser say something like:... (1 Reply)
HI All,
I have a small question/clarification/doubt . Does anyone know how to provide alias in the mails that come from Unix servers.
Like i have a Unix server that generates status mails every hour for a scheduled job , it sends me mails with status with the ID in from field as... (3 Replies)
hi to all members in this forums .. Nice to meet you...
i only have a questions about command utility of "dd":
for example i will type:
pico trial
this is my file.
and save it and type chmod a+x trial
can there be a way that instead of typing:
dd if=trial of=trial.copy conv=ucase... (3 Replies)
Hello,
I need to rediret the directory location at run time as:-
If I type cd /dir1/dir2 then it should take me to /dir1/dir3 at run time.
Inside dir1, both dir2 and dir3 directories are present.
Could anyone guild me over it?
Thanks
Shubham (5 Replies)
I have these mental shorthands, e.g., OPC for other people's code/children, so when a wise suggestion is ignored, I thought, pearls before swine, but the acronym PBS is already taken.
Maybe it's an inside joke? (0 Replies)