11-24-2009
saving history
Have you experimented with altering the fc command ?
10 More Discussions You Might Find Interesting
1. Programming
Can I do it like this?
if (strcmp(argv, "history")==0)
{
argv = "10";
execvp(argc,argv);
}
actually, it doesn't work,
How can I modify it?
Thanks (17 Replies)
Discussion started by: zhshqzyc
17 Replies
2. UNIX for Advanced & Expert Users
hi
I want to know how to save all the command used by all the used under a particular root with the time stamp in a file.
Eg:
User Name: UX10
Time: 10:56
Command: LS
User Name: UX23
Time: 10:59
Command: MORE abc.txt
-Anand (2 Replies)
Discussion started by: anandtharani
2 Replies
3. UNIX for Dummies Questions & Answers
Like the topic says, does anyone know if it is possible to check to see when an FTP only user has logged in? Because the shell is /bin/false and they are only using FTP to access the system doing a "finger" or "last" it says they have never logged in.
Is there a way to see when ftp users log in... (1 Reply)
Discussion started by: LordJezo
1 Replies
4. Shell Programming and Scripting
dear all ,
I m new to shell programming and I need your help.
Actually i want to keep track of all the commands executed in a bash prompt of users ,
very much in same manner as it is displayed when we run "history" command.
now the users are smart enough as they delete their history by... (6 Replies)
Discussion started by: xander
6 Replies
5. UNIX for Dummies Questions & Answers
Hi, i suddenly realized that a directory is deleted unfortunately there are many user have pervilages on this directory
is there a way to track the user who delete this directory
or atleast from now can i enable something so that i can track from now
I think there is way from... (2 Replies)
Discussion started by: crackgeek
2 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The task is to measure the density of users that are logged on system. The program
should check that every 30... (7 Replies)
Discussion started by: petel1
7 Replies
7. AIX
I'm looking for a way to track commands that are run as root after a user runs sudo su - root. I have a profile set up for root that will track the commands by userid but if we change the shell it only stores it in that shells history file. (2 Replies)
Discussion started by: toor13
2 Replies
8. UNIX for Dummies Questions & Answers
Hi All
Please can you help me with the following issue:
A certain vendor installed an application in which for a user to log in; the user must use a user created/predefined by the application. And because this application has more than one user its difficult to track who did what and when,... (6 Replies)
Discussion started by: fretagi
6 Replies
9. UNIX for Advanced & Expert Users
Hi All
We have a job which writes files to a server at a particular time. The files will be created by a particular user ID
Today, during the execution of the job, it created a file to the server and the file sat on the server for sometime, but was deleted immediately at the end of the... (4 Replies)
Discussion started by: sparks
4 Replies
10. Shell Programming and Scripting
Hi
I need to track what commands run in login session in solaris whether it is root or any normal users in bash shell.
My actual requirement is that when a user (nomal/root) login into the system, whatever commands he run, it should log into file on specified path . I don't require command... (4 Replies)
Discussion started by: hb00
4 Replies
LEARN ABOUT HPUX
shape_stdrul
SHAPE_STDRUL(7) Miscellaneous Information Manual SHAPE_STDRUL(7)
NAME
shape stdrul - shapeTools RMS general version selection rules
DESCRIPTION
The shape release management system requires a set of standard version selection rules to be accessible project wide. These are defined in
the stdrules file, which is to be included into the Shapefiles of any part of the system controlled by the shapeTools release management
system. Version selection rules drive the binding of component names in the Shapefile to specific versions during a build or release
process (or better: any process performed by invocation of shape(1) ). Some functions of shape_RMS allow definition of the version binding
rule being active by defining the VERSIONS macro on the command line. This may be set to any of the rule names listed below.
If you want to introduce new version selection rules for project wide use, you may add them to the stdrules file. You should be very care-
ful, when altering this file. Do not remove any of the rules defined in the original version of stdrules (as it comes from the shapeTools
distribution tape) because these are essential for the release management system. When altering one of the original selection rules, you
should be very concious of what you are doing, as you may affect the operationality of shape RMS. For a description of the syntax of rule
definitions, see the shape(1) manual.
The standard version selection rules are:
most_recent
For each component select a busy version if available, the most recent saved version otherwise.
last_proposed
Use the last proposed version of each component. This rule fails, if no proposed version is available
last_released
Select versions from the last generated release.
last_prereleased
Select versions from the last generated prerelease.
recent_release
Select versions included in the last release or prerelease, whichever is newer.
from_release
Select versions from a specific release or prerelease. When using this rule the value of the macro RELEASENAME has to be set to
the name of the desired (pre)release.
extern Always select a busy version (a regular UNIX file). This rule should be applied to all extern components that are not under con-
trol of the shapeTools version control system.
FILES
$(SHAPELIBPATH)/stdrules
SEE ALSO
shape_RMS(1), shape(1)
14.10.119 SHAPE_STDRUL(7)