cat .servers | while read LINE; do
ssh jason@$LINE $1
done
exit 1
./command.ksh "ls -l ~jason"
Why does this ONLY iterate on the first server in the list? It's not doing the command on all the servers in the list, what am I missing?
Thanks!
JP (2 Replies)
Hello
I' m confused a bit.
I want to replace string "&" with "&" using this command.
sed 's/&/&/g'
and it doesn't work. Nothing happens.
On the other side this works:
sed 's/&/@/g'
or sed 's/&/^/g' !!!
Can somebody help please?
Thanks (3 Replies)
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
hi
I wrote the following makefile, I have just one problem, when i type make clean I get the message make 'clean' is up to date and any obj file is removed from my folder, what's wrong?
Thank you
CC = cc
all: es.o elaboration.o
$(CC) -o es es.o elaboration.o
elaboration.o:... (0 Replies)
Hi,
I need to use remsh inside a ksh script. The script would remsh to another machine (maybe different OS) and then execute commands.
A Simple Script:
#!/usr/bin/ksh
remsh sun7656 -l myuser "cd /user.3/MyFolder; ls -lart"
But this gives me the error:
permission denied
I also... (4 Replies)
Hi,when I run my first shell script,I got something that doesn't work right.
I wrote this code in the script.
echo -e "Hello,World\a\n"But the screen print like this:
-e Hello,World
The "-e" wasn't supposed to be printed out.
Can anyone help me out?:wall:
Many thanks!:) (25 Replies)
greetings,
the following code isn't working as i expect it to. the first dbl brackets do but the second set gets ignored. ie: if i'm on t70c6n229 it echoes "Something" and i expect it not to. what am i missing?
if " ]] || " ]]; then
echo "Something"
fi
thanx! (9 Replies)
Hi,
I am using korn shell.
until ]
do
echo "\$# = " $#
echo "$1"
shift
done
To the above script, I passed 2 parameters and the program control doesn't enter inside "until" loop. If I change it to until ] then it does work.
Why numeric comparison is not working with -ne and works... (3 Replies)
On a SCO Unix system, the gcc command returns gcc: syntax error at line 1: `)' unexpected regardless of what else in on the command line.
Thus far I have added "INCLUDE=" and the path to stdio.h which only had an include statement to ast_stdio.h to my start up procedure.
I am trying to update... (2 Replies)
Discussion started by: wbport
2 Replies
LEARN ABOUT DEBIAN
premake
premake(1) Development premake(1)Name
premake - a build script generator
Copyright
Copyright (C) 2002-2008 Jason Perkins and the Premake Project Lua 5.1 Copyright (C) 1994-2008 Lua.org, PUC-Rio
Usage--file name Process the specified premake script file
--clean Remove all binaries and build scripts
--verbose Generate verbose makefiles (where applicable)
--cc name Choose a C/C++ compiler, if supported by target; one of:
gcc GNU gcc compiler
dmc Digital Mars C/C+ compiler (experimental)
--dotnet name Choose a .NET compiler set, if supported by target; one of:
ms Microsoft (csc)
mono Mono (mcs)
mono2 Mono .NET 2.0 (gmcs)
pnet Portable.NET (cscc)
--os name Generate files for different operating system; one of:
bsd OpenBSD, NetBSD, or FreeBSD
linux Linux
macosx MacOS X
windows Microsoft Windows
--target name Generate input files for the specified toolset; one of:
cb-gcc Code::Blocks Studio with GCC
cb-ow Code::Blocks Studio with Open Watcom C/C++
cl-gcc CodeLite with GCC
gnu GNU Makefile for POSIX, MinGW, and Cygwin
monodev MonoDevelop
sharpdev ICSharpCode SharpDevelop
vs6 Microsoft Visual Studio 6
vs2002 Microsoft Visual Studio 2002
vs2003 Microsoft Visual Studio 2003
vs2005 Microsoft Visual Studio 2005 (includes Express editions)
vs2008 Microsoft Visual Studio 2008 (experimental)
--help Display this information
--version Display version information
Jason Perkins and the Premake Project 3.7 premake(1)