08-02-2017
Only if you rewrite the shell(s) that add data into the history file you are processing. The history (usually a shell built-in) utility doesn't write anything into a history file; it just reads and formats the data it finds there. In some shells the history utility may also be used to discard old history entries. But, it can't determine who added history entries to a history file after those entries have been written.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there.
How do I make the DB connection see the parameter variables passed to the unix script ? The code snippet below isn't working properly.
sqlplus << EOF
user1@db1/pass1
BEGIN
PACKAGE1.perform_updates($1,$2,$3);
END;
EOF
Thanks in advance,
Abrahao. (2 Replies)
Discussion started by: 435 Gavea
2 Replies
2. Shell Programming and Scripting
Hi,
Apologies if anyone has read my recent post on the same subject in the Linux forum, just thought actually the solution might more likely come from scripting.
Essentially, I am trying to restrict access to directories based on the user's name AND their location on a session-by-session... (3 Replies)
Discussion started by: en7smb
3 Replies
3. Solaris
I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies
4. UNIX for Dummies Questions & Answers
Hello
How to configure, or where to have each session history in different file
Example: someone is connecting as root and at this time is creating file in which we have history of executed command
to server is connecting another user and is created another file with command executed by... (1 Reply)
Discussion started by: vikus
1 Replies
5. Solaris
what is the difference between desktop session and console session in solaris
as i am wondering we use option -text for the former and -nowin for the later (1 Reply)
Discussion started by: kishanreddy
1 Replies
6. UNIX for Advanced & Expert Users
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)
Discussion started by: linuxadmin
3 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: sriky86
1 Replies
8. Red Hat
Dear All,
I want to keep all the session history in one file,please help me out to configure so.
Here is the test scenario-
Suppose i have three client A,B and C tries to log in to one Server XA there session specific command and Clint IPADDRESS should get logged in one file...like ... (0 Replies)
Discussion started by: monojcool
0 Replies
9. Red Hat
Dear All,
I want to display the command related to current session in Redhat Linux 5.
Below history command display all the command in ~/.bash_history file.
$history
My requirement is the command executed in my current session.I mean to say.
Suppose after log in as root i executed
... (1 Reply)
Discussion started by: monojcool
1 Replies
LEARN ABOUT CENTOS
ifstat
IFSTAST(8) System Manager's Manual IFSTAST(8)
NAME
ifstat - handy utility to read net interface statistics
SYNOPSIS
ifstat [options] [interface [interface [...]]]
DESCRIPTION
This manual page documents briefly the ifstat command.
ifstat neatly prints out network interface statistics. The utility keeps records of the previous data displayed in history files and by
default only shows difference between the last and the current call. Location of the history files defaults to /tmp/.ifstat.u$UID but may
be overridden with the IFSTAT_HISTORY environment variable.
OPTIONS
-h, --help
Show summary of options.
-V, --version
Show version of program.
-a, --ignore
Ignore the history file.
-d, --scan=SECS
Sample statistics every SECS second.
-e, --errors
Show errors.
-n, --nooutput
Don't display any output. Update the history file only.
-r, --reset
Reset history.
-s, --noupdate
Don't update the history file.
-t, --interval=SECS
Report average over the last SECS seconds.
-z, --zeros
Show entries with zero activity.
SEE ALSO
ip(8)
AUTHOR
ifstat was written by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.
This manual page was written by Petr Sabata <contyk@redhat.com>.
IFSTAST(8)