YES(1) User Commands 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 yes bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report yes translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
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 coreutils 'yes invocation'
should give you access to the complete manual.
GNU coreutils 8.5 February 2011 YES(1)
Check Out this Related Man Page
ARCH(1) User Commands ARCH(1)NAME
arch - print machine hardware name (same as uname -m)
SYNOPSIS
arch [OPTION]...
DESCRIPTION
Print machine architecture.
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by David MacKenzie and Karel Zak.
REPORTING BUGS
Report arch bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report arch translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO uname(1), uname(2)
The full documentation for arch is maintained as a Texinfo manual. If the info and arch programs are properly installed at your site, the
command
info coreutils 'arch invocation'
should give you access to the complete manual.
GNU coreutils 8.13 September 2011 ARCH(1)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)