Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-05-2007, 03:53 AM
|
#1
|
Member
Registered: Oct 2007
Posts: 160
Rep:
|
which file stores the process details
hi
where is the file located which stores the details about the users processes(ie. the program's which had been run) .is there any command that will show these details.
thank u
|
|
|
11-05-2007, 04:03 AM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Rep:
|
the help cmd for processes is :
ps --h
|
|
|
11-05-2007, 04:13 AM
|
#3
|
Member
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47
Rep:
|
check the /proc filesystem
|
|
|
11-05-2007, 04:48 AM
|
#4
|
Member
Registered: Oct 2007
Posts: 160
Original Poster
Rep:
|
thank u guys
i need to know the history of the users(the programs executed by the user)
which file does store all the details.
|
|
|
11-05-2007, 06:18 AM
|
#5
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep:
|
Not sure, but try:
/home/user/.bash_history
|
|
|
11-05-2007, 01:41 PM
|
#6
|
Member
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47
Rep:
|
As brianL said,
under the home directory of the user you will find .bash_history file which stores all the commands executed in bash shell.
how many can be stored based on the setting in the environment variable HISTORY
check this by typing
env | grep HISTORY
|
|
|
All times are GMT -5. The time now is 08:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|