I have been trying to figure this out for quite some time.
Say my current working directory is /home/ice/work
Heres what i have been trying to combine into one command:
then take output of that and redirect it to a bash variable such as
then this should happen
# echo $HERE
My plan is to be able to redirect the output of
into a url for viewing in konqueror as konqueror can use a variable as a url.
I have tested it. The following happens.
# konqueror $here
Konqueror loads with the directory /home/ice/work
But obviosuly this is not useful because i can easily click on the big "home" button in konqueror, then click work.
My questoin would be useful if my current working directory was /use/share/doc/man/man1/foo
Then i could load konqueror with that directory automatically...
Thanks in advance