Difference in command syntax different shells


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Difference in command syntax different shells
# 1  
Old 08-15-2010
Difference in command syntax different shells

hi,
i am aa unix amateur and i am using tsh, csh and bash most of the time.
i have been looking over the net to find a summary of the differences in command syntax for example:
in csh and tsh you do
alias whatday date
while in bash and ksh you do
alias whatday=date
i just want more examples so as i switch between shells i don't encounter hiccups. if there is a helpful website that someone knows, i would greatly appreciate it.
thanks.
# 2  
Old 08-15-2010
but bash is missing in this website ???

Rosetta Stone for Scripting Languages
This User Gave Thanks to thegeek For This Post:
# 3  
Old 08-15-2010
this is very helpful thanks.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

MAN command for various shells

Whenever I run manual page on a command I get information about arguments, syntax and so on. However, I wounder if that information is valid only for a certain shell and if yes, then for which one? In other words, would I have different man outputs for csh, ksh, bash and others? Thanks (7 Replies)
Discussion started by: rdogadin
7 Replies

2. Shell Programming and Scripting

Difference between shells

ple tell me What is the diff between ksh,sh,bash and csh (1 Reply)
Discussion started by: Boby120677
1 Replies

3. HP-UX

ps command syntax

I use hp HP-UX. I want to get vsz of the process . What is the syntax ... /run>ps -help ps: illegal option -- h ps: option requires an argument -- p usage: ps (3 Replies)
Discussion started by: chuikingman
3 Replies

4. UNIX for Dummies Questions & Answers

Differences in BASH and ASH shells regarding if command?

Guys I now have a script that's working in a BASH environment, however one line doesn't appear to be working on an embedded device that has a busybox therefore ASH shell. I've googled but there's very little I can find regarding the ASH shell. In BASH the following line works... if ] ;... (6 Replies)
Discussion started by: Bashingaway
6 Replies

5. Shell Programming and Scripting

Difference in Shells

Hi, What is the difference between Bourne,Korn shell, C shell, BASH? Thanks (1 Reply)
Discussion started by: welldone
1 Replies

6. AIX

multipe shells spawned with "ps" command

I have a small function that I use to see if another version of the script is currently running. Occasionally, about 10% of the time, it reports that two instances of the script are currently running. Since I am using a unique name, I know that there is not another version running out there by... (0 Replies)
Discussion started by: johnnieb
0 Replies

7. UNIX for Dummies Questions & Answers

Command syntax

Here's my situation. I am trying to move all files from one directory to another. I have the following requirements: 1) Move all files in /myfiles/wip matching pattern "*.tif" to /work/in that are at least 10 minutes old (or older). 2) When the files are moved, they need to be moved into... (2 Replies)
Discussion started by: dsimpg1
2 Replies

8. Shell Programming and Scripting

Spawning new shells from the command line in OpenStep 4.2

Hi all, Im trying to figure out what the command would be to launch terminal windows from the command line in Open Step 4.2 . (looking for something similiar like /usr/bin/xterm or /usr/bin/dtterm etc) echo $TERM = vt100 echo $SHELL = /bin/csh Im combing over alot of OpenStep 4.2 and... (3 Replies)
Discussion started by: Rocketman8541
3 Replies

9. Answers to Frequently Asked Questions

Difference between ksh,bash and different shells.

Hello Everyone, Can someone please tell me the key difference between the different shells availabe i.e. ksh,bash,(i don't know the others ones. :confused: (5 Replies)
Discussion started by: a25khan
5 Replies

10. UNIX for Dummies Questions & Answers

command syntax

Hi, Does anyone knows the command syntax for the following Unix commands: at mount The OS is the Chorus/Mix 4.3 BSD Unix. The "at" command does the following: at a precise date and hour it executes a desirede command. Many thanks !!! Regards, Pedro Pereira (3 Replies)
Discussion started by: pmap
3 Replies
Login or Register to Ask a Question