Sponsored Content
Full Discussion: >& >&! in /bin/csh
Top Forums UNIX for Beginners Questions & Answers >& >&! in /bin/csh Post 302975905 by abdossamad2003 on Tuesday 21st of June 2016 07:48:42 AM
Old 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

Using 2>&1 | tee $fout.login csh

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

PHP read large string & split in multidimensional arrays & assign fieldnames & write into MYSQL

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

Questions about /usr/local/bin & scripts.

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

replace & with & xml file

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&amp;data3</tag3> Now i can grep & and replace with &amp; for whole file but it will replace all... (4 Replies)
Discussion started by: lokaish23
4 Replies

5. Red Hat

/usr/bin/find && -exec /bin/rm never work as expected

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

ksh equivalent to >& in csh

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

Replace & sign to &amp word

Hi, I have text file abc.txt. In this file, I have the following data. Input: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith & Mrs Smith Mr Smith& Mrs Smith Mr Smith &Mrs Smith Output: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith &amp Mrs Smith Mr Smith&amp... (4 Replies)
Discussion started by: naveed
4 Replies

8. OS X (Apple)

When to use /Users/m/bin instead of /usr/local/bin (& whats the diff?)?

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

>& redirection not working within csh script

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

SFTP Shell Script Get & Delete && Upload & Delete

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
Pente(6)							   Games Manual 							  Pente(6)

NAME
pente - Game of five in a row SYNOPSIS
pente -help pente [ <options> ] HOW TO PLAY PENTE
Pente is the American name of a Japanese game called ``ni-nuki'', which is a variant of the ancient game ``go-moku''. Pente is played on a 19x19 grid with stones of two different colors. Each player chooses one set of stones; then the players take turns placing their stones on any unoccupied intersection until one player wins. There are two ways to win. If a player makes five or more stones in a straight line (across, down, or diagonally), then that player wins. Or, if a player captures five pairs of his or her opponent's stones, that player also wins. Stones may be captured in pairs only. To capture a pair of stones, a player must place one stone on either side of the pair. The first move is placed in the center of the board. To make up for the advantage of going first, the first player's second move must be at least three spaces from their first. This sounds confusing, so don't worry about it; just play, and if the computer won't let you move where you want on your second move, play somewhere farther away. That's it! These directions are pretty terse, but if you have an X display there are better directions available through the ``help'' but- ton. You can also try playing a few games; the rules are simple enough that you can pick them up easily just by playing. THE PROGRAM
This program has support for many different display types. Depending on the compile options used, X Windows, Curses, and a plain text for- mat may be available. The exact display type used will be chosen by the program, or it may be selected with a command line switch. Infor- mation on the switches is available with pente -help. Most of the command line switches can also be set with the ``setup'' window of the X interface. Any changes you make there will be saved in the .pente.ad file and remembered the next time that you play. The command line switches can also be set with an X default. For example, if you want to set black and white to be the default mode, you can run pente with pente -nocolor, or you can add pente*color: 0 to your X defaults, or you can just turn off color in the ``setup'' win- dow. Pente will store a new .pente.ad file every time you run it. In this file it will save the current state of Pente. This is handy; you don't normally have to set command line switches since Pente will remember them in the .pente.ad file. BUGS
Sometimes the .pente.ad file gets some bad data in it. Just delete the file and then you can start from scratch again. AUTHOR
Bill Shubert (wms@igoweb.org) French text by Eric Dupas (dupas@univ-mlv.fr) Italian text by Andrea Borgia (email: borgia@cs.unibo.it; homepage: http://www.cs.unibo.it/~borgia) 31 July 2001 Pente(6)
All times are GMT -4. The time now is 08:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy