USERS="me you jim joe sue"
for user in ${USERS}; do
rmuser -p $user
usrdir=`cat /etc/passwd|grep $user|awk -F":" '{ print $6 }'`
rm -fr `cat /etc/passwd|grep $user|awk -F":" '{ print $6 }'`
echo Deleting: $user '\t' REMOVING: $usrdir
done
This is for AIX ONLY!!! but easily ported to... (0 Replies)
I wish to clean a text file of the following characters
1/2, 1/4, o (degrees)
I cant display these characters. I have tried ALT+189 etc (my terminal emulator is set to ASCII). How do I display the above ? I am using HP UX 10. (5 Replies)
Say I have a log file called is there a way to clean out certain files in this log by or when I go to VI this file it tells me and
I am guessing this means the file has become to large to append with VI so I was wondering if there was command with some argument to clean this out?
Thanks ... (6 Replies)
Hi,
I am facing problems while trying to clean a log file(Means making its file Size zero).
I am not the owner of this file. From the command line, I can clean it by becoming a Sudo. (">logfilename").
I want to automate it using perl. But inside a script, sudo somehow doesnt seem to work. ... (1 Reply)
Hello *!
Just a short question. Where on the system i can find core files. I have one SUN server (Solaris 8) and from time to time I must clean core files on it. But i am not sure where i can find those files. Thank you in advance. :) (5 Replies)
HI ,
I am getting the source data as below.
Source Data
CDR_Data,,,,,
F1,F2,F3,F4,F5,F6
5,5,6,7,8,7
6,6,g,,,
7,7,76,,,
8,8,gt,,,
9,9,df ,d,d,d
,,,,, (4 Replies)
Hi,
I have a file with multiple rows. each row has 8 columns.
Column 8 has entries separated by commas. I want to exclude all the rows in which column 8 has more than 3 commas.
1234#0/1 - ABC_1234 3 ATGCATGCATGC HHHIIIGIHVF 1 49:T>C,60:T>C,78:C>A,76:G>T,65:T>G
Thanks,
Diya (3 Replies)
Hi
I need some help to clean my code used to get city location.
wget -q -O - http://www.ip2location.com/ | grep chkRegionCity | awk 'END { print }' | awk -F"" '{print $4}'
It gives me the city but have a leading space.
I am sure this could all be done by one single AWK
Also if possible... (8 Replies)
I have some small problem with my code.
data.html
<TD class="statuscol2">c</TD>
<TD class="statuscol3">18</TD>
<TD class="statuscol4"><SPAN TITLE="#04">test4</SPAN></TD>
<TD... (4 Replies)
Please guide me how to get the head cleaning history on HP HP MSL4048 1 LT0-4 Ultrium 1840. (0 Replies)
Discussion started by: marunmeera
0 Replies
LEARN ABOUT HPUX
uuclean
uuclean(1M)uuclean(1M)NAME
uuclean - uucp spool directory clean-up
SYNOPSIS
[options]
DESCRIPTION
The commands, including are targeted for removal from HP-UX; see the below.
scans the spool directories for files with the specified prefix and deletes all those that are older than the specified number of hours.
Options
recognizes the following options:
Clean directory instead of the spool directory. If directory is not a valid spool directory, it cannot contain ``work
files''; i.e., files whose names start with These files have special meaning to pertaining to job statistics.
Scan for files with
pre as the file prefix. Up to 10 arguments can be specified. A without any pre following will cause all files older
than the specified time to be deleted.
Files whose age is more than
time hours are deleted if the prefix test is satisfied (default time is 72 hours).
The default action for
is to remove files that are older than a specified time (see option). The option is used to find files older than
time hours; however, the files are not deleted. If the argument file is present the warning is placed in file; oth-
erwise, the warnings go to the standard output.
Only files destined for system
sys are examined. Up to 10 arguments can be specified.
The option sends mail to the owner of the file when it is deleted. If a file is specified, an entry is placed in file.
This program is typically started by (see cron(1M)).
WARNINGS
Use of commands, including is discouraged because they are targeted for removal from HP-UX. Use ftp(1) or rcp(1) instead.
FILES
spool directory
SEE ALSO uucp(1), uux(1), cron(1M), uucleanup(1M).
Tim O'Reilly and Grace Todino,
O'Reilly & Associates, Inc. USA.
Grace Todino and Dale Dougherty,
O'Reilly & Associates, Inc. USA.
TO BE OBSOLETED uuclean(1M)