Search Results

Search: Posts Made By: Chronomaly
4,625
Posted By Chronomaly
I'm not looking for a way to find a directory,...
I'm not looking for a way to find a directory, I'm looking for a way to get the full path based on a shell script's working directory and a directory argument sent to the script, into a variable.
4,625
Posted By Chronomaly
No, that's exactly what it can't do since the...
No, that's exactly what it can't do since the directory specified might not exist.


None of the examples work atm since I'm not sure how to do this. I probably could make them all work by making...
4,625
Posted By Chronomaly
I enter: ./myscript.sh anypath...where anypath...
I enter:
./myscript.sh anypath...where anypath can be any path, relative or not. Eg:
../etc/stuff/test
/home/user/foobar
files
files/extraI then want to convert this into the full path, eg...
4,625
Posted By Chronomaly
Kids have homework in shell scripting now? O.o ...
Kids have homework in shell scripting now? O.o

Nah, I wanted to make it quicker to run an application for which i often use similar syntaxes and figured it would be nice to learn some shell...
4,625
Posted By Chronomaly
Custom directory path variable
I'm trying to write my first shell script and got a bit stuck with this:

I've got myscript.sh that executes from /fromhere.

If the script is run with the syntax ./myscript.sh tothere:
I need...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 06:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy