shell

  1. S

    Shell / script pointers needed

    Hi all, my 1st post here after some lurking (and searching :)) I am a complete *nix/shell newbie, and migrated to OSX just last week, but I've managed to establish a few backup routines through sophisticated cut&paste :D. The only thing missing now are a couple of "scripts" that'll let me...
  2. R

    Enable Airport over SSH from SHELL???

    Howdy, Does anyone know a shell command which I can issue to my iMac at home which I have SSH'd to from my work PC, which will activate my airport card? I know it would be simple just to leave it on but for security issues I don't. Thanks in advance.
  3. R

    [HOWTO] open (Terminal) shell scripts by double-click

    Here's a neat trick: If you use shell scripts, such as: #!/bin/sh <your shell script here> you can actually make them double-clickable from Finder, so they *almost* work like fully-fledged Applications. You will need to be an administrative user to do these things: - Create your...
  4. R

    shell script location w/ Panther

    I'm sure these things have only been asked a thousand times (I just couldn't find the answers): I am running Panther (Mac OS X ver. 10.3.2.[at present]). I am using the (default) bash shell. I am *starting* to write shell scripts. I would like to "install" some shell scripts, so that...
  5. chemistry_geek

    Need help with shell scripts

    I need help with creating a shell script for a project at work. I know this doesn't have anything to do with Macs, but I need a little direction to get this project going. I just need to know when two text files "enterQ" (gets smaller over time) and "doneQ" (gets larger over time) haven't...
  6. F

    change password with do shell script

    What I would like to do: change the realname & password of a machine in a simple way with applescript. applescript: display dialog "Your name?" default answer "" set STNR to the text returned of the result display dialog "Password?" default answer "" set pass to the text returned of...
  7. mkwan

    vi shell commands?

    today at work, my boss was teaching me the linux OS system. He showed me the bash shell commands I probably will need for the technical support. Somehow the shell had some of "vi commands" flavor and he said something about 'shell history commands'.... my question is can I add some 'vi...
  8. L

    booting in Shell

    Hello, I havbe a MAC G4 running 10.2.8. Initially there was a problem recognizing any volumes. Couldn't see CD's, External firewire drive, smart media USB plug. So I was "tinkering" in terminal. NOW.... nothing. When I try to start the machine the grey on grey apple comes up, stops almost...
  9. D

    Using tcsh - C shell - what's the difference?

    Hi What is the difference between the C shells and the bourne shells? If I wanted to change from tcsh to bash for instance, how do I do this and is there any affect? Can I do this and still run all the software the same or does that change too? Do the variables and their values change...
  10. W

    Executable file paths in the Bash shell

    Hi, I have recently installed Mac OS 10.3, and am getting to grips with the Bash shell. I compiled the Nano text editor and all went well until I tried to execute it in Bash. I received the following error message wills-Computer:~ will$ nano -bash: nano: command not found Now, it would...
  11. couzteau

    resolving names in the shell???

    hello i'm located in a lan that uses a dhcp- server. I need a proxy to access the web (10.20.1.1:3128) My webbrowsers have no problems resolving names. when i use the terminal i cannot use any tcp/ip services that require name-resolving. I always get the message: "unknown host...
  12. S

    Mac shell MS OS ????

    I know this prob wont go down to well on this site but how about apple release a mac shell with a MS OS (that is if MS would sell them it)(but i suppose they would) I think this would greatly increase apples apeal to pc buyers. Every 1 likes the look of macs but they are put off by the...
  13. F

    Special Characters in Shell

    Apparently, tcsh, csh, sh, bash, zsh, etc don't allow me to input ANY special characters outside of the normal ASCII range (i.e. ü, ø, å, ß). I believe this would be referred to as ASCII 2, however I'm not sure. Is there a shell available that I can install into OS X so that I am able to use...
  14. WeeZer51402

    Passing Strings to a shell

    This may be a somewhat trivial question and i havent researched it too much but is there a function that will pass a string to a shell, for instance say i had a stdio program and i decided i wanted to add the option of allowing the user to enter commands to run in the backround, some i know you...
  15. buc99

    Newbie Shell Question

    how do I write a script that will "pushd" my shell from it's current directory to a new directory? for instance, I tried the following: #!/bin/sh pushd /User/username/bin What I got was the listing of directories in the stack but I was still in the original directory. I want the shell to...
  16. M

    Drag and Drop Shell Script

    Okay... I have found scattered resources on the web pertaining to this issue, but can't really understand how to implement it. I want to create and Applescript, that I can drop a file onto. The applescript then calls a shell script on the file that I dropped. I got the "code" below from...
  17. G

    What's a PowerBook shell made out of?

    Actually, don't give me a detailed answer. I just want to know if there's any lexan in it. I'm not going to say why I want to know, but I need to know in light of the awesome things about to happen to my PB G4.
  18. G

    Need a new monitor shell; where can I find one?

    I cracked the top half of my PowerBook's monitor shell. Everything still works fine, but the crack is kinda unsightly. If you guys can point me towards some place that I might be able to get a new shell, I'd appreciate it.
  19. K

    Boot forces into shell mode

    Hello, I'm new to OS X. I'm using 10.2.4. Today I ran the System Update and then afterwards I reboot the system but the shell prompt showed up instead of "Welcome to Macintosh" message. I tried to reboot a few times. The startup screen showed. The async arrow spinned for a minute then...
  20. michaelsanford

    [FAQ] - Setting the UNIX shell prompt

    Use these modifiers with set prompt = "[modifiers]" in ~/.tcshrc prompt The string which is printed before reading each command from the terminal. prompt may include any of the following formatting sequences (+), which are replaced by the...
Back
Top