06-21-2016
>& >&! in /bin/csh
i am new player in linux
what does mean ">& and >&!" in script or command line?
thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I created this bash script. However when I tried to do it using csh, 2>&1 | tee $fout.log did not work.
#!/bin/bash
data=$1
inmod=$2
nxz=$3
data=` echo $data | awk 'BEGIN { FS=".dat" } { print $1 }' `
inmod=` echo $inmod | awk 'BEGIN { FS=".vmod" } { print $1 }' `
nx=`... (3 Replies)
Discussion started by: kristinu
3 Replies
2. Shell Programming and Scripting
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies
3. Solaris
Hi gentlemen.
For what intended is the directory /usr/local/bin? In this directory are some script.
I don't understand how these scripts being in this directory are started.
Each time after registration of the user occurs start of these scripts. These scripts start applications. (7 Replies)
Discussion started by: wolfgang
7 Replies
4. Shell Programming and Scripting
Hello All
I have a xml file with many sets of records
like this
<mytag>mydata</mytag>
<tag2>data&</tag2>
also same file can be like this
<mytag>mydata</mytag>
<tag2>data&</tag2>
<tag3>data2&data3</tag3>
Now i can grep & and replace with & for whole file but it will replace all... (4 Replies)
Discussion started by: lokaish23
4 Replies
5. Red Hat
hi there,
Would you able to advise that why the syntax or statement below couldn't work as expected ?
/usr/bin/find /backup -name "*tar*" -mtime +2 -exec /bin/rm -f {} \; 1> /dev/null 2>&1
In fact, I was initially located it as in crontab job, but it doesn't work at all. So, I was... (9 Replies)
Discussion started by: rauphelhunter
9 Replies
6. Shell Programming and Scripting
In csh I am using >&. What is the equivalent in ksh??
>& - redirect stdout and stderr (csh,tcsh) (18 Replies)
Discussion started by: kristinu
18 Replies
7. Shell Programming and Scripting
Hi, I have text file abc.txt. In this file, I have the following data.
Input:
Mr Smith & Mrs Smith
Mr Smith &apos Mrs Smith
Mr Smith & Mrs Smith
Mr Smith& Mrs Smith
Mr Smith &Mrs Smith
Output:
Mr Smith & Mrs Smith
Mr Smith &apos Mrs Smith
Mr Smith & Mrs Smith
Mr Smith&... (4 Replies)
Discussion started by: naveed
4 Replies
8. OS X (Apple)
Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself.
But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies
9. Shell Programming and Scripting
I'm having a strange problem with basic >& output redirection to a simple log file in csh. When I run this particular output redirection on the command line, it works, but then when I run the same output redirection command >& in my c shell script, I get a blank log file. Nothing is output to the... (5 Replies)
Discussion started by: silencio
5 Replies
10. Shell Programming and Scripting
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Discussion started by: weesiong
3 Replies
LEARN ABOUT SUSE
ggz-wrapper
ggz-wrapper(6) GGZ Gaming Zone ggz-wrapper(6)
NAME
ggz-wrapper - GGZ Gaming Zone command line core client
SYNOPSIS
ggz-wrapper [--gametype GAMENAME] [--user NAME] [--destnick NAME] [OPTION...]
DESCRIPTION
The GGZ Gaming Zone allows people to play many games online using so-called GGZ core clients which are chat clients with integrated game
launchers.
The ggz-wrapper tool is a small special GGZ core client for the command line. It does not support chat or display of rooms, tables and
players, but instead is useful for fast launching of online games. Therefore, its main purpose is to be invoked from instant messengers
such as gaim or kopete.
It currently supports all two-player games, as human against human or human against bot. If no options are given, ggz-wrapper will invoke a
Tic-Tac-Toe game client on the default GGZ server, live.ggzgamingzone.org, logging in as guest user.
OPTIONS
--gametype=GAMENAME
The name of the game to play, e.g. TicTacToe or Chess. This option expects a case-sensitive argument which must match one of the
available game modules in ggz.modules. If the game type is not supported by the specified GGZ server, the invocation will fail.
--user=NAME
The name of the player who is running the client. The default is to run with an automatically generated guest user name. In order to
use a registered name, the option --password is implied.
--destnick=NAME
The name of the other player. If omitted or empty, the player running the client will launch the table (game host). If empty, other
player will be the bot. If not empty, player will join the table which the other player already launched.
--password=PASSWORD
Password to use in case of playing as a registered user. Note that on a multi-user systems, other users might see the password,
which is a security risk.
--server=SERVER
The server to play on. If not specified, the default server is ggz://live.ggzgamingzone.org.
--port=PORT
The port to use to connect to the GGZ server. PORT is almost always 5688, so this option is rarely needed.
AUTHORS
The GGZ Development Team <ggz-dev@mail.ggzgamingzone.org>
SEE ALSO
ggz.modules(5), ggz(7)
The GGZ Development Team 0.0.14 ggz-wrapper(6)