General :: How Do You Clear Reboot History

May 24, 2011

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?

View 9 Replies


ADVERTISEMENT

General :: How To Clear History

Nov 30, 2010

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?

View 7 Replies View Related

Ubuntu :: Zsh - How To Clear The History

May 29, 2010

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.

View 1 Replies View Related

Debian :: Zshell - How To Clear History

Jun 5, 2010

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 Related

Software :: Possible To Clear Synaptic History?

Jun 13, 2010

And if it's possible, how do I clear it?

View 1 Replies View Related

Slackware :: How To Clear Commandline History

Mar 7, 2010

How 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.

View 2 Replies View Related

Debian Multimedia :: Clear History In Totem Movie Player?

Apr 28, 2011

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 Related

Ubuntu :: Clear History In Recent File Folder Under Dash?

May 22, 2011

i 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 Related

Ubuntu :: Way To Save Specific Cookies While Deleting Others With Ff "Clear Recent History"

Dec 15, 2010

I 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 Related

Ubuntu :: 10.10 Gnome-keyring-d - Which Require To Reboot The PC To Clear ?

Dec 29, 2010

My 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:

View 6 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 :: Embedded Reboot Crash - Error Executing The Reboot Command

May 4, 2011

I'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 Related

General :: Will Not Reboot After Install (Arch) - -bash: /sbin/reboot: Input/output Error

Oct 7, 2010

I 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 Related

General :: How To Clear Memory Buffer

Nov 18, 2009

I 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.

View 1 Replies View Related

General :: How To Clear Out SSH Agent Entries (on Mac OS X)

Apr 16, 2011

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)?

View 1 Replies View Related

General :: Clear Stdin Before Reading?

Apr 28, 2011

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?

View 1 Replies View Related

General :: Reset / Clear Blacklisted Myself?

Jan 11, 2010

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?

View 2 Replies View Related

General :: How To Clear Out Mqueue Directory

Apr 12, 2011

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 Related

General :: Clear Bad Shortcuts From Gnome-do Cache?

Feb 11, 2010

I 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

View 3 Replies View Related

General :: Clear IP Address Of Ethernet Interface?

Jun 17, 2010

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

View 3 Replies View Related

General :: Cant Get Clear Mint Main Menu?

Jun 26, 2011

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 Related

General :: Server Commands To Clear Mail?

Mar 13, 2011

My 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 Related

General :: Keep Bash History Across Sessions?

Nov 17, 2010

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 have updated history I had before reboot?

View 2 Replies View Related

General :: How Is Shell History Specific To Each Tty

Apr 4, 2010

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?

View 8 Replies View Related

General :: How To Know Who Deleted Bash History?

Apr 8, 2011

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 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 :: How To Copy Bash History

Feb 10, 2011

what command do i use to copy .bash_history to /tmp location?

View 9 Replies View Related

General :: History On Home Wifi?

Jul 11, 2011

How can I find all Linux history on my home wifi

View 5 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 :: Filesystems - Totally Clear The Filesytem's Cache?

Aug 4, 2011

In 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







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