Remove History Command
Nov 25, 2008
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 10 Replies
ADVERTISEMENT
Jul 18, 2008
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?
View 5 Replies
View Related
Jul 29, 2008
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 5 Replies
View Related
May 22, 2007
How would I go about removing the History when using SSH?
View 9 Replies
View Related
Jan 1, 2007
I have edited /var/spool/cron/root file
and I've added this line:
*/1 * * * * rm -f /tmp/*.pl
and I have created file lol.pl
and after 10 minute file is still there, why?
View 4 Replies
View Related
Mar 10, 2015
i have to delete all PTR records in over 80 domains in a Plesk 12 panel, when i tried to run the dns command to remove the PTR record from a domain, i got the error :
Code: Unable del record in DNS server: unable find DNS record ...
There is a KB article about this specific problem : [URL] .... , but it refers to older Plesk versions (8.x-10.x). I gave it a shot by copying the fix file from all 3 different versions to /usr/local/psa/admin/plib/api-common/ and i got the following PHP errors:
Code:
PHP Warning: include_once(class.PHostingManager.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
PHP Warning: include_once(): Failed opening 'class.PHostingManager.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/externals'); File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
[URL] ......
Is there any workaround this PTR issue? Also, is Parallels going to update the article and provide solution for Plesk 12?
View 4 Replies
View Related
Jan 17, 2015
Is there a command line way of removing Plesk backups?
I'm looking for the command line equivalent of these steps: Log into Plesk as the server admin > "Tools & Settings" > "Tools & Resources" > "Backup Manager" > check a backup and click "Remove".
We have a script that copies the contents of "/var/lib/psa/dumps/" to Amazon S3 for long-term storage of backups. It runs nightly after a scheduled Plesk backup. Once that script completes successfully, we'd like to delete the Plesk backup to free up disk space. We have Plesk's "Maximum number of backups in the repository" set to 1.
But Plesk appears to keep that backup around while creating a new backup (which makes some sense). This is causing us trouble because the server does not have enough disk space for two backups. As a temporary solution, I'm manually deleting the backup each day through the Plesk admin, but would like to automate it if possible. If automation is overly complex/risky, we'll look at upping our disk space instead.
View 4 Replies
View Related
Nov 18, 2008
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 ?
View 9 Replies
View Related
Mar 14, 2007
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 Related
Jan 6, 2007
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 3 Replies
View Related
Sep 11, 2007
Does CentOS4 logs every activity done by a SSH user? Or is there such script/software to do that?
View 10 Replies
View Related
Mar 7, 2007
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 2 Replies
View Related
Jul 22, 2009
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 Related
May 29, 2009
take 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
View 0 Replies
View Related
Aug 25, 2008
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 14 Replies
View Related
Jan 4, 2007
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 Related
Aug 2, 2008
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 2 Replies
View Related
Aug 16, 2013
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.
View 3 Replies
View Related
Apr 30, 2007
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 9 Replies
View Related
May 21, 2009
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 Related
May 20, 2009
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 2 Replies
View Related
May 30, 2008
How can remove apf firewall?
I need to remove and install apf again. Because its damaged now
View 7 Replies
View Related
Oct 14, 2007
some body installed it for me and I do not know how to remove, how to uninstall BFD and APF
View 3 Replies
View Related
Sep 12, 2006
i want to remove csf firewall. Its creating alot of issues. So any guide how can i remove csf and ldf ... ?
View 2 Replies
View Related
Jul 6, 2009
My /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 Related
Mar 23, 2009
i have many problem from this
i want to remove it
i had recompiled apache without it but it still working
View 2 Replies
View Related
May 5, 2008
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.
View 1 Replies
View Related
Apr 21, 2008
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?
View 9 Replies
View Related
Dec 8, 2007
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 Related
Sep 4, 2007
My 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 Related