LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to check the log? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-check-the-log-740264/)

bogwato 07-15-2009 10:37 AM

how to check the log?
 
Hi

I have one vps server hosting and I am very new to linux . Everytime i need help , i have to bug the support and they solved the problem. I am using Fedora 8 and is there any way to check the log of what they did to server in ssh ? some command line they did ? thank in advance.

helptonewbie 07-15-2009 02:09 PM

If you and your support people are loggin into the box it may be as simple as typeing the 'history' command. This will display all the commands that particular user has executed. The amount of commands you can see depends on how its set-up on your system. But generally the 'history' command gets its data from the 'cd ~/ ; cat .bash_history' of course if your using a bash shell. Apart from that then if your using a different shell to bash... i don't know. But try that... if not come back and maybe someone else can help.
Cheers,
M


All times are GMT -5. The time now is 09:10 PM.