Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: buechler66
1,070
Posted By buechler66
Yes, I did try creating a shell script to run...
Yes, I did try creating a shell script to run both commands. For whatever reason I get no ouput when running the script versus the single command. A bit perplexing. Regardless, I appreciate your...
1,070
Posted By buechler66
Thank you. The first option seems to work, but...
Thank you. The first option seems to work, but the second gives no output. I'll try to work with the first options. I appreciate your time.
1,070
Posted By buechler66
Identifying .log files
Hi. Is there a way to:

1) produce a listing of .log files
2) older than 5 years of age
3) that includes the full path and filename together with one file per line

Any help producing such a...
2,619
Posted By buechler66
Thank you both. Have it working now. Thanks for...
Thank you both. Have it working now. Thanks for your time.
2,619
Posted By buechler66
Trouble appending string constant to variable
Hi. I define my variables as:

month=jul
DD=17
YEAR=2012
transmission_file_name_only=test_$month$DD$YEAR_partial.dat

However when I run my script the variable 'transmission_file_name_only'...
3,518
Posted By buechler66
How to concatenate text files together
Hi. I'm attempting to copy 4 text files together to create one larger file. All four files contain text in the same format. Can I do this?


I attempted this, but it didn't work:


cp...
2,319
Posted By buechler66
jayan_jay you rock. Thank you so much!
jayan_jay you rock. Thank you so much!
2,319
Posted By buechler66
How to generate datetime string?
Hi. I'm hoping there is a simple method where I'm able to generate a datetime string that looks like this (yyyymmddhhmm):

201106280830

The tricky part would be that I need this string to...
5,470
Posted By buechler66
Check to see if a file exists?
Hi. I'd like to have an IF-Then-Else statement where I can check to see if a file exists? We have the Bourne Shell by default. I'm looking for the syntax to do something like this:

if...
4,836
Posted By buechler66
Thanks so much for taking the time to help. Much...
Thanks so much for taking the time to help. Much appreciated.
4,836
Posted By buechler66
Help with IF Condition Syntax
Hi. I expect the following unix script command to return 8:

ls -ltr dropez* | grep -c dropez

I can't seem to find the correct syntax (borne shell), can anyone help be to write an IF condition...
3,805
Posted By buechler66
Hmm...my system is AIX 5.3. Is this what you...
Hmm...my system is AIX 5.3. Is this what you mean? Does this help?
3,805
Posted By buechler66
Hmm, just returning: grep -A 10 -B 10 -E...
Hmm, just returning:


grep -A 10 -B 10 -E 'ERROR' myfile.txt
grep: Not a recognized flag: A
3,805
Posted By buechler66
grep output of a text file
Hi. I have a unix script 'if' condition that greps through a file and searches for the strings ERROR and WARNING.


if egrep -q 'ERROR|WARNING' myfile.txt; then


When this 'if' condition is...
1,967
Posted By buechler66
You rock! Thanks so much! ---------- Post...
You rock! Thanks so much!

---------- Post updated at 04:03 PM ---------- Previous update was at 02:46 PM ----------



Hi. Can I include more than one email address in this command? If so,...
1,485
Posted By buechler66
Perfect. Thanks for taking the time to help!
Perfect. Thanks for taking the time to help!
1,485
Posted By buechler66
Search a test file for specific words
I have the need to search a text file from my unix script to determine if it contains the strings of: 'ERROR' and/or 'WARNING'.

By using Grep I can search the file and return a where one of these...
1,967
Posted By buechler66
Sendmail Utility
Hi. Question from a novice. I'd like to have a unix script that sends me an email message, but I have no clue on the syntax. I do know this works from my mailtest.sh script:


/usr/lib/sendmail...
1,807
Posted By buechler66
Thanks so much for the help and alternative...
Thanks so much for the help and alternative ideas. I appreciate you taking the time to help.
1,807
Posted By buechler66
Find command
I'm using the Find command to search a folder and find files that are newer than a particular date/time and add them to a Tar file:


find . -type f -newer 201010181131 -exec tar -rvf myTarFile...
1,690
Posted By buechler66
Thank you both for the solutions. Great help...I...
Thank you both for the solutions. Great help...I appreciate it.
1,690
Posted By buechler66
Scripting using the FIND command
I'm working on a 'find' command which uses the -exec option to tar a listing of files that it finds. Is there a single option available that would both 1) create the TAR file if it doesn't exist...
1,820
Posted By buechler66
You rock. Thank you.
You rock. Thank you.
1,820
Posted By buechler66
Identifying New and Modified Files/Directories
Hi. Our shop is migrating to a new UNIX server and our hope is to do a full migration of all files to the new server weeks in advance of the final migration. As a result we want to identify files...
4,628
Posted By buechler66
This worked perfectly! I really appreciate the...
This worked perfectly! I really appreciate the help.
Showing results 1 to 25 of 34

 

Featured Tech Videos

All times are GMT -4. The time now is 11:58 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy