Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [history]

The history command can be used to retrieve commands you have previously typed in a shell.

1
vote
3answers
325 views

History command in graphic interface of OS

Does Ubuntu store a history of command executed in the graphic interface (not in a shell session)? For example if, by mouse, I click on System Settings, then click on Network, do these steps ...
1
vote
2answers
479 views

Prevent user from executing history -c command in shell

Is it possible to prevent specific user from executing history -c command in shell.
0
votes
2answers
1k views

Laptop web camera “active” history

Is there a way to see the history of when my web camera has been active? For example during the previous day?
-1
votes
2answers
153 views

Add to History Script not working

I am trying to add lines from a file to my history, but it just adds the program code! What am I doing wrong? #!/bin/bash HISTFILE=~/.bash_history set -o history cat file.txt | while read line do ...
3
votes
1answer
136 views

How to clear history in Gedit? (Ubuntu 18.04)

I was just wondering how to clear the recently opened documents history on Gedit? I've looked but can't find anything on it. Thanks in Advanced!
1
vote
1answer
62 views

Bionic Beaver Nautilus list of visited servers

Newly switched from 16.04 LTS to Bionic Beaver. Yet in 16.04 several smb servers were stored to Nautilus server history (or so, sorry don't know the exact terminology). Now after upgrade to B. Beaver ...
1
vote
1answer
3k views

How do I clear Software Center History?

I have old software center history from way back in June and I would like to clear it all but I have tried sudo rm -rf /var/log/apt/history.log /var/log/dpkg.log ut it did not work
0
votes
1answer
37 views

commands history

So, I wanted to see all the history of commands of a certain user, me more specifically, the probem is that I want to do soo in a NFS server that I am connected through ssh, so, everytime I disconect ...
0
votes
1answer
46 views

How can I audit commands executed by a user without installing acct

I want to audit commands executed for two accounts on my ubuntu desktop about a year ago. I know of acct [sudo apt-get install acct] where I can run lastcomm, dump-acct, dump-utmp but I want a ...
0
votes
1answer
198 views

Lost firefox tabs due to crash

I use the Save Session version 1.3.1.6.1 plugin in firefox to save my current sessions. I had kept 3 windows full of tabs for all almost a year when yesterday my firefox crashed. Now I can't find any ...
0
votes
1answer
708 views

Get Activity Log in Linux

I don't know what was the size of files and in which folder they were put.but my little brother copied some files from one folder to another one.I am unable to get those files back.Is there any way so ...
0
votes
1answer
555 views

Bash history for root?

After installing 'ubuntu-desktop' on 12.04-LTS-server, the arrow keys work correctly for history navigation when the user is not root. However, for the root user, the arrow keys (for example, the up-...
0
votes
1answer
1k views

How do I view the keyboard buffer?

I would like to be able to find some passwords I forgot to wright down. I use Ubuntu 12.04 LTS. update I realize I cant find passwords on the buffer but i would like to know how to read the ...
4
votes
0answers
392 views

How can I increase the viewing history (recent documents) in Okular?

I tried looking for an entry/number in ~/.kde/share/config/okularrc but there was nothing to edit there as to allow me to increase the number of saved addresses
1
vote
0answers
45 views

Terminal/Shell config Question

Ubuntu 18.04.1 LTS TERM=wyse60 SHELL=/bin/bash set -o vi telnet using TinyTerm v4.20.1306 with wyse60 emulation My question is: Is there something I can add to .bash_profile to allow .bash_history ...
1
vote
0answers
49 views

Wanted to disable history -c for all users except the one with sudo rights?

I am able to secure .bash_history and .profile files so that user cannot delete or edit those files and cannot change shell as well. I needed this for bastion host for all production instances. I ...
1
vote
0answers
111 views

How to Show History of Port State/Activity?

Let's say I have an open port on my PC like 6789. I use this port for a special purpose. But, suddenly I found the port 6789 is not listed in netstat -ntlp (port closed). How can I see the history of ...
0
votes
0answers
39 views

up and down arrow key doesn't working in ubuntu 1804

i've installed ubuntu 1804 i wanna choose the privious command to run of course i can using 'history' command to check but using up/down key to choose is more convinient, like in other OS
0
votes
0answers
64 views

capture the command that launched the running process in my shell

I try to make the title of my windows in GNU screen automatically equal to the path of the working directory PLUS the process running if there is one (e.g: npm start or vim file.js) for that purpose ...
0
votes
0answers
79 views

Terminal can't scroll after overnight idle computing

I'm on unbuntu 16.04, using ubuntu terminal, running zsh with oh-my-zsh. I'm on a ssh session to a remote computer with the same configuration. I launched a big computing and forgot to output the ...
0
votes
0answers
89 views

Ubuntu Server Full Log?

Is there anyway to check a full log since the build of Ubuntu Server? I have tried last lastlog Which shows last logged users, and: sudo less /var/log/auth.log It's great BUT it only shows the ...