General :: How Do You Clear Reboot History
May 24, 2011I don't mind a few lines of reboots, but this is getting rather long:
How can I clear (or reduce) the history that comes up when ssh to my host?
I don't mind a few lines of reboots, but this is getting rather long:
How can I clear (or reduce) the history that comes up when ssh to my host?
How to clear history in LINUX?
Which command?
And how to remove permissions which is given for a user to be group admin? by this command- gpasswd -A ram sales
Where ram is user sales is group
How to deselect him as admin?
Sometimes I don't want commands to be added to my history. In bash it wasCode:unset HISTFILE
You would run it after a few commands and it would clear them all.I can't find out how to do it with ZSH.
I just started using the z shell. i have one problem, what command clears z shells history? I know how to clear the .histfile: echo "" > .histfile, but when i press the up arrow key the last command is still there.
View 1 Replies View RelatedAnd if it's possible, how do I clear it?
View 1 Replies View RelatedHow would I clear my commandline history at logon/logoff/startup time? I tried this : editing my /etc/rc.d/rc.local file like this I know this is for system startup
Code:
#!/bin/sh
# /etc/rc.d/rc.local: Local system initialization script.
# Put any local startup commands in here.
Also, if you have anything that needs to be run at shutdown time you can make an /etc/rc.d/rc.local_shutdown script and put those commands in there.
#clear user history ~/.bash_history
echo "" > ~/.bash_history
#clear root history /root/.bash_history
echo "" > /root/.bash_history
But when I reboot, the history still remains.
I have installed Squeeze with the Gnome desktop and the Totem Movie Player Application. It seems to work ok but it seem there is no way to delete the history. I found one post on the subject with no reply and have read the bug reports and the problem was not mentioned. I tried to find the file containing the history without success.
View 1 Replies View Relatedi am using natty 11.04. can you please guide me how to clear recent history in dash under search files folders?also tell me how to customize dash application menu etc...
View 1 Replies View RelatedI used to use CCleaner so I could keep specific cookies from being deleted while I deleted all others. Is there any way I can do this with Ubuntu? Firefox doesn't seem to allow it other than manual deletion which is not as fast an automated as CCleaner made the task.
View 1 Replies View RelatedMy computer keeps spawning new and massive numbers of "gnome-keyring-d" which require me to reboot the PC to clear.
What is happening? Why? And how do I stop it?
Code:
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 RelatedI'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.
View 2 Replies View RelatedI am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.
View 6 Replies View RelatedI am having a Oracle server installed on Linux server. I want to clear the buffers after a certain time interval. I use the following command for the same.
echo 3 > /proc/sys/vm/drop_caches
Can I have a script which will execute the above script after certain time interval OR a script which will execute the above command when certain memory size is reached.
I'm running OS X and it appears that after SSHing to several machines, using identity files, my ssh-agent builds up a lot of identity / keys and then offers too many sometimes to a remote machines, causing them to kick me off before connecting.
Received disconnect from 10.12.10.16: 2: Too many authentication failures for cwd
It's pretty obvious what's happening, and this page talks about it in more detail:
SSH servers only allow you to attempt to authenticate a certain number of times. Each failed password attempt, each failed pubkey/identity that is offered, etc, take up one of these attempts. If you have a lot of SSH keys in your agent, you may find that an SSH server may kick you out before allowing you to attempt password authentication at all. If this is the case, there are a few different workarounds.
Rebooting clears the agent and then everything works OK again. I can also add this line to my .ssh/config file to force it to use password authentication:
PreferredAuthentications keyboard-interactive,password
Anyhow, I saw the note on the page I referenced talking about deleting keys from the agent, but I'm not sure if that applies on a mac since they appear to be cleared after reboot anyhow. So, my question is, is there a simple way to clear out all keys in the ssh-agent (the same thing that happens at reboot)?
I have the following bash script:
#do some time consuming task here read -p "Give me some input: " input
Now as you might've guessed, if users press some random keys during the "time consuming task," they're read into input as well. how do I clear stdin (or at least ignore it) before I issue the read command?
I recently became co-owner of a server, however upon trying to ssh it became apparent the root admin gave me the wrong password by mistake;
After trying several times with the wrong pasword thinking I might have mistyped I have now blacklisted myself, huzzah.
How can I reset or clear the blacklist?
My system is old. Not debian.How do I clear out the mqueue directory? I don't want to delete it....just clear it out of the email that is clogging up my var partition. This old command doesn't seem to work anymore:find /var/spool/mqueue -exec rm'{}' ;Anybody know of the command to clear my mqueue.
View 5 Replies View RelatedI am using ubuntu and gnome-do and have in my gnome-do some bad shortcuts ( they even have a grey X icon ) that i cant figure out how to delete from the list. I thought gnome do has some cache but its been a while and they are still there :(
how to clear them from the list ?
Update: I deleted the ~/local/share/gnome-do folder and still no success
What is the Linux command to clear IP address of an interface without bringing it down and/or restarting network services. Seems strange ifconfig is able to change IP address but has no option to clear it, or am I wrong?
EDIT:As simple as ifconfig eth0 0.0.0.0. They should have put it in the man
i am dragged myself from windows to mint 10 julia..while downloading the screenshots is like <http://www.linuxmint.com/pictures/screenshots/julia/menu.png> but after installation i got only menu like the basic menulike in ubuntu.am new to minti installed inside windows.am i done anything wrong with installation
View 3 Replies View RelatedMy var partition is full. The main culprit is NOW the mail file. What is the command to empty the mail files?The mqueue and clientmqueue files are now low on usage but the mail file is responsible for filling up the var partition.
View 1 Replies View RelatedI 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 have updated history I had before reboot?
How is shell history specific to each tty? I can't see anything in the history files that would indicate which tty a command was performed on, however if I restart and log in on several ttys, the command order and history is preserved on each. How is this accomplished? This goes for zsh and bash equally.Now for some zsh specific questions.I had a saved webpae, which resulted in a file called doku.php.htm, and a directory called doku.php_files - I could only get zsh to expand the directory. It didnt seem to give me the option to cycle nor did it only complete as much as it could with ambiguity, i.e. to doku.php , so what is this behaviour and where can I read about it?
Secondly I would like to know why zsh interactive shells do not expand the PS1 prompt completely. Whenever I open an xterm or such, the prompt is not the normal PS1 prompt. I read through the manuals and config files, and could see nowhere that staed a different prompt should be used depending on the shell type. Why does this happen, and how can I modify this behavior?Regarding modules, if I install the compat-wifi modules which I assume replace the existing ones, how would I uninstall them? Would I just reinstall the normal kernel modules over them?
In my organization, we have a centralized home directory for all users which gets mounted from all the machine where user logs in.Since any XYZ user can login to any of hundreds test machines and run 'sudo su - myusername', hence taking control of my home dir.How do I track who took control of my home dir and deleted its contents.
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 Relatedwhat command do i use to copy .bash_history to /tmp location?
View 9 Replies View RelatedHow can I find all Linux history on my home wifi
View 5 Replies View RelatedJust as the subject,I didn't find a appropriate answer with google. Is there any command to replace it?
View 5 Replies View RelatedIn a performance test, I want to bypass the influence of cache of linux system (including page cache/inode cache and so on). I have tried O_DIRECT flag, but it's turned out that direct I/O is still "enjoy" the effect of some cache.Is there a thorough way to close the effect of system cache?
View 2 Replies View Related