Search Results

Search: Posts Made By: Jalaska13
Forum: OS X (Apple) 10-15-2010
1,490
Posted By Jalaska13
Suggested MacPorts to Install
I was wondering if anybody had any ports for macports that they particularly liked and wanted to recommend - I'm looking for some more stuff to play around with.
3,179
Posted By Jalaska13
Oh that makes more sense. Ok. I think I can...
Oh that makes more sense. Ok. I think I can work out what the rest of the code does from that. Thanks!
3,179
Posted By Jalaska13
Could you explain this to me? I'm not sure I...
Could you explain this to me? I'm not sure I understand what basename does (I'm new to the syntax of unix; I don't know all the nuances) Is %% a mod operator?
3,179
Posted By Jalaska13
my problem isn't with your example. The...
my problem isn't with your example. The combination of $PWD and $0 looks good. It's with a problem that neither your example nor what I tried to do took into account. When I got my error, it was...
3,179
Posted By Jalaska13
Oh, that makes sense. Except for one thing. ...
Oh, that makes sense.
Except for one thing. Wouldn't that make the path "....../myscript.sh", so that when you do ./2ndscript.sh, it tries to find ...../myscript.sh/2ndscript.sh, which doesn't...
3,179
Posted By Jalaska13
...and that didn't actually work. Nvm. When I...
...and that didn't actually work. Nvm. When I ran it, I got this error:
For the first one, it said that ~/hi didn't exist (the file was actually in ~/Destkop/testfolder/hi)
For the second one, it...
3,179
Posted By Jalaska13
What about if the shell is run by opening the...
What about if the shell is run by opening the file. Wouldn't the directory still be at ~/?

---------- Post updated at 11:43 PM ---------- Previous update was at 11:35 PM ----------

Oh wait, I...
3,179
Posted By Jalaska13
The two should be one and the same, right? Let's...
The two should be one and the same, right? Let's say I run it from a folder /superawesomefolder/myscript
If I then run myscript, so long as myscript doesn't get moved, should the run path be the...
3,179
Posted By Jalaska13
Shell Script that Knows Where it Is
I've got a folder with a few files. One of those is a shell script. I want the shell script to figure out what folder it is, and then using that information, copy some other files in the folder to...
Forum: OS X (Apple) 10-14-2010
8,875
Posted By Jalaska13
Editing System Preference in Terminal
Mac OS X 10.6: Leopard - I'm trying to create a script that will run on its own that can edit system preferences. I've done some digging, and found that a lot of system preference options are...
Showing results 1 to 10 of 10

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