10 More Discussions You Might Find Interesting
1. Red Hat
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies
2. Shell Programming and Scripting
my echo $var1 gives below value
1.7_NEW=25,1.7_RETAINED=30,1.7_RETURNING=40
i want it in 3 different values....
i.e. as
echo $1.7_NEW=25
echo $1.7_RETAINED=30
echo $1.7_RETURNING=40
the o/p of $1.7_NEW should be 25..... (5 Replies)
Discussion started by: nikhil jain
5 Replies
3. Shell Programming and Scripting
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Discussion started by: aix_admin_007
4 Replies
4. Shell Programming and Scripting
Hi,
i have a script, which is incomplete, am on my way developing it.
Input
1,12,2012,IF_TB001
2,12,2012,3K3
3,Z56,00000,25,229,K900,00, ,3G3, ,USD, ,0000000000,000, , , , 550000000
3,Z56,00000,53,411,W225,00,000, , ,USD,OM170,0000000000,000, , , , -550000000
4,Z56,COUNT, 4,SUM LOC,... (19 Replies)
Discussion started by: selvankj
19 Replies
5. Shell Programming and Scripting
Hello everyone,
I have a RHEL 5 system and have been trying to get a batch of 3-4 scripts each in a separate variables and they are not working as expected.
I tried using following syntax which I saw a lot of people on this site use and should really work, though for some reason it doesn't... (3 Replies)
Discussion started by: rockf1bull
3 Replies
6. Shell Programming and Scripting
Hi
I'm creating a script that creates files from svn checkout and compress them using tar.gz
the script gets the repository name from command line argument
i need to capture a number from the last line of the output and create a file name from it.
the svn returns output of all the file... (5 Replies)
Discussion started by: tzvio
5 Replies
7. UNIX for Advanced & Expert Users
#include <stdio.h>
#include <math.h>
// this function calculates the volume of a Cylinder
int main(void)
{
int r; // radius
int h; // height
double M_PI; // pi
int pOne = pow (r, 2);
// get user input of radius and height
printf ("Enter your... (3 Replies)
Discussion started by: pwanda
3 Replies
8. AIX
hi all,
Newbie to Unix and AIX. So my apologies if this is in the wrong place, etc.
Working on box -
uname# uname -a
AIX appt 3 5 00C08AAF4C00
when i type man (some valid command)
it just returns me to the # prompt.
Its running on the KSH shell.
man was working but i was trying... (6 Replies)
Discussion started by: djdavies
6 Replies
9. UNIX for Dummies Questions & Answers
hi all,
Newbie to Unix and AIX. So my apologies if this is in the wrong place, etc.
Working on box -
uname# uname -a
AIX appt 3 5 00C08AAF4C00
when i type man (some valid command)
it just returns me to the # prompt.
Its running on the KSH shell.
man was working but i was trying... (14 Replies)
Discussion started by: djdavies
14 Replies
10. UNIX for Advanced & Expert Users
I'm trying to compile and install both most recent version of 'make' and the
most recent version of 'openssh' on my Sparc20.
I've run into the following problems... and I don't know what they mean. Can
someone please help me resolve these issues?
I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies