General :: Command History Alternate Location

Nov 23, 2010

I am just wondering is there any other altrenate location which saves the history command logs other that bash_history file.

View 4 Replies


ADVERTISEMENT

General :: Bash Command History Update Before Execution Of Command

Jun 7, 2010

Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).

I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?

View 1 Replies View Related

Ubuntu :: Ssh Always Use Alternate Key Location?

May 2, 2010

I know I can add the -i to an ssh command to choose an alternate ssh key:

ssh -i /path/to/private/key user@remote

Is there a way to permanently set the alternate key file location so I can just:

ssh user@remote

Issue is that this is a dual boot Win and Ubuntu, and I store all my data (keys also) on a separate partition.

View 2 Replies View Related

General :: Command To Delete Bash Command History?

May 31, 2010

What's the command to delete bash command history?

View 4 Replies View Related

General :: Use 'history' Command To Fire Last Run Command?

Oct 14, 2010

How do I use the "history" command to fire the last run command?

View 3 Replies View Related

Security :: Create A Remote .ssh Directory In An Alternate Location?

Feb 21, 2011

I've set up ssh passwordless logins using keygen etc.before so I know the routine.

The problem I'm currently having is setting passwordless logins when I don't have write permission to my "root" of the remote machine. More specifically the slice provided by a commercial web hosting provider. I can ssh and sftp just fine keying in the password manually but since I'm unable to create a .ssh directory in my "root" I'm unsuccessful in scripting logins. What I'm wondering is if the .ssh directory and associated security files can be placed in an alternate location such as the httpdocs directory and pass that location to ssh in a command line parameter.

View 8 Replies View Related

Software :: Install Kernel Source Or Specify Alternate Location

Feb 17, 2011

While I trying to install Linux cable driver following error occurred.
"checking for linux kernel source... not found
configure: error: please install the kernel source or specify alternate location"

I tried by "yum install kernel-devel" and headers but still problem continues. How to set the path or where it installed in default.
CentOs 5.5
uname -r :2.6.18-194.el5

View 3 Replies View Related

General :: Find Out PID Of A Command Which Is In History?

Jun 20, 2011

If someone has done something wrong on a shared linux machine. If i want to find out who is that person or ip from where it is been done what are all the possible ways. 1 possibility I thought was to get the PID of the command and get other details from that PID?

View 4 Replies View Related

General :: Can Not Use Command 'history' In Fedora13?

Nov 1, 2010

Just as the subject,I didn't find a appropriate answer with google. Is there any command to replace it?

View 5 Replies View Related

General :: Check The User Command History In Unix?

Aug 19, 2010

I know the 'history' command give me a list of the commands I have typed into the Unix terminal.

How do I see the command history for all of the users currently logged onto the system?

View 1 Replies View Related

General :: Command Line - How To View More Of My History In Screen

Jun 28, 2011

I was running scripts overnight from the command line (inside Screen on a Linux EC2 instance) and some errors that I was not tracking occurred. I want to "scroll up" or view more of the history in Screen, but I cannot seem to find any commands that will work. I need to see the onscreen output "further up" than I can on my current screen. CTRL + a is supposed to put me into scroll mode inside Screen, but it's not working.

View 4 Replies View Related

General :: Administration - View Command History Of Another User

Jul 11, 2011

Can anybody show me how to view command history of another user? I am an admin on my machine. I can see normal history by viewing /home/user_name/.bash_history but i can't see commands of that "user_name" when they were doing sudo. Is there a way to view all command executed by one user?

View 3 Replies View Related

General :: Use History Command To Show The Time Stamp?

Apr 13, 2011

I want to use history command to show the time stamp, user id, ip address, command logged

View 1 Replies View Related

General :: History With Date And Executed File/command?

Feb 17, 2011

what is the tool to get the history inclduing the user name,command time and from which file/folder the command is executed.

View 1 Replies View Related

General :: Histroy Command- Not Showing All The History Files?

May 22, 2010

while using history command i can able to see only last twenty histroy commands.

View 1 Replies View Related

General :: Check The Browsing History By Individual Users Web Surfing History By Their IP Addresses?

Jun 29, 2010

I am using squid proxy server for sharing Internet in my internal network. I would like to know that how can I check the browsing history by individual users web surfing history by their IP addresses?

View 1 Replies View Related

General :: Use "history" Command To Fire Last Run Command?

Oct 7, 2010

How do I use the "history" command to fire the last run command?

View 4 Replies View Related

Software :: Command To Get History Command Lines And Time In SUSE?

Jun 23, 2009

I have to trace back what command and when it is used for the last 3 months. It is quite urgent as I have trouble with the system configuration.

View 5 Replies View Related

Programming :: Calling Command From History Using Variable Like !$command?

Nov 19, 2008

suppose i store the history number of a command say :

1004 cat file

Then now i want to run it like : !1004 but by using a variable.

command=1004
!$command

i am getting errors like :

command=1004command

View 2 Replies View Related

General :: Ubuntu Location (Make Install Command)

Jul 4, 2010

When we,
./configure
make
make install
Where are the programs installed?

View 2 Replies View Related

General :: Command VM Install - Finding Exact Location Of File

Oct 30, 2009

I am using linux machine and execute a command vm-install to perform some operation. How would I find the exact location of this file.

View 1 Replies View Related

General :: Ubuntu - Package For Specific "command History" On Terminal Line?

Sep 19, 2011

Is there a package I can download for Ubuntu that would allow me to type in,for example, cd [tab key] and then it would go through the recent cd commands I've typed in?

View 2 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Fedora :: How To Know Command History Of All Users?

Jul 7, 2010

I am trying to find a method or tool to know the exact command history of all my users.I have tried to use "psacct" ,but it is not solving my perpous as it is only giving the command name.means let say 10 users have used "rm" command to remove 10 differint files then I want to know which user has removed what file.

But psacct will only give me the command name like rm used bu the user name.Then I tried to use the "w: command but it is also not solving the problem..

View 6 Replies View Related

Fedora :: Reset The History Of The Command At?

Dec 12, 2010

How can I reset the history of the command at? The system labels each command starting with 1, is there a ay to reset that back to 1.

View 2 Replies View Related

Server :: How To Save Command History

Jun 20, 2010

how to save command out put to another file. Ex: #ps -ef that particular cmd output i need to save another file. is it possible And how to save command history in Linux.

View 1 Replies View Related

Ubuntu :: Preserve The Command History In/for Zsh After Boot?

May 9, 2010

How can I preserve the command history in/for Zsh after boot?

View 2 Replies View Related

Ubuntu :: Directory History Displayed After Each Use Of 'cd' Command / Why Is So?

Jun 15, 2010

Can someone explain why my directory history is being displayed after each use of the 'cd' command. After about an hour the list is filling up my window.

View 6 Replies View Related

Programming :: Less Doesn't Save Command History

Aug 13, 2010

less doesn't save command history, i.e. file .lesshst isn't created. If I create it manually, nothing writes to it too.OS AIX 5.3 I think linux users can have the same issue, hardly this issue depends on OS.

View 9 Replies View Related

Software :: List Command History From Yesterday?

Feb 1, 2011

I know to list the command history with time stamp as follow:

Code:
export HISTTIMEFORMAT="%F %T"
history | more

But this just list the commands from today. But I want thoese from yesterday.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved