01-26-2011
I'm surprised you say most of the unix command are not supported by cygwin. I've found it quite a good environment to play around with unix commands.
If the output of a cygwin commands is different to my destination unix platform (good example here is the ps -ef output). I run the command on unix and save the output to a file - I can then process this in my cygwin script and slot the actual ps command in before doing the beta testing on unix.
Last edited by Chubler_XL; 01-26-2011 at 06:31 PM..
Reason: spelling
This User Gave Thanks to Chubler_XL For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Will a shell script written in shell for HP/UX run on Solaris? (1 Reply)
Discussion started by: dstaller
1 Replies
2. Shell Programming and Scripting
Hi all,
I want to find out last word in each line ...
suppose my file contains following lines ...
this is unix forum
here we share knowledge
it is very interactive
Now i need the output as :- ( the last word od each line )
forum
knowledge
interactive
... (2 Replies)
Discussion started by: dhananjayk
2 Replies
3. Shell Programming and Scripting
Hi I need to insert a page break into a file based on matching a phrase in the file. :confused: I am doing this with a ksh script on a Unix box.
Any help would be greatly appreciated.
Thanks (5 Replies)
Discussion started by: scrappycc
5 Replies
4. Shell Programming and Scripting
I have the file as below
server1 no dr aix 5300-05-03 9119-595 20-18888 yes ftp-eagle
server2 no dr aix 5300-05-03 9119-595 20-18888 yes ftp-eagle
server3 yes dr aix 5300-05-03 9119-595 20-18888 yes ftp-eagle
server4 ... (1 Reply)
Discussion started by: praveenbvarrier
1 Replies
5. Shell Programming and Scripting
I am trying to create a script to manipulate numerous file and at first I thought it would be a simple task but at this point i am ready to break my computer! I am new to unix scripting so hopefully someone out there thinks this is super easy and can help me out!
A sample of the problem file is... (2 Replies)
Discussion started by: theqcup
2 Replies
6. Shell Programming and Scripting
Hi All,
It's quite long time....m comming to my favourite forum..
Can anyone suggest me good tool like eclipse for Java....do we have anything for Shell scripting..where n i can atlease prepare script...rather than typing all mistakes in Linux box :)
Thanks
Sha (1 Reply)
Discussion started by: Shahul
1 Replies
7. Shell Programming and Scripting
I am looking for a script which does the following
Script will run daily.
1.It will get snapshot off all filesystems including nfs mounts, automounts and clearcase mounts.
2.Then it will compare new snapshot with the snapshot created in the previous run.
3.If filesystem exists in... (20 Replies)
Discussion started by: saidiya
20 Replies
8. Shell Programming and Scripting
Hi All,
Can you please let me know what I missed in the below function? Whenever I try to execute the script i am getting
syntax error at line 101 : `fi' unexpected
Function is
function DELNWE5O {
export ORACLE_HOME=/ora00/app/oracle/product/11.2.0/grid_1
export... (9 Replies)
Discussion started by: pvmanikandan
9 Replies
9. Shell Programming and Scripting
Hi,
I posted my problem in Solaris forum, but I think, I am expecting a script, which should solve my purpose. I am not a scripting person, so need help here.
I am on Solaris 10, in failsafe mode. Manually I run format command and it takes me to options, I pick "repair" and enter, it waits... (24 Replies)
Discussion started by: solaris_1977
24 Replies
10. Shell Programming and Scripting
Hi Guys,
I am trying to learn to script.
first I have 2 server, A and B.
A with IP 192.168.82.22. B with IP 192.168.82.44.
Both with login user admin and password admin.
server A will generate a file every day with name gg.log under /app/gg/20171002.log. I wish to write a script to copy the... (7 Replies)
Discussion started by: leecopper
7 Replies
LEARN ABOUT PLAN9
suspend
suspend(1) User Commands suspend(1)
NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)
SunOS 5.10 15 Apr 1994 suspend(1)