Hi,
I'm new to solaris/ Unix and would like to know how to check in the system what
was the last login user were doing. Is there any way to check this? Thanks in advanced. (1 Reply)
does any one have any ideas how i would go about calculating the number of days left in the month from a bash script ?. I want to do some operations on a csv file according to the result (8 Replies)
Hi Guys,
I was working some time ago n was in need to calculate date 30/31 days from today including Feb (Leap yr stuff). Today date is variable depending on day of execution of script. I tried searching but was not able to get exactly what I needed....So at that I time I implemented by my own... (3 Replies)
OK, here is the output from a cron I have here:
FULL OUTPUT:
acoxxx Lastlogin= 2010/07/15 13:10
db2t Lastlogin= 2010/07/16 13:09
db2tadm Lastlogin= 2010/07/20 13:09
eisuser Lastlogin= 2010/07/20 11:53
israel Lastlogin= 2010/07/10 11:42
nmon Lastlogin= 2010/07/05 12:55
norbac Lastlogin=... (4 Replies)
I extract dates from the log file and need to calculate days between two dates. My dates are in yyyyMmmdd format. Example:
$d1=2011 Oct 21
$d2=2012 Feb 20
I need to calculate the number of days between $d2 and $d1. This is on Solaris.
Any ideas?
Thanks,
djanu (4 Replies)
I am unable to get this KSH script to work. Can someone help. I've been told this should work with KSH93. Which I think I have on Solaris 10.
If I do a grep -i version /usr/dt/bin/dtksh I get
@(#)Version M-12/28/93d
@(#)Version 12/28/93
@(#)Version M-12/28/93
This is correct for... (5 Replies)
Hi Every body,
I would need a shell script program to login as different user and perform some copy commands in the script.
example: Supppose ora_toms is the active user
ora_toms should be able to run a script where user: ftptomsp pass: XXX should login through and run the commands
... (9 Replies)
I wrote the day calculator also in bash. I would like to now, that is it good so?
#!/bin/bash
datum1=`date -d "1991/1/1" "+%s"`
datum2=`date "+%s"`
diff=$(($datum2-$datum1))
days=$(($diff/(60*60*24)))
echo $days
Thanks in advance for your help! (3 Replies)
Hi guys ,
I would like to check if there is any command I can list the inactive user with not log in more than 50 days?
Any help will be appreciated. Thanks (2 Replies)
Discussion started by: leecopper
2 Replies
LEARN ABOUT DEBIAN
mirrortool
MIRRORTOOL(1) OMT documentation. MIRRORTOOL(1)NAME
mirrortool.pl - OpaL Mirror Tool (OMT)
DESCRIPTION
Creates a mirror of a webpage. It has a number of features such as link rewriting and more. (See the options below).
USAGE
mirrortool.pl [options] [url] [options] [url] [...]
OPTIONS --images : Include <img src=xxx>:s in the download. (default)
--noimages : Do not include <img src=xxx>:s in the download.
--depth n : Maximum recursion depth. (default 1)
--store "regexp" : Files matching regexp are actually stored locally.
: It is possible to | separate (with or).
--rewrite "from=>to" : Urls are rewritten using this rules.
: It is possible to | separate (with or).
: Do not rewrite the dir, because that it will affect
: later lookup. Have to fix this sometime.
--what "regexp" : Files matching regexp are downloaded and traversed.
: It is possible to | separate (with or).
--dir basedir : Where to store local files.
--nohostcheck : Do not check if url points to other host.
--notreecheck : Do not check if url points to other dirtree.
--force : Overwrite all files.
--debug : Print debug-messages.
--retry n : Number of times an url will be retried (default 1)
--auth user:pass : use Basic Authentication
--proxy url : Use a proxy server (like http://u:p@localhost/).
--help : Print this text.
AUTHOR
Ola Lundqvist <opal@lysator.liu.se>
SEE ALSO mirrortool.pl(1)perl v5.8.8 2002-04-15 MIRRORTOOL(1)