Which should list all of the commands in the hist file stripping away any non-printable characters that Kshell adds.
It also occurred to me that your history might be deleted each time you log in, or might be placed into a different file for each login session that you have. Might make finding the right file, if it still exists, a bit of a challenge.
Hi,
I have files coming in every day with that days timestamp like:
nameyyyymmddhhmmss.ext.
I need the most recent one and so i am using
cat `ls -t name*|head -1 ` > temp
i am sorting the files in the decending order and am copying the most recent one into a temp file.
It works at times... (3 Replies)
Hi all,
I'm running on a Sun Solaris machine. I would only want to keep the last 2 most recent files on 1 of my directory.
Below shows my script, but it is incomplete. For the ?? part I do not know how to continue. please help:confused:
DIR=/tmp/abc
OUTPUT=/tmp/output.out... (1 Reply)
I have a set of values like this and sometimes more
source5local_02Dec2008
source5local_01Nov2008
source5local_05Sep2008
I need to retrieve the string with the most recent date
if I cut the date value from each of these strings is there any means to compare them (3 Replies)
Hi people,
Please some help over here.
I have logs in a directory, in which I need to get the most recent file in order to put it within other command.
The format of the files are
loadfiles20090308094339_41
loadfiles20090308094418_42
loadfiles20090308095457_43... (4 Replies)
How do you get your recent vi command history to show up? I keep randomly getting like my previous 5 commands and can't figure out how I'm doing it. I think it has something to do with the shift key and another button. (6 Replies)
Hello every body,
Kindly inform me How Do i find out the time I executed a command previously on UNIX Solaris??
To be more specific and more clear about what i want to know is that I want a command the enables me to know the history and which command i run at this history/time.
FYI I used... (5 Replies)
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (3 Replies)
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (1 Reply)
I am pleased to announce this new video in 1080 HD for UNIX lovers honoring thirty years of UNIX history spanning from 1969 to 1999 presented in 150 seconds (two and a half minutes) in 1080 HD, celebrating the 50th anniversary of UNIX.
The Great History of UNIX (1969-1999) | 30 Years of UNIX... (8 Replies)
Discussion started by: Neo
8 Replies
LEARN ABOUT DEBIAN
calendarserver_purge_events
CALENDARSERVER_PURGE_EVENTS(8) BSD System Manager's Manual CALENDARSERVER_PURGE_EVENTS(8)NAME
calendarserver_purge_events -- Darwin Calendar Server event clean-up utility
SYNOPSIS
calendarserver_purge_events [--config file] [--days number] [--dry-run] [--verbose] [--help]
DESCRIPTION
calendarserver_purge_events is a tool for removing old events from the calendar server. By default, events older than 365 days are removed,
but the user can specify the number of days in the past to use as a cut-off. Repeating events that have any occurrences after the cut-off
day are not removed.
calendarserver_purge_events should be run as a user with the same priviledges as the Calendar Server itself, as it needs to read and write
data that belongs to the server.
OPTIONS -h, --help
Display usage information
-f, --config FILE
Use the Calendar Server configuration specified in the given file. Defaults to /etc/caldavd/caldavd.plist.
-d, --days NUMBER
Specify how many days in the past to retain. Defaults to 365 days.
-n, --dry-run
Calculate and display how many events would be removed, but don't actually remove them.
-v, --verbose
Print progress information.
FILES
/etc/caldavd/caldavd.plist
The Calendar Server configuration file.
SEE ALSO caldavd(8)BSD June 17, 2009 BSD