12-20-2016
Need advice - Winbash or Cygwin?
HI Folks -
With many clients (most) going to Linux environments, I'd like to begint o develop one set of portable scripts I can use across all clients. Therefore, for my clients still on Windows, I'll need to use a tool to be able to do this.
What would you recommend to run shell on Windows? I'm seeing a lot of chatter on Winbash or Cygwin. Do both some with all shell binaries?
Thanks!
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
I am looking for some advice on wether to use unix or red hat linux? I have played with most windows OS and Mac OS up to in and including OS X. any and all advice would be appreciated (4 Replies)
Discussion started by: justawind
4 Replies
2. UNIX for Dummies Questions & Answers
I have a while read loop cycling through a fixed-length csv file and I'd like to use an if statement to check two fields in each line. I'm basically asking for your suggestions on the best and easiest way to check two fields in each line. I'm sure many of you may be thinking just use awk, but if... (1 Reply)
Discussion started by: yongho
1 Replies
3. Shell Programming and Scripting
Hi.
First of all, Im an msoft guy, and when it comes to linux/unix, I'm retarded.
Here is what I'm trying to do.
I want to
start
I want to automatically connect to a remote server.
Then I need it to login(https)
-insert the licensce in the box(vi)
-based on that licensce, the... (1 Reply)
Discussion started by: bravo24601
1 Replies
4. UNIX for Dummies Questions & Answers
i am currently running windows vista home premium, i want to install unix because i just started a computer programing course, i am just wondering if i install unix will i still have vista?? how does it work? will i get a choice of which os to run on system startup?? (1 Reply)
Discussion started by: naner9
1 Replies
5. Red Hat
Hi everyone. I must admit up front that I am not very strong when it comes to Linux. I am actually a Windows guy, but don't let that count against me. :) I work for a very small company so we do not have a Server/Linux Admin on staff. Most of our needs have been handled by our WebHost. We have... (2 Replies)
Discussion started by: liquidstyleb
2 Replies
6. What is on Your Mind?
Hi all,
I need a career Advice.
About myself -- I have 2 years of work experience as a System Administrator (Linux and Solaris). I am Sun Certified System Administrator on Solaris 10.0 currently working in a MNC.
As for career growth, I am doing 3 year MBA course from distance learning,... (4 Replies)
Discussion started by: vikas027
4 Replies
7. Shell Programming and Scripting
Guys,
Can you tell me what value would additional knowledge of PERL and CGI scripting will add to my skill set of UNIX shell scripting and ORACLE PL/SQL?
I understand that PERL is a good tool for text processing. (1 Reply)
Discussion started by: yabhi_22
1 Replies
8. Shell Programming and Scripting
I'm using cygwin on win7, What I would like to do is something like this:
cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e
I know I can start a new instance using either of these:
mintty -e ...
cygstart tail ...
But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies
9. Shell Programming and Scripting
Hello guys
i am generating files in while loop and i want add value in every file start from 10 to 55 and repeat that
so the value never exceed 55 and always start from 10
can you advice how this can be done in while loop? (4 Replies)
Discussion started by: mogabr
4 Replies
10. Shell Programming and Scripting
Hi all,
Need some advice.
I am attempting to write a if statment, to check a varaibale, but the output of the variable is empty (which is correct), but i am having issues write a if expression for this empty variable.
Can you please advice.
If statement - Output below
if ]; ... (2 Replies)
Discussion started by: Junes
2 Replies
LEARN ABOUT OPENSOLARIS
shell
shell(1F) FMLI Commands shell(1F)
NAME
shell - run a command using shell
SYNOPSIS
shell command [command] ...
DESCRIPTION
The shell function concatenate its arguments, separating each by a space, and passes this string to the shell ($SHELL if set, otherwise
/usr/bin/sh).
EXAMPLES
Example 1 A sample output of shell command.
Since the Form and Menu Language does not directly support background processing, the shell function can be used instead.
`shell "build prog > /dev/null &"`
If you want the user to continue to be able to interact with the application while the background job is running, the output of an exe-
cutable run by shell in the background must be redirected: to a file if you want to save the output, or to /dev/null if you don't want to
save it (or if there is no output), otherwise your application may appear to be hung until the background job finishes processing.
shell can also be used to execute a command that has the same name as an FMLI built-in function.
NOTES
The arguments to shell will be concatenate using spaces, which may or may not do what is expected. The variables set in local environments
will not be expanded by the shell because "local" means "local to the current process."
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
sh(1), attributes(5)
SunOS 5.11 5 Jul 1990 shell(1F)