10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I'm trying to writte a script (crontab) to copy files from one location to another... this is what i have:
find . -name "VPN_CALLRECORD_20130422*" | xargs cp "{}" /home/sysadm/patrick_temp/
but that is not working this is the ouput:
cp: Target... (5 Replies)
Discussion started by: patricio181
5 Replies
2. UNIX for Dummies Questions & Answers
Hi Guru's
Trying to make a copy of my website( I have very limited access ie: no shell access.) to a local ubuntu server with full access.
What is the best way to make a copy of my site. I have ftp cli, lftp, wget ... just not sure what to use and how. Want to be able to do a recursive... (6 Replies)
Discussion started by: djlane
6 Replies
3. Shell Programming and Scripting
Simply, when i have tool "pdftotext", "sed" or "wget" and if this tool make an error in converting or downloading or something, I want to terminate my script...something like:
if ; then
exit 1
fi
bud I dont know how..can you help guys?:confused: (3 Replies)
Discussion started by: Lukasito
3 Replies
4. Shell Programming and Scripting
I want to copy last 30days old files from one location to another. Please help me to list the last 30 days files and copy the last 30 days files from the current list. (1 Reply)
Discussion started by: formanikandan
1 Replies
5. UNIX for Dummies Questions & Answers
Is this possible?
Say I create an account today and in 90 days I want it to be turned off.
Is this sort of thing possible using the built in components of a Unix system?
(Using Solaris 9)
I see things about password expires, but what if the person changes his password on the 89th day,... (1 Reply)
Discussion started by: LordJezo
1 Replies
6. UNIX for Dummies Questions & Answers
i have this HDD with SCO 5.0.6 and i'm getting this errors
WARNING: wd0: Error on fixed disk dev 1/42, block=4829, cmd=0x000000C8
Sun Mar 11 05:50:08 2007
status=0x00000040, LBA sector=1285723, cylinder/head=5022/0
WARNING: wd0: Error... (0 Replies)
Discussion started by: josramon
0 Replies
7. Programming
Hi, so far i am writting make file explicitly, is there is any tool is there to write make file automatically....if so please tell me about that...
Thanks in advance
Sarwan (4 Replies)
Discussion started by: sarwan
4 Replies
8. AIX
Hi,
Does anyone has installed bb on a unix system ? I am trying to install bb on aix 5.3 but I have the following message: If someone can help me probably there is a tool that I need to install ? I don't have C compiler I install gcc instead and gcc++ etc ...
bb:/home/bb/bb1.9g-btf/src/ $ make... (0 Replies)
Discussion started by: touny
0 Replies
9. UNIX for Dummies Questions & Answers
whitout using awk / sad and so on? (3 Replies)
Discussion started by: umen
3 Replies
10. UNIX for Advanced & Expert Users
Hi,
Can we get code of a particular day from the Clearcase?
If it is possible how we can do it? What is the method?
- Push (2 Replies)
Discussion started by: pushpagiri
2 Replies
UTMPDUMP(1) System Administration UTMPDUMP(1)
NAME
utmpdump - dump UTMP and WTMP files in raw format
SYNOPSIS
utmpdump [-frh] [ filename ]
DESCRIPTION
utmpdump is a simple program to dump UTMP and WTMP files in raw format, so they can be examined. utmpdump eads from stdin unless a file-
name is passed.
OPTIONS
-f, --follow
Output appended data as the file grows.
-r, --reverse
Undump, write back edited login information into utmp or wtmp files.
-h, --help
Print a help text and exit.
-V, --version
Output version information and exit.
NOTES
utmpdump can be useful in cases of corrupted utmp or wtmp entries. It can dump out utmp/wtmp to an ASCII file, then that file can be
edited to remove bogus entries and reintegrated, using
utmpdump -r < ascii_file > wtmp
but be warned as utmpdump was written for debugging purpose only.
BUGS
You may not use the option -r as the format for the utmp/wtmp files strongly depends on the input format. This tool was not written for
normal use but for debugging.
AUTHOR
Michael Krapp
SEE ALSO
last(1), w(1), who(1), utmp(5)
AVAILABILITY
The utmpdump command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils
/util-linux/>.
util-linux July 2012 UTMPDUMP(1)