Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yes(1) [redhat man page]

YES(1)									FSF								    YES(1)

NAME
yes - output a string repeatedly until killed SYNOPSIS
yes [STRING]... yes OPTION DESCRIPTION
Repeatedly output a line with all specified STRING(s), or `y'. --help display this help and exit --version output version information and exit AUTHOR
Written by David MacKenzie. REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>. COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
The full documentation for yes is maintained as a Texinfo manual. If the info and yes programs are properly installed at your site, the command info yes should give you access to the complete manual. GNU coreutils 4.5.3 February 2003 YES(1)

Check Out this Related Man Page

PASTE(1)								FSF								  PASTE(1)

NAME
paste - merge lines of files SYNOPSIS
paste [OPTION]... [FILE]... DESCRIPTION
Write lines consisting of the sequentially corresponding lines from each FILE, separated by TABs, to standard output. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options too. -d, --delimiters=LIST reuse characters from LIST instead of TABs -s, --serial paste one file at a time instead of in parallel --help display this help and exit --version output version information and exit AUTHOR
Written by David M. Ihnat and David MacKenzie. REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>. COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
The full documentation for paste is maintained as a Texinfo manual. If the info and paste programs are properly installed at your site, the command info paste should give you access to the complete manual. paste (coreutils) 4.5.3 February 2003 PASTE(1)
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Posted a Question Yesterday

Was wondering if it was too stupid and got deleted? Because it's gone now from the board. I was asking about For Loops ----? #!/usr/bin/bash bank=`cat /export/home/usr/banklist.txt` cdir=`cat /export/home/usr/mountlist.txt` for d in $cdir do ls -l /apps/data/custdata/$d/$i/incoming/... (15 Replies)
Discussion started by: xgringo
15 Replies

2. Shell Programming and Scripting

get yesterday in yyyymmdd format

how can i get yesterday in yyyymmdd format? :confused: (13 Replies)
Discussion started by: aaron_fong
13 Replies

3. Shell Programming and Scripting

Need some help with this script -- extra eyes

I have two issues with this script. 1. I cannot seem to get my counters to count correctly. 2. My function to eject to CAP1 or CAP2 is hung in a loop and doens't exit back to the previous function. I would like to be able to select which cap to eject to . Each cap holds only 40 tapes, so when one... (15 Replies)
Discussion started by: gzs553
15 Replies

4. Shell Programming and Scripting

basic script for yes and no answers

What is the basic syntax for a script that says do you want to do this? y - execute this n - end not y or n - end and print this for example if I want to run this: "Do you want to start this process?" answer if y,Y, or yes then run the following script (do I put the script with... (10 Replies)
Discussion started by: llsmr777
10 Replies

5. Shell Programming and Scripting

Compare date from db2 table to yesterday's Unix system date

I am currently running the following Korn shell script which works fine: #!/usr/bin/ksh count=`db2 -x "select count(*) from schema.tablename"` echo "count" I would like to add a "where" clause to the 2nd line that would allow me to get a record count of all the records from schema.tablename... (9 Replies)
Discussion started by: sasaliasim
9 Replies

6. Shell Programming and Scripting

Korn Shell Script - Getting yesterdays date

I need to get yesterdays date in the format yyyymmdd I can get today's date simply enough - 20031112 Is there any way to substract 1 from this easily enough in korn shell script? It has to be korn shell and not perl (20 Replies)
Discussion started by: frustrated1
20 Replies

7. Shell Programming and Scripting

Problem to get yesterday's date flatfile with shell script

hi, i was required to write a shell script to get yesterday's date flatfile. but i only know how to get today's date flatfile. Please observed my below scripting: Please help! Thanks ================================================= #!/bin/sh HOST='192.168.1.200' USER='ftp1'... (19 Replies)
Discussion started by: lifeseries
19 Replies

8. Shell Programming and Scripting

Getting yesterday DATE

Hi It is possible pass to one program a parameter YESTERDAY DATE , i mean the current date less one day (sysdate -1) ? (21 Replies)
Discussion started by: osymad
21 Replies

9. Shell Programming and Scripting

Find and change flag "Yes to No" or "No to Yes"

name:age:girlfriend aa:11:yes bb:22:yes cc:33:no dd:44:no ee:55:yes I want to change the cc, the status of girlfriend to yes. Find cc, and then change! how can i do this? (16 Replies)
Discussion started by: rafazz
16 Replies

10. Shell Programming and Scripting

override protection 644 (yes/no)?

Hi pls help me out to short out this problem rm PAB113_011.out rm: PAB113_011.out: override protection 644 (yes/no)? n If i give y it remove the file. But i added the rm command as a part of ksh file and i tried to remove the file. Its not removing and the the file prompting as... (9 Replies)
Discussion started by: sri_aue
9 Replies

11. Shell Programming and Scripting

How to get yesterday's date accurately using ksh?

At the time of running following commands my Unix system's time for eastern day light savings was --> 201104210003(yyyymmddHHSS) # This seem to be more accurate.. $> echo $(TZ=$(date +%Z)+28 date +%Y%m%d%H%M) 201104200003 # This was constructed from old posts from this forum to find... (14 Replies)
Discussion started by: kchinnam
14 Replies

12. Shell Programming and Scripting

How to display yesterday Date in AIX

Hi, I need help to display the yesterday date in format mentioned below: 2012-06-26-PMI tried this but it displays current date: `date +%Y-%m-%d-%p` (9 Replies)
Discussion started by: aroragaurav.84
9 Replies

13. Shell Programming and Scripting

Grep for string and substitute if exits with a yes/no

Hi I have 3 files in total. file 1 is enriched.txt file2 is repressed.txt and file 3 is my content.txt What i need is query the content file against both enriched and repressed and wherever the gensymbol is same in both the files then add a yes value against it file1 Gene ABC XYZ MNO... (12 Replies)
Discussion started by: Diya123
12 Replies

14. UNIX for Advanced & Expert Users

Yesterday in UNIX

Hi, I want to set a cron job with the yesterday date in a unix server (solaris). I tried TZ=CST+24 date +%Y%m%d but i had TZ=CST+24: not found I tried `perl -mPOSIX -e 'print POSIX::strftime("%Y%m%d",localtime(time() - 86400)) '` it works but I'm not sure that all the clients have perl... (12 Replies)
Discussion started by: chaima.trimeche
12 Replies