Remove SSH " History "
May 22, 2007How would I go about removing the History when using SSH?
View 9 RepliesHow would I go about removing the History when using SSH?
View 9 RepliesIs 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.
Is it possible to change the history counts? Just see, when i type history command on my machine, i get around 1000 last typed commands.
Is it possible to change that count ?
Is there a way to see what was happening on the server the last 24 hours for example in WHM ? A log or something.. To see if there was any high loads etc..
View 4 Replies View RelatedI 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 3 Replies View RelatedDoes CentOS4 logs every activity done by a SSH user? Or is there such script/software to do that?
View 10 Replies View RelatedI 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?
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 0 Replies View Relatedtake a moment and go to : alabanzamigrationsettlement dot com
you can see a class action was made by Alabanza Customers
and finally has worked for all Alabanza cutomers
let me know if you get payments from RUST CONSULTING
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 ...
Can someone tell me how to clear the history of a UNIX user? For example, when logged in as a certain user I can press UP to see the last commands that were used. How can I get rid of them?
View 3 Replies View RelatedBefore 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
i use for login to ssh by putty
and i run very command and result
how may i saved all this command and result in putty?
Our Server doesn't show the Traffic History under "Tools & Settings -> Summary Report -> View Traffic History", but for every Domain it runs.
We Migrate this Server from a Dedicated to an OpenVZ Server - on another Server with OpenVZ its running without Problems, but this one we don't migrate.
I just need to CSF on my server, i dont need to lfd and i need to remove lfd from my server.
View 9 Replies View RelatedI 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.
How can remove apf firewall?
I need to remove and install apf again. Because its damaged now
some body installed it for me and I do not know how to remove, how to uninstall BFD and APF
View 3 Replies View Relatedi want to remove csf firewall. Its creating alot of issues. So any guide how can i remove csf and ldf ... ?
View 2 Replies View RelatedMy /tmp on my cPanel hosting server is nearly full, and I was wondering if it is safe to remove all the contents in /tmp, if not, what can I delete to clear up the space?
View 6 Replies View Relatedi have many problem from this
i want to remove it
i had recompiled apache without it but it still working
I am using Cpanel version 11 with FreeBsd.
Some body has installed locus7shell on one of my website
using Joomla.
How can i removed it.Has any one faced this thing.
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?
I installed Roundcube on my cPanel server but it isn't working for me and I want to uninstall it and maybe try again.
How do I uninstall it, I can't find any information anywhere?
How to remove eAccelerator, I updated my apache and there I got the option to install it ,and I installed it
View 7 Replies View RelatedMy server has 2 drives,one is backup drive. The backup drive seem to be failing so i decide to remove it. However when i remove it,the system can not boot. ANyone got this issue?
View 14 Replies View RelatedWhen I installed PHP 5.2.1 the howto said to put it in /home/cpphpbuild/ then un-tar it which I did and I am left with a folder called php-5.2.1
Can I delete this folder without breaking PHP 5?
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?
As per the title, what steps are needed to remove HyperVM altogether from the server leaving just the OpenVZ or Xen kernels?
View 6 Replies View Relatedhow can I remove a Virus/Trojan from my website?
View 6 Replies View RelatedThe 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?