shell

  1. L

    Help with automated process that starts on login

    I have this program that needs to be manually run and I want to have a function of the app run automaticly everytime I login. I have no experience with AppleScrit, shells scripts, I have used Automator a few times for stuff. I lost a lot of my knowledge from a bad head injury so any help would...
  2. Rhino_G3

    Shell script to empty trash? Applescript maybe?

  3. C

    Lost Directories/files When Navigating Through Shell

    Today, for some reason, my second hard drive lost track of it's directories and files. I noticed this because all my symbolic links were broken. I searched through the finder and I see all the files are still there, but when I look through the bash terminal, I can't find most of the drive...
  4. F

    How can I change the name that shows up in a shell prompt?

    I would like to change the name that is showing up before the : in my shell prompt. It appears whenever I open terminal and I'm working on my local machine. Last login: Wed Aug 31 17:01:32 on ttyp1 Welcome to Darwin! IWANTTOCHANGETHIS:~ loginname$ If someone could let me know how to do...
  5. A

    shell script - iPhoto - "Caption" & "Filename" - rename to desktop

    Hey guys, I am in the process of finding a way to make a copy of a file in my iPhoto library to a folder on my Desktop, giving it the name i gave it in iPhoto (its Caption). I get the AlbumData.xml document in ~/Pictures/iPhoto\ Library/ I make a copy of it (in case i ruin it) to...
  6. U

    Color in tcshrc shell

    Hello, I'm trying to enable color in my tcshrc shell. However, when I created a new ~/.tcshrc file to enable color, I am getting an error when trying to use my fortran compiler. Here is my ~/.tcshrc file: setenv TERM xterm-color alias ls "ls -G" setenv LSCOLORS...
  7. E

    where is my environment file for shell?

    I run Linux and OSX. In Linux I have shortcuts for my apps, which I make in the env.csh text file, for example: alias m5 /software/alias/maya/5.0/maya5.0.1 so this launched the app maya 5.0 when I type m5 in a shell. where is this file in osx?
  8. J

    shell script doesn't run from cron any more

    hi there I have a shell script which doesn't run from cron any more for some reason and I'm too stupid to figure out why :) basically this shell script does a backup of some files and uploads them to my server via rsync. The script works ok if I run it from the terminal, but it doesn't work...
  9. A

    need help - how do I open a SECURE SHELL?

    I need help, I've been instructed to open a secure shell connection to a computer. I have a specific ip address and a username. Apparently its a UNIX server Once logged in I will apparently need to enter another username and password when prompted. I'm new to all this - can anyone point...
  10. quiksan

    Korn Shell in Tiger?

    According to the new Tiger features page, the Korn Shell will be the new unix shell in OS X. When is Apple going to settle on one shell? It's the subtle nuances that drive me crazy across the shells, and while I'm not a total unix novice, it's still frustrating that they've changed the shell...
  11. H

    Shell script: changing which user is auto-logging in

    I am working on a crude shell script to go along with our Image to create a user account. I can create the account and make it an Admin no problem but I can't seem to find a way to set it to auto-login. Any ideas?
  12. M

    Über n00b setting up PHP and MySQL - shell syntax problem?

    Hi everyone, Here's where I'm at so far: I have d/l and installed the PHP module from Mark Liyanage (http://www.entropy.ch/software/macosx/php/). I have d/l and installed the MySQL pkg file from MySQL.com (the one for OSX) I have been following a tutorial on MacWorld's site that I...
  13. I

    crontab and shell access to my server to add a new scheduled task.

    Hi guys, Okay, I'm having a bit of a thick attack here. :confused: I have installed some banner maintenance software on one of my websites. The software is called phpAdsNew. One of the things I have to set up is scheduling the maintenance script to run every 24 hours on the server. I...
  14. Viro

    Setting environment variables (PATH, etc) outside shell

    How do I set environment variables outside so that they are visible outside the shell? I know the usual way of setting such variables is in the .profile or .bashrc file in one's home directory. The problem with this is that the variables that are set are only visible within the terminal. I want...
  15. T

    Is there a way to run shell scripts by double-clicking them?

    I am very tired of having to open a Terminal window, type "sh" or ".", drag the shell script in, and hit return. I want to just double-click and have it open the window and run the script. I guess this would be done by associating ".sh" files with an Applescript program (or something) that...
  16. stones

    Help : Startup gives me unix shell

    The title says it all. I need help, because when I start up my iMac (running 10.2.8) it goes to the screen with an apple and a spinning thing, but then stops and gives me a unix shell. I'm currently forced to use my (gasp) Dell laptop. Obviously, I want to get this fixed. Anyone know why this...
  17. F

    Example of how to upload a file using AppleScript & UNIX Shell?

    Is using "do shell script" and cURL really a better way to upload a file than URL Access Scripting? If so, can somebody give me a simple example of how to upload a small text file with this method?
  18. P

    Associate shell script as "Open With" application?

    I'd like ".txt" files on my desktop to open in vim in a new window in iTerm by default. So I figured out how to create a shell script with the appropriate osascript embedded in it to take an argument and do just that... tell iTerm to open a new window and load the file into vim. However...
Back
Top