Search Results

Search: Posts Made By: tads98
3,147
Posted By tads98
thanks. the commnad that I executed was ...
thanks.

the commnad that I executed was

bdf -l

Sample result

Filesystem kbytes used avail %used Mounted on
/dev/optvg2/fs_psofthr80 10485760 6742188 3525759 0.66 /psoft/hr80...
3,147
Posted By tads98
identify free disk spaces
Hi experts,

I need to determine if I have 4GB free space on my UNix server? Is there a way that I can do it instead of executing df -k . in each folder?


Thanks for your help.
1,662
Posted By tads98
you can create a file (msg1.txt) that contains...
you can create a file (msg1.txt) that contains your email message.

send it using this command
mailx -s "Your Subject" email_address@dom.com < msg1.txt
or
cat msg1.txt | mailx -s "Your Subject"...
4,136
Posted By tads98
The script below will search for files older than...
The script below will search for files older than $FileAge and compress it. You can change the compress command to delete.

Hope this helps.

#!/bin/ksh
echo "Enter age of file to retain for...
4,697
Posted By tads98
thanks jim!
thanks jim!
4,697
Posted By tads98
I do apologize if it appeared that way. honestly...
I do apologize if it appeared that way. honestly i tried the whole day reading about arrays and doin some scripting stuff. unfortunately until now, I am still trying to understand all of it. i just...
4,697
Posted By tads98
thanks! kindly interpret how this works. this...
thanks! kindly interpret how this works. this gets the last entry for each IP. is there a way on how I can include a grep using this? I want to get the last entries with the myURL for each IP. thanks!
4,697
Posted By tads98
thanks! it worked! Here's a followup...
thanks! it worked!

Here's a followup question...
I have a file that contains around 1500+ IPs, I want to get the last 5 entries of these IPs from the huge web log. how can I modify it to get only...
2,331
Posted By tads98
or in grep
this is my 3rd post for the day... cant think anymore...

is there a way to do this via unix command?

cat <file> | grep <string1> or <string2> | tail -1 > file.list

i want to grep for string1...
3,592
Posted By tads98
comm command in sorting IP
i have 2 files that contains a sorted list of IP addresses.
file_A contains a list of all IPs
file_B contains only around 50% of what is in file_A.

I tried to execute

comm -23 file_A...
4,697
Posted By tads98
faster way to loop?
Sample Log file

IP.address Date&TimeStamp GET/POST URL ETC
123.45.67.89 MMDDYYYYHHMM GET myURL http://ABC.com
123.45.67.90 MMDDYYYYHHMM GET myURL http://XYZ.com

I have a very huge web server...
2,098
Posted By tads98
### Function to check if ftp was successful ###...
### Function to check if ftp was successful ### For Unix and NT
chk_ftp() {
grep -i 'Transfer complete' $TMP_DIR/ftpout.$$.log
transfer_code1=$?
echo $transfer_code1

grep -i 'Transfer...
4,553
Posted By tads98
thanks! that's great! i tested it and it worked! ...
thanks! that's great! i tested it and it worked!

just to understant things... what does this mean? sed 's/.*\(..\)\..*/\1/'
4,553
Posted By tads98
get the last 2 char from a variable
i have 2 variables
VAR1=12345_SNT.in1
VAR2=123456_LXP.in2

how can i get the last 2 characters before the .
for VAR1, i only want to get the NT
for VAR2, i only want to get the XP

the length...
2,762
Posted By tads98
see this... /home:>echo "First Line.\nSecond...
see this...

/home:>echo "First Line.\nSecond Line.\nThird Line. " > tmp.txt

/home:>cat tmp.txt
First Line.
Second Line.
Third Line.

if you want to edit an exisiting file that is delimited...
14,819
Posted By tads98
thanks! im really not familiar on how smtp...
thanks!
im really not familiar on how smtp works, does it really have quota on the size of email messages it can handle at a certain time?
14,819
Posted By tads98
UNABLE to send 5MB attachment using mailx
hi,

i've created a script that sends out an email using the mailx and uuencode command. the script is ok, but when a 5MB attachment is sent, there are time that the intended recepients does not...
Forum: HP-UX 08-15-2005
7,281
Posted By tads98
i apologize. someone already deleted my post from...
i apologize. someone already deleted my post from unix scripting.

hope this is the right forum for my question. let me know otherwise.
Forum: HP-UX 08-15-2005
7,281
Posted By tads98
UNIX ID Password Expiration
We are trying to implement an Password Aging system that will force UNIX Accounts to change their passwords every 3 mons or so. This will be done my our Server Support Provider.

We want to...
28,072
Posted By tads98
thanks for the help!
thanks for the help!
28,072
Posted By tads98
told you i was not techie :) bourne shell...
told you i was not techie :)

bourne shell vs. korn shell.
28,072
Posted By tads98
difference between ksh and bsh
i am not that techie when it comes to unix. all i know is how to code...

kindly enlighten me regarding the difference between ksh and bsh. we are currently running scripts using ksh... what would...
13,683
Posted By tads98
Sorry, we are running an Oracle Database in a...
Sorry, we are running an Oracle Database in a UNIX Server. Thanks for the help.
13,683
Posted By tads98
we are running an HP-UX Unix Server...
we are running an HP-UX Unix Server...
13,683
Posted By tads98
get physical and virtual memory
What command can i use to get the physical and virtual memory of a database?
Showing results 1 to 25 of 40

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