General :: Can Not Use Command 'history' In Fedora13?
Nov 1, 2010Just as the subject,I didn't find a appropriate answer with google. Is there any command to replace it?
View 5 RepliesJust as the subject,I didn't find a appropriate answer with google. Is there any command to replace it?
View 5 RepliesBash'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?
What's the command to delete bash command history?
View 4 Replies View RelatedHow do I use the "history" command to fire the last run command?
View 3 Replies View RelatedIf 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 RelatedI am just wondering is there any other altrenate location which saves the history command logs other that bash_history file.
View 4 Replies View RelatedI 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?
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 RelatedCan 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 RelatedI want to use history command to show the time stamp, user id, ip address, command logged
View 1 Replies View Relatedwhat 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 Relatedwhile using history command i can able to see only last twenty histroy commands.
View 1 Replies View RelatedI 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 RelatedHow do I use the "history" command to fire the last run command?
View 4 Replies View RelatedI 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 Relatedsuppose 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
I have windows xp on my dell but I lost the drivers disk so I want to install linux Fedora 13 instead and wipe the windows xp. I burned the iso to a dvd and loaded up the live session user and used "Install to harddrive" but when I get to the partitioning window there is no harddrives to install to so I cant overwrite the windows drive (/C:)..
View 1 Replies View RelatedIs 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 Relatedjust wanted to know how to add subdomains, how to add users to those subdomains to send and receive mail in fedora 13.
View 3 Replies View RelatedOn a fresh Fedora 13 install, I have done:su yum install vncand:su yum install vnc-serveryum installs tigervnc and tigervnc-server with no errors. However, when I go into /etc/sysconfig/ to edit vncservers, vncservers does not exist. Also, there is no vnc service listed in the services, and doing:sudo service vncserver restartreturns the message:vncserver: unrecognized service
View 2 Replies View RelatedI am using fedora12 and i was wondering whether i could upgrade my fedora12 to fedora13!!i dont want to start installing fedora13 all over again(boot it again from a cd),i want to just upgrade it directly from my fedora12.when you install fedora13 will all the files of fedora12 get replaced with fedora13 or will it just add additional files onto your fedora12?
View 4 Replies View RelatedHow 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 RelatedI have installed fedora 13 recently and installed IDPS(snort) on it. But now I am not able to start service httpd. When I write service httpd start, it says OK, but I know it is a false message bcoz when I write service httpd stop it gives me Failed.
On writing service httpd status it gives a message:
httpd dead but subsys locked
I have tried "rm -f /var/lock/subsys/httpd" - no solution
yum update hasn't solved my problem as well.
I have to show my project running at my college. And I can not understand properly the technical instructions as I am new to linux.
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..
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 Relatedhow 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 RelatedI installed samba server on fedora13 last week and share some files from samba server GUI i also created samba user and password for shared folders but I can't get access samba share folder from neither fedora machine nor Windows XP When I open samba share from other fedora such as smb://192.168.10.2 I can see share file and when I browse folder, password required box is appeared but after I put samba username and password the Error message is Unable to mount location Failed to mount Windows share even when I browsed samba share from windows xp error message is \192.168.10.2smbshare is not accessible. you might not persioon to use this network resource. Contact the administrator The network path was not found.
[Code]...
How can I preserve the command history in/for Zsh after boot?
View 2 Replies View RelatedCan 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 Relatedless 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