Search Results

Search: Posts Made By: jyoung
Forum: AIX 03-27-2013
8,087
Posted By jyoung
I have a conference call with them this afternoon...
I have a conference call with them this afternoon so I will ask. Thank you for the response.

---------- Post updated at 02:10 PM ---------- Previous update was at 12:11 PM ----------

Update,
...
Forum: AIX 03-27-2013
8,087
Posted By jyoung
[SOLVED] Problem using scp to transfer a file
I am testing the following command to transfer a file from my server (AIX 5.2) to another server. I was able to generate the keys and sent them the public key.


scp -v -P 4030...
31,204
Posted By jyoung
You might also want to use the chown command to...
You might also want to use the chown command to change the ownership of the profile once it is copied to the new home directory. You may also have to use the chgrp command if the group is different.
2,339
Posted By jyoung
sort and uniq
I have an input file like so:

apples
peaches
pears
apples
peaches
pears
apples
peaches
pears


I sort it like so:
sort oldfruit > myfruit
I then use the uniq command like so:
uniq...
33,953
Posted By jyoung
Try searching the forums. There are several...
Try searching the forums. There are several answers that you can use.
1,820
Posted By jyoung
If it does not need to be secure then try a...
If it does not need to be secure then try a simple FTP script.

ftp -in 00.00.0.0 <<E-O-F
user login password
type ascii
put file.txt
quit
E-O-F
2,150
Posted By jyoung
I would do what Scott suggested and check to see...
I would do what Scott suggested and check to see if the file exist. If it does then perform your commands if not then exit the script.
2,150
Posted By jyoung
It works for me if I execute it this way: ...
It works for me if I execute it this way:
./testcode

This was done on AIX 5.2
17,670
Posted By jyoung
AIX also has the compress command. Not sure if...
AIX also has the compress command. Not sure if it is better. Here is a link:
pSeries and AIX Information Center...
36,411
Posted By jyoung
try: db2 connect to DB user USERID using PASSWORD
try: db2 connect to DB user USERID using PASSWORD
938
Posted By jyoung
I would start by searching these forums. There...
I would start by searching these forums. There are many examples of how to send mail using bash.
Forum: AIX 06-18-2012
29,161
Posted By jyoung
You should consider installing mutt. It is quite...
You should consider installing mutt. It is quite easy to do and use. I am far from being an expert, but was able to install it and have incorporated it into my scripts to send attachments. Good...
Forum: AIX 06-01-2012
3,318
Posted By jyoung
Use gunzip first to unzip them then try to untar...
Use gunzip first to unzip them then try to untar them.
2,201
Posted By jyoung
Works perfectly. Thank you for your help.
Works perfectly. Thank you for your help.
2,201
Posted By jyoung
Removing characters from end of string
Hello,
I have records like below that I want to remove any five characters from the end of the string before the double quotes unless it is only an asterik.

3919,5020 ...
6,890
Posted By jyoung
Maybe these links will help: Linux.ie :: The...
Maybe these links will help:
Linux.ie :: The Beginners Linux Guide (http://www.linux.ie/newusers/beginners-linux-guide/)
Beginners: Learn Linux (Linux Reviews) (http://linuxreviews.org/beginner/)...
1,510
Posted By jyoung
Would this work: $line = "diff: Some text...
Would this work:

$line = "diff: Some text here";
if ($line =~ m/\bdiff \b/)
{
print "found:\n";
}
else {print "Not found\n"}
Forum: AIX 02-28-2012
34,992
Posted By jyoung
And my response earlier was that the file already...
And my response earlier was that the file already has a carriage return and line feed. I also found that mutt works with the command I showed earlier leaving the carriage return/line feeds in place...
Forum: AIX 02-27-2012
34,992
Posted By jyoung
Hi Gary_W, Thank you for the script, but I...
Hi Gary_W,
Thank you for the script, but I don't have unix2dos.
Forum: AIX 02-27-2012
34,992
Posted By jyoung
Hi Corona688, I did some more searching and...
Hi Corona688,
I did some more searching and found that if I code the line this way:

mutt -a jim.txt -s "Test Email" me@mydomain.com < /dev/null

It sends the attachment with the...
Forum: AIX 02-27-2012
34,992
Posted By jyoung
Hi Corona688, The file is being written...
Hi Corona688,
The file is being written out by a Cobol program that places a Carriage Return, Line Feed at the end of each line. The uuencode seems to be removing the carriage return. The...
Forum: AIX 02-27-2012
34,992
Posted By jyoung
Using mutt from command line or script
Hello,
I am attempting to send emails from AIX 5.2 using either the mailx command or mutt. When I use mutt:

mutt -a jim.txt -s "Test Email" me@mydomain.com


It sends the attachment,...
6,389
Posted By jyoung
I have found that on our AIX unix box that if I...
I have found that on our AIX unix box that if I don't have the IP address pointing to the URL in the hosts file then it won't work. This is probably due to how we have it set up. Have you tried the...
Forum: AIX 07-21-2010
1,949
Posted By jyoung
I don't have a script to set up users, but here...
I don't have a script to set up users, but here is an example of using the alias command

alias lawobjmv="perl /lsf1/law/logan/edi_bin/lawobjmv"


You would place it in your .profile file in...
Forum: AIX 07-20-2010
1,949
Posted By jyoung
I usually place my scripts in /usr/local/bin then...
I usually place my scripts in /usr/local/bin then create an alias to execute it from any directory.
Showing results 1 to 25 of 259

 
All times are GMT -4. The time now is 10:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy