Mac OS keeps switching between shell types


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mac OS keeps switching between shell types
# 1  
Old 05-21-2006
Network Mac OS keeps switching between shell types

Whenever I relaunch my terminal application on Mac OS 10.4.6, the shell changes to something different. E.g. I used to work in "sh" and then relaunch, I am suddenly in "bash" mode and none of the most basic commands work anymore. Why can't the unix community agree on one single type of shell?? As far as I know there are also different syntax rules across the various shell types? Why is this? How much easier would live be if there was only one type of shell!! It makes the whole thing also very frustrating for newbees like me... Smilie
# 2  
Old 05-21-2006
There are different shells in UNIX for different needs. That being said if you are a noob, I would recomend using the BASH shell. I am not a MAC user but you should be able to set your profile to use a BASH shell or what ever other shell you prefer. Use google or read your man pages for further information on setting up your shell and environment.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Switching server in UNIX via shell script (SSH )

Requirement: I am writing a shell script which take some file from say Server1 and I have to execute some command on Server2 then I have to manipulate the data and based on that I have to produce report. Problem:I can schedule the shell script on only one server (Server1 or Server2) So, In the... (3 Replies)
Discussion started by: raks2301
3 Replies

2. Shell Programming and Scripting

Switching user inside a shell script doesn't seem to work

Linux version : Oracle Linux 6.4 Shell : Bash The following script will be run as root. During the execution, it should switch to oracle user and execute few commands. After googling and searching within unix.com , I came up with the following syntax ## Enclosing all commands in double... (7 Replies)
Discussion started by: John K
7 Replies

3. Shell Programming and Scripting

Get all types of shell supported on any unix flavors.

Hello - Is there a command/way we can find out, what shells are supported on a Unix machine? Please let me know. Thanks, Manju (3 Replies)
Discussion started by: manju--
3 Replies

4. Shell Programming and Scripting

problem switching to directory using shell script

Hi, I have an issue with switching to other directory through shell script. I have used cd /Music" but that doesn't help me. Then I have also tried using alias proj 'Music' alias then I get the error permission denied but i set the chmod 777 Music. I am using cShell for my... (3 Replies)
Discussion started by: baluk
3 Replies

5. UNIX for Dummies Questions & Answers

Switching user inside a shell script

Dear All, I want to switch a user inside a shell script.My current user say x and user y to whom i want to switch both have login on the same server,the one on which i want to execute my script on. "I want to do something like this su - y Password should be provided in the script itself.And... (6 Replies)
Discussion started by: navjotmannan
6 Replies

6. Shell Programming and Scripting

switching to another user in shell script...

Hi, I have a shell script in which I need to switch to another user and execute some commands and then come back to the original user. To make it more clear - I have to log in as user root then 'su' to jag - execute a script called backup.sh and then logout and come back to root again.. ... (1 Reply)
Discussion started by: bjagadeesh
1 Replies

7. Shell Programming and Scripting

Switching workspaces thru shell scr.(Solaris)

Using Solaris CDE environment and want to write a shell script (pref. Korn) which can: Upon invokation opens a dtterm new window (no problems, here, i.e. on how to open one) The new dtterm should be moved by the script to another workspace (consider no one changed the default Solaris naming... (3 Replies)
Discussion started by: baivab
3 Replies
Login or Register to Ask a Question