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


ADVERTISEMENT

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

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

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

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

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

Slackware :: Slow Terminal History Browse Using Vesafb ?

Jul 10, 2010

I've just installed Slackware 13.1 and am using a VESA framebuffer on a dv5-1251nr HP laptop with standard hardware.

In bash when I browse the command history using the up/down arrow keys the input line changes rather slowly.

For example, when I am on the history command

Code:

And the next command I go to is

Code:

The terminal input line deletes each character from the beginning and changes something like this:

Code:

But going the opposite direction, from

Code:

To

Code:

Is instant.

The effect does not happen with VESA turned off. I've used VESA on other computers without this problem.

View 1 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

Slackware :: Clear The Highlighted Results After Searching In Elvis And Other Text Viewer Programs Such As Less?

Apr 4, 2010

how do you clear the highlighted results after searching in elvis and other text viewer programs such as less?Also I know it's been mentioned before, but why does pat prefer elvis to vim? Just a personal preference?

View 9 Replies View Related

Slackware :: Klipper Doesn't Always Store The Latest Clipboard Contents In Its History In Kde 4.3.5

Apr 10, 2010

klipper doesn't always store the latest clipboard contents in its history in kde 4.3.5. I have "ignore selection" and "separate clipboard and selection" set in Klippers settings. When i open a new program, for example - kwrite, type some text in it, select some of it and hit ctrl+c - copied text doesn't show up in klippers history list. It seems that klipper misses the first copy operation done in newly launched applications, only by copying the same (or some other) text again klippers menu entry shows up. This seems to happen with only newly launched application, when i had kwrite window already open, opening a second window and performing copy worked fine with klipper.

View 2 Replies View Related

Slackware :: How "to Clear" Memory Swap

May 9, 2010

I have 2G of physical memory and 1G of memory swap. Very rarely the memory swap is used and when usage is around 1% while, then gets a lot of free physical memory...My question is:It is possible to "clean up" the memory swap. Or better still (I think). It is possible to spendphysical memory for data that is in memory swap?

View 14 Replies View Related

Ubuntu Installation :: Upgrade From 8.10 To 9.04 In Commandline?

Mar 1, 2010

Is there a way to upgrade from 8.10 to 9.04 in commandline?

View 4 Replies View Related

Ubuntu :: Passing Arguments In Commandline

Mar 13, 2011

I have some source code of an application called gmapping.

I am pasting the source code documentation below:

SCANMATCHER:

How do I run this file. When I enter the filename parameter, and press enter, I get

COMMAND LINE: parameter aces not recognized no filename specified

GridFastSlam: Initialization Error!

(Did you specified an input file for reading?)

What is the right line to type in the terminal to sun this code?

View 1 Replies View Related

General :: How To Know Hardware RAID Through Commandline

Feb 25, 2010

I have configured Hardware RAID. Is there any way I can know that through login to linux box?

View 6 Replies View Related

General :: How To Send Webmail From Commandline

Jan 21, 2011

I am writing a script in which I need to send a email to a @vtext.com address and was confused on how to go about this. (Its in a perl script so ideally it would be a one line command so I can just put in back ticks).

View 1 Replies View Related

Software :: Gphoto2 Commandline Client

Feb 27, 2011

I'm making a script for making tethered shooting easier in linux. With that I'm using gphoto2.

But i want to display the battery status:

in commandline it is:

As a result I get:

Label: Battery Level
Type: TEXT
Current: 100%

Now I only want to display the percentage, is this possible?

View 2 Replies View Related

Debian Multimedia :: Use Commandline Audioplayer For Which Purpose?

Nov 17, 2010

Any commandline audioplayer I might not have heard before? Which one do you use? I just started using Moc [URL]

View 12 Replies View Related

Fedora :: How To Delete Folders With Stuff In Commandline?

Dec 21, 2010

I want to delete a folder with stuff in it through command line. I tired rm and rmdir but it doesn't seem to be working.

View 3 Replies View Related

OpenSUSE Install :: Get A GUI Desktop From The Commandline Screen?

Mar 10, 2011

I just upgraded to OpenSuse 1.4 from 1.1 and it boots straight to the command lines. After login I type startx and it still does not go to the KDE desktop or anywhere else fo that matter. how to get to a GUI desktop from the commandline screen?

View 1 Replies View Related

General :: Manually Closing A Port From Commandline?

Apr 6, 2010

I want to close an open port which is in listening mode between my client and server application. Is there any manual command line option in Linux to close a port ??NOTE: I came to know that "only the application which owns the connected socket should close it, which will happen when the application terminates."I dont understand why it is only possible by the application which opens it ... But still eager to know if there is any another way to do it ??

View 4 Replies View Related

Ubuntu Multimedia :: Video Cutter With Commandline?

Feb 19, 2010

I m looking for a video cutter that cut a portion of video in the given format, i tried ffmpeg and avidemux but they touch( some modification) the original video so output doesn't remains same as the source is there any software for ubuntu 8.04 hardy which cuts the video portion as it is and have command line support

View 9 Replies View Related

Ubuntu Networking :: Configure Wireless From Commandline?

Mar 9, 2010

How can we configure a wireless network from commandline in Ubuntu?

I understand iwlist will give us the list of access points.

Next using iwconfig it is possible to connect to a wireless network without network manager. connect to a wireless network using commandline?

View 4 Replies View Related

General :: FTP Commandline Script To Send Files

Mar 1, 2011

I use in Ubuntu proftpd to send files with a little script over the internet to my website.
If I write all these scripts it's a lot of work and my first question is what is the best way to send files over.

For example do you need to type:
put /directory/file.gz /www/file.gz ? or can it shorter? like
put /directory/file.gz /www/ because then ftp complains it can't create file

View 1 Replies View Related

Server :: Commandline Monitoring Tool For Mysql?

May 2, 2011

I'm looking for commandline monitoring tool for mysql and only thing I can find is mtop. Unfortunately, mtop's development halted back in 2004. Can someone suggest an alternative? or is there such thing?

View 2 Replies View Related

Software :: KeePass 2 Ignores Commandline Argument?

Jul 2, 2011

I run the password manager KeePass2 with the following starter:

Code:
mono /opt/keepass2-mono/KeePass.exe /home/XXXXXXX/KeePass.kdbx

While the program runs fine, it does not select the database automatically (last argument). This used to work with KeePassX. Nor does KeePass2 remember the recently opened files (the menu remains empty).

My system: Ubuntu Natty 32bit, KeePass 2.15

PS: I have to use KeePass2 as I need to share the database with other OS where KeePass1 is not supported. And would love to see ported KeePass2 to linux without mono. Keepass2 also looks worse than KeePassX IMO.

View 2 Replies View Related

Programming :: Imagemagick With For Loop On The Commandline Does Not Work

May 26, 2011

I have images in jpg format

Code:

CIMG0100.jpg
...
...
CIMG0131.jpg

I used imagemagick to convert the files to gif with the following command

Code:

for i in {100..131}; do convert CIMG0$i.jpg CIMG0$i.gif; done # works

This worked like expected, but when afterwards I wanted to scale the images

Code:

for i in {100..131}; do convert -scale 25% CIMG00$i.gif CIMG00$i_scaled.gif; done # works not it seems the system is working for about half a minute, but I get no output. The single command

Code:

convert -scale 25% CIMG100.gif CIMG100_scaled.gif # works

works as expected and gives me a scaled image. What does the convert command do in the second case? is the for-loop wrong?

View 2 Replies View Related

General :: Nano Editing Grub.conf Though Commandline?

Oct 12, 2010

I have to edit the grub.conf as there was a issue in running in virtual box, so i went to edit the /boot/grub/grub.conf file ( centos )and run

[Code]...

View 4 Replies View Related







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