0
votes
1answer
41 views

Setting up an IRC server with persistent chat history and timestamps on Raspbian?

I have bought a Raspberry Pi which I intend to use as a 24/7 IRC server, probably using IRCD-Hybrid. Ideally, this server would have a persistent chat history (where new people joining the channel(s?) ...
2
votes
1answer
152 views

chromium/ubuntu: where is “rest of” history stored?

I know that chromium (under xubuntu, default package install) usually saves its profile and history data under ~/.config/chromium. Today, I removed that directory and ~/.cache/chromium, and restarted ...
0
votes
1answer
203 views

How can I both use and modify the history inside a bash script?

So I have the following bash script aliased as "fortunes": #!/bin/bash -i REPLY=; history -w /tmp/fortunes_history_backup; # save history ... history -c; # and clear it. while [ ! \( "$REPLY" = "q" ...
0
votes
1answer
219 views

Linux: page-up key to browse through history

In some linux systems, when I write the beginning characters of a command and press page-up, I can browse through the latest similar commands saved in the history file. However, I found that this ...
5
votes
3answers
1k views

BASH history truncated to 500 lines on each login

For some reason, I cannot get my system to keep my BASH history after a reboot. Here are the relevant sections of my ~/.bashrc: shopt -s histappend PROMPT_COMMAND='history -a; updateWindowTitle' ...
0
votes
1answer
76 views

How to hide password while sending mail from linux commad line

I tried the approach in http://superuser.com/a/462871 and it works. But I don't want my gmail password to be stored in command history. Is there a way to avoid this?
1
vote
1answer
191 views

Figuring out how my /etc/ folder got deleted [closed]

I was playing around with my sendmail configuration in the /etc/ folder, and then, somehow, the contents of my /etc/ folder went away, and I'm unsure of how. From /var/log/auth.log: Nov 8 10:28:42 ...
4
votes
1answer
6k views

Retrieve Linux command line history by date

I want to see what I typed on my bash command line on a certain day a week ago. Is there a way to retrieve command line history? Something like below, perhaps? > history --include-date | grep ...
25
votes
9answers
27k views

Remove a certain line from Bash history file

How can I remove a certain line from history's database?
8
votes
7answers
536 views

Per-directory bash/zsh history log files

I find I do a lot of work on a project in a set directory. Sometimes — a few months down the track — I need to redo something on that project but I can't remember what I did. I use ...
6
votes
2answers
1k views

Why do “ls” in UNIX and “dir” in DOS have different names?

Why do they have different names for the same command, listing a directory? Surely, they could have talked to each other and agreed on one common name, such as for example cd which is the same for ...
2
votes
1answer
306 views

Re-run command with prepended text from bash history

How do I repeat the last bash command with some text pre-pended to the front of it. So if the previous command was: $ ls /somedir I want to run the following command utilizing the bash history to ...
11
votes
4answers
9k views

How can I view more of my history in Screen on Linux?

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 ...
0
votes
1answer
351 views

Can I create a device in linux that is actually a memory-mapped file?

I want to speed up access to my .bash_history file. I have my PROMPT_COMMAND set to do history -a; history -r, so there is a significant delay in getting a new prompt. I want to see if I can speed ...
12
votes
4answers
2k views

How do I see what my most used linux command are?

I would like to know which command I use the most on the command line. I would like to know so I can improve my use of the command line. If I know which command I use the most, I can then read more ...
1
vote
2answers
666 views

How do I find out when and by whom a particular user was deleted in linux?

I've recently ran into a very odd occurrence on one system I'm using. For no apparent reason, my user account was deleted, although the home directory is still there. I have root access, so I can ...
15
votes
2answers
5k views

How can I remove OLD history from Google Chrome?

I'm working on a laptop with a modest hard drive, and 500MB is taken up with Google Chrome "History Index" and "Thumbnails" files. Some of these files are a year old. Chrome offers me the option to ...
10
votes
4answers
5k views

How do I keep my bash history across sessions?

I am working on a x86 target running fedora 9. Whenever I reboot it, my history returns to some state, and I do not have commands I did in the sessions before the reboot. What I have to change to ...
3
votes
3answers
1k views

How to get Bash shell history range

How can I get/filter history entries in a specific range? I have a large history file and frequently use history | grep somecommand Now, my memory is pretty bad and I also want to see what else I ...
8
votes
6answers
2k views

Where historic Linux distributions can be found?

Where one can find ancient Linux distribution installation images (ISO) such as RedHat Linux 5 (not RHEL), early versions of Mandrake Linux?
9
votes
2answers
19k views

How can I check the user command history in Unix?

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?
2
votes
1answer
2k views

get bash history from another shell instance [duplicate]

Possible Duplicate: Can history files be unified in bash? I have bash running in an ssh session, call this session A. I leave the office, go home, ssh to the same box, call this session B. ...
6
votes
2answers
8k views

(reverse-i-search) in bash

I usually end up using CTRL+r for (reverse-i-search), however, sometimes I pass the command that I was looking for; if I do again a (reverse-i-search) it doesn't find it anymore. I assume that the ...
4
votes
1answer
361 views

bash command history update before execution of command

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 ...
1
vote
2answers
174 views

Ubuntu: Application history in gtkwm/gdm?

Is there some way I can track all applications that were opened by a user during a gnome session in ubuntu? Do gdm/gtkwm keep a history of all applications that were opened in some log file?
5
votes
2answers
1k views

How can I set my BASH history scrolling to filter by what I've already typed?

Given a history of commands: 1 pwd 2 mysql -u root -p 3 ps -ef | more 4 top 5 mysql -h 192.168.1.101 -u root -p When you press the Up arrow, you scroll through all those commands. I've read it ...
2
votes
2answers
233 views

History of commands?

Is there any way to find which commands have been executed between 2 specific dates (like 2 to 3 months period)? I can use the history command, but I have powered the system on/off. Is this ...