What does "#@$-s /usr/bin/ksh -x " mean?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting What does "#@$-s /usr/bin/ksh -x " mean?
# 1  
Old 02-25-2009
What does "#@$-s /usr/bin/ksh -x " mean?

I am using ksh.. Whenever we write a shell script the first statement would be #! /bin/ksh. But instead of that I came to find "#@$-q large" in the first line and"#@$-s /usr/bin/ksh -x " in the second line. what does it mean?

Give your comments.....

Thanks
sabeer
# 2  
Old 02-25-2009
I don't know what the first string does, looks like passing on an alias other option.
ksh -x is debug/verbose on like set -x
# 3  
Old 02-25-2009
But what about "#@$-s"
# 4  
Old 02-25-2009
Whatever that is, it is very non-standard. I have never seen anything like it. Are you sure it really serves some useful purpose?
# 5  
Old 02-26-2009
Thank you for your feed back...It was part of one coupled ocean atmospheric model..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mindboggling difference between using "tee" and "/usr/bin/tee" in bash

I'm on Ubuntu 14.04 and I manually updated my coreutils so that "tee" is now on version 8.27 I was running a script using bash where there is some write to pipe error at some point causing the tee command to exit abruptly while the script continues to run. The newer version of tee seems to prevent... (2 Replies)
Discussion started by: stompadon
2 Replies

2. Shell Programming and Scripting

Discussion: use "/usr/bin/env" or not

Hi. In thread https://www.unix.com/shell-programming-and-scripting/265878-date-format-problem.html , Aia and I were discussing the usefulness of using #!/usr/bin/env bash (or ksh, or perl, or ...) as the shebang line. The exchange was good, but it was getting beyond the scope or the thread, so I... (4 Replies)
Discussion started by: drl
4 Replies

3. Solaris

The slices "usr", "opt", "tmp" disappeared!!! Help please.

The system don't boot. on the screen appears following: press enter to maintenance (or type CTRL-D to continue)...I checked with format command. ... the slices "0-root","1-swap","2-backup" exist. ...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies

4. UNIX for Dummies Questions & Answers

Difference between "/bin/bash" & "/bin/sh"

what if the difference between #!/bin/sh and #!/bin/bash I wrote a script with the second heading now when i change my heading to the first one ...the script is not executing well....im not getting the required output....any solution to this problem...or do i have to start the... (3 Replies)
Discussion started by: xerox
3 Replies

5. Solaris

Execution problem with "/usr/dt/bin/sdtdbcache

On a SunOS Solaris 5.5.1 workstation, the /usr/dt/bin/sdtdbcache –init command lasts more than 20 minutes. This command is executed by the /usr/dt/bin/Xsession script during an user connection. Please refrain from using subjects like "HELP ME!..." to get more/faster attention and also please do... (1 Reply)
Discussion started by: ricadom
1 Replies

6. UNIX Desktop Questions & Answers

Will this be a problem in my script "#! /bin/ksh" ?

All, In my script i am having the first line as "#! /bin/ksh" I see there is a space between #! and /bin .. My script is working fine and it is not causing any problem.But some time this script is very slow in processing and even some time the script hangs we need to kill and... (5 Replies)
Discussion started by: arunkumar_mca
5 Replies

7. Solaris

difference between "root" and "usr" packages

Hi, could someone pls enlighten me on the difference between the "root" package and "usr" package? Like in this example: pkginfo -l SUNWGtku | grep -i desc DESC: GTK - The GIMP Toolkit (Usr) and pkginfo -l SUNWGtkr | grep -i desc DESC: GTK - The GIMP Toolkit (Root)... (6 Replies)
Discussion started by: masloff
6 Replies

8. Shell Programming and Scripting

"#!/bin/ksh -f" What does the -f option do?

What does "-f" option do? This is at the start of a shell scripts to point to full path to the interpreter such as /bin/ksh What does the -f option do? #!/bin/ksh -f (3 Replies)
Discussion started by: Arsenalman
3 Replies

9. Shell Programming and Scripting

ERROR: "/bin/ksh: Not owner"

When ssh'ing into certain Unix boxes I'm seeing two errors that appear immediately after entering the password I've never seen. After the error message is displayed the connection closes immediately. The first is “/bin/ksh: Not owner” after which the connection is closed. And, “Read from remote... (5 Replies)
Discussion started by: twk
5 Replies

10. UNIX for Dummies Questions & Answers

#!/bin/sh script fails at StringA | tr "[x]" "[y]"

I need to take a string (stringA) check it for spaces and replace any spaces found with an equal (=) sign. This is not working. There are spaces between each component: $StringA | tr "" "" The error returned is: test: Specify a parameter with this command Can you help? (3 Replies)
Discussion started by: by_tg
3 Replies
Login or Register to Ask a Question