Remove History Command
Is there any way so that i can remove a specific command from history.
628 ll
629 cat bash.sh
630 man mail
631 exit
632 history
You see my history command displays output as this. I need to remove the 630 th command.
Is this possible ?
I can use history -r but, it will remove all the commands executed in the session.
I need a command to remove a specific thing from history.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Yum Remove Command
I had some issues with PHP compilation seems to be issue with zlib. So I decided to remove it. What happened then is something like nightmare... The command yum remove zlib removed zlib + all dependencies without asking me what to remove. So it removed majority of packages including yum itself. How can I force yum to not remove dependencies when I uninstall some package?
View Replies!
View Related
Remove Empty Folders And Remove From A Db
ive got a site which auto creates subdomains and installs a script automaticly and inserts details into a mysql db. i have had some issues recent so have loads (talking 100s) of folders that are empty which i need to remove, and to remove the details of said folder from db also. any ideas how i can do this, using plesk control panel so removing the subdomain via plesk cli may be the best way in that respect but the db is external to plesk so that would not be edited
View Replies!
View Related
Erasing The Form History
I am interested in knowing how to get rid of all of my information from the computer. When i search for things, my old searches appear and thats not good cause I am at work I need to know how to get rid of the evidence. I tried the Tools >> Internet Options >> Delete Cookies - Delete Files and - Clear History but it still appears with all of my old searches. Why Why why? Note, this is not for the browzer, this is for a form such as the typing area on google.
View Replies!
View Related
History Shows Time
I am working on a server, on that hostory shows in format like Quote: root@unix [/etc/profile.d]# history |more 1 Mar.04 01:35fdisk -l 2 Mar.04 01:35ping yahoo.com 3 Mar.04 01:35exit 4 Mar.04 18:21exit 5 Mar.04 18:04Smartctl -a dev/hda/ 6 Mar.04 18:04Smartctl -a /dev/hda/ 7 Mar.04 18:06Smartctl -a /dev/hda |grep Serial That is history include time of command execution. Quote: root@unix [~]# set |grep HIST HISTFILE=/root/.bash_history HISTFILESIZE=1000 HISTSIZE=1000 HISTTIMEFORMAT='%h.%d %H:%M' root@unix [~]# I can't find anything regarding history on .bash_profile or .bashrc Where this is set? How i enable loging command execution on CentOS?
View Replies!
View Related
My History With KnownHost: One Month Review
The Past Month (23 of July) i purchased two Mini VPS to check KnownHost Performance. Great. Yesterday I Begin to think in move some VPS with them, and i enter to check my VPS, and Are DOWN. No Notice emails, no nothing. I Write to Support, and some minutes later they pass me to billing. Then i realize Immediatly the problem. One Partner of me, is a verified Paypal SPANIARD with vacation in Mexico, she Pay the Two Invoices, and Maybe Paypal reverse the payment. I understand. Is ok ...
View Replies!
View Related
FluidVPS/Fluidhosting 6 Month Review/history
Before I start on my review, I would like to say that I am not affiliated with FluidVPS in any way and am solely doing this because I would like to share my experiences with everyone. I was one of the lucky few to be able to get a 'Free VPS' from FHDave (Fluidhosting) as part of their new promotion of upgrading hardware nodes. My VPS has the following specs: 512 MB memory guaranteed 25 GB disk space 500 GB transfer bandwidth When I just got my VPS I installed various applications such as Shoutcast and Tomcat simply because I could and I love it how it is automated. My first ticket was a problem getting Shoutcast to work, and so I contacted and placed a ticket. Even though my free VPS was unmanaged, I still got them to help me which resulted in a simple restart of the server. All was good for a few weeks until my forum was hacked one day (my guess was a weak password and some skiddie got access) which caused damage to my forum. After getting pretty worried I contacted Fluidhosting to find out if my VPS could get hardened I was prompted to pay since my VPS was free, it was 'unmanaged'. They did link me to their knowledgebase for tutorials and I applied them. Thinking it was enough I gave a sigh of relief and carried on with my life. 2 weeks later I was prompted with my VPS becoming compromised (someone hacked the VPS and used it to host an eBay phisher). Even though I had been told my VPS was 'unmanaged' they helped me with getting my VPS reprovisioned. I changed all my passwords to numbers and letters and that was the end of that. I did have some problems with their Parallel Power Panel and HSPC although I cannot link it to the hack attempt. What happened was I was unable to restart the VPS and it would fail making my server go down. I submitted a ticket as well as contacted their live chat service and they tried fixing it. It didn't work and had to get help from the developers of the panel. However after a few hours my VPS was back! (I was asleep when it happened ) There were times during my hosting where my bandwidth had nearly been used up and my webspace being completely filled. I have found that some hosts oversell their resources and when you haven't used a quarter of the limit they suspend your account. This was not the case with Fluidhosting. My VPS was often always full and yet there was no problem. I have even used it to host torrentflux for my own usage and that was fine too. There were times such as the VPS being compromised where Fluidhosting and their staff could have just suspended my account for good, and left me because of my website being too much trouble. They stuck with me to the end and helped me all the way. Their support is quick and helpful (gets the job done, real initiative there) and their live chat isn't just a salesperson. My past 6 months was one heck of a journey, and it would have not been possible if I had not gotten a top notch service provider from Dave and the team. Thank you for an awesome opportunity to try out VPSes for a change. Once you use VPSes there's no going back! I will be paying another 6 months with you guys (if all goes well at my end). Sorry if this isn't quite 'a review', more like past history of my webhosting So in short: Service: 9/10 Resources: 10/10 Support: 9/10 Uptime: 10/10
View Replies!
View Related
Command To Stop The Wget Command
Is there a command i can type into the ssh console to stop a current transfer that i started wit the wget command? the file im wgeting always stuffs up at 51% but then the server just retries and starts again, its done it 3 times so far and i just want to completely cancle the process if possible....
View Replies!
View Related
Remove Xen Xps
I have setup a xen VPS some time back. I need to remove it permanently. I have used the commands virsh destroy <domainID> as well as xm destroy <domainID>. However they only performs a shutdown. I can restore it back! I want to remove / wipe it permanently and memory consumed is given up then and reflected in the core server.
View Replies!
View Related
Remove CPanel Garbage....
I hate cpanl. It's bloated, slow, and just twice as hard to do anything(over command line). Anyways, how can I turn this crap off...it seems like ever time I reboot something comes back and changes conf files(installs older version of programs) and stuff like that. I've shut off any cpanel stuff I can find in the services startup and removed all crons but is there anything else? I get emails like cpsrvd failed @ Fri Jun 22 10:25:38 2007. A restart was attempted automagicly.
View Replies!
View Related
Is Logwatch Important? Can I Remove It
I'm running out of disk space on /var and it seem /var/cache/logwatch has almost 4GB of space. Can I remove everything inside and uninstall logwatch? How do I remove logwatch from the system and any affect of the system functionality. DirectAdmin CentOS4.4
View Replies!
View Related
How To Use .htaccess To Remove Subdirectory...
Is it possible to use .htaccss to remove the subdirectory from a url? The reason I ask it that the script I want to use requires members to be in a /users/ directory, and I would like to remove that part of the url. For instance... can I use .htaccess to change www.thewebsite.com/users/username to www.thewebsite.com/username I have absolutely no need to access the /users/ directory without the username, it's just that all accounts are created in that directory. Is it possible?
View Replies!
View Related
Flushing Iptables/remove Rules
I have a VPS (Virtuozzo) with cPanel installed. I notice that iptables running in the VPS had many DROP rules when I listed using iptables -nL command. So I flushed iptabled using "iptables -F" command and also "> /etc/sysconfig/iptables" command and restarted iptabled. When I try to list the rules it would show empty. However when I try to list after a few minutes it is showing the same old rules with many DROP rules yet again! Is there anyway to remove the rules completely?
View Replies!
View Related
How Do I Remove My ISP IP From Email And Only Use My Server IP
The way Exim is setup on Cpanel/Centos is that it adds the origination IP and server IP address that the email is relayed through. Because many RBL's flag Verizon and Comcast ISP IP's as spam sources; it causes my email relayed through my server to be rejected. Note: My server IP is not on any RBL for spam or abuse. Is there a way to edit Exim to only use the server IP adddress that I relay through?
View Replies!
View Related
Remove Server MySQL Connection
I bought a VPS to run a part of a application I have and it needs to connect to my database in cpanel. I have set everything up properly and allowed the remote server to connect to my server, I updated the DB connect file with the correct mysql server username and password. But when I try and run the script I get this error. Quote: Client does not support authentication protocol requested by server; consider upgrading MySQL client in I'm not 100% sure what to do. I don't understand why it wouldn't work because it works perfectly on the main server with my scripts. But I get that error message on the remote server.
View Replies!
View Related
Remove Linux And Install Windows XP
I need to remove CentOS from an old office PC. Dont get me wrong I use Linux almost on everything but for specific reason I need to get XP back into this old AMD PC. I cannot install XP. I cannot remove Linux. This install is devil. It will not let me remove it. I tried everything. XP disk goes black screen and stays there, this is happens with some hardware and you have to remove all Linux partitions to me the Windows XP disk install start. The problem I CANT remove it. I go to rescue mode, or interactive, mode, it doesnt matter, I cannot remove linux. "fisk -l" Go to my partition fdisk /dev/sda2 d for delete and it just outputs: No partition is defined yet! I tried lots of ways around it and always that message. Linux doesnt let me remove the partitions. How in the world do I get XP back now?
View Replies!
View Related
Batch Remove Files And Copy
to move the httpdocs folders of multiple sites on my plesk server to another server (share on other serv is already mounted so thats not an issue) but their is 31 different domains i need to copy. wondering if anyone knows any way to batch automate a cp process to copy each domains files to a new folder on remote server (this is for backup purposes not live sites so i cant use plesk migration etc
View Replies!
View Related
Can't Remove The Ip Blocked By APF Antidos
APF Antidos blacklisted a number of ips that seem to be okay to me I have tried to delete them with /etc/apf/apf -l , /etc/apf/apf --unban xxx.xx.., and even iptables --flush no avail ! Where does apf store its ip rules. I guess that is /etc/apf/.ipt.chains but not found .. looks like there was no command line option allowing to remove IPs from apf backlist
View Replies!
View Related
RewriteRule: Remove Www From All Url
on my server I'm trying to remove 'www' from all subdomain urls. For example: [url]-> should be -> [url] [url]-> [url]... what rewrite rules to use? I suppose I've to put this rule in httpd.conf and apply it at Server level. I'm using this RewriteEngine on RewriteCond %{HTTP_HOST} ^www.([^.]+).example.com RewriteRule (.*) [url] where %1 is one subdomain. The problem is I want this to work on ALL Subdomains. What rewrite rule should I use?
View Replies!
View Related
How To Remove Apache File Not Exist Errors
How to Remove Apache File Not Exist Errors Here is the Reply of the Sys Admin Dear Customer, I am sorry. We are not able to resolve the File Does Not Exist errors for you. You have to do it own. The unique errors that you have today for Apache are as follows: client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind File does not exist: /usr/local/apache/htdocs File does not exist: /usr/local/apache/htdocs/501.shtml File does not exist: /usr/local/apache/htdocs/images, referer: [url] File does not exist: /usr/local/apache/htdocs/jailbreak-iphone-3-0-1-with-redsn0w File does not exist: /usr/local/apache/htdocs/robots.txt Invalid method in request x16x03x01 Invalid method in request x80bx01x03x01 # Invalid URI in request alt="Follow%20via%20FreiendFFeed"%20title="Follow%20via%20FriendFeed"%20border="0"%20height="16"%20width="16"%20/>Home Top%20StuffiPhoneWindows%207FirefoxVistaTipsWordpressSubscribeSitemapAdvertise xc2xa0xc2xa0xc2xa0Vertical1240899%20=%20false;ShowAdHereBanner1240899%20=%20true;RepeatAll1240899%20=%20false;NoFollowAll1240899%20=%20false;Ban nerStyles1240899%20=%20new%20Array(%20%20%20%20"a{display:block;font-size:11px;color: HTTP/1.1 PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93 PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer: [url] PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer: [url] PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer: [url] PHP Fatal error: Call to a member function get() on a non-object in /home/technob2/public_html/wp-includes/cache.php on line 93, referer: [url] request failed: error reading the headers I would advise that you resolve as many of these errors as you are able. As to what caused the load on your server, I can't say. There is nothing in your logs to indicate the source of the problem. During the 1PM period when your server overloaded last there were only 29 errors in Apache. The errors that occurred during this time would not cause excessive load. I have installed a script to monitor your server. If this load issue occurs again within one week or before your next reboot, whichever comes first, we should be able to determine the source from the script's logs in /var/log/sys-snap.sh.
View Replies!
View Related
|