<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4426805154116651545</id><updated>2024-08-28T14:48:07.633-04:00</updated><category term="Linux"/><category term="Networking"/><category term="Command Line"/><category term="Security"/><category term="cPanel"/><category term="PHP"/><category term="File System"/><category term="MySQL"/><category term="Windows"/><category term="E-Mail"/><category term="DirectAdmin"/><category term="Firewall"/><category term="CLI"/><category term="Cisco"/><category term="SSL"/><category term="Windows Server"/><category term="Version"/><category term="DNS"/><category term="Parallels"/><category term="Plesk"/><category term="Virtualization"/><category term="XML"/><category term="XPATH"/><category term="Centos"/><category term="DATE/TIME"/><category term="Exim"/><category term="RAID"/><category term="BareMetal"/><category term="DOM"/><category term="Hardware"/><category term="IPv6"/><category term="OSX"/><category term="Strings"/><category term="System Administration"/><category term="Windows Server 2008"/><category term="Xen"/><category term="ZMV"/><category term="ZSH"/><category term="Arrays"/><category term="Bash"/><category term="IPtables"/><category term="Juniper"/><category term="Junos"/><category term="Memcached"/><category term="OpenVPN"/><category term="OpenVZ"/><category term="Perl"/><category term="PostgreSQL"/><category term="RDP"/><category term="REGEX"/><category term="Ruby"/><category term="Virtuozzo"/><category term="Wordpress"/><category term="XSL"/><category term="Active Directory"/><category term="Apache"/><category term="Audio"/><category term="BGP"/><category term="Bootstrap"/><category term="CMDLET"/><category term="CSF"/><category term="Exchange"/><category term="Forms"/><category term="Fortinet"/><category term="FrontPage"/><category term="FrontPage Extensions"/><category term="Gems"/><category term="GlobalSign"/><category term="HTML"/><category term="HTTP"/><category term="IPmonitor"/><category term="Installatron"/><category term="JavaScript"/><category term="LDAP"/><category term="Log"/><category term="MSSQL"/><category term="Node.js"/><category term="Numbers"/><category term="OS X"/><category term="OneClickSSL"/><category term="PEAR"/><category term="Package Management"/><category term="Passenger"/><category term="Power Shell"/><category term="Qmail"/><category term="Quota"/><category term="Rails"/><category term="SOAP"/><category term="Sendmail"/><category term="ServerCP"/><category term="SimpleXML"/><category term="Solarwinds"/><category term="SolusVM"/><category term="Sublime Text"/><category term="Telnet"/><category term="Terminal Services"/><category term="Twitter Bootstrap"/><category term="VPS"/><category term="WHMXtra"/><category term="Zamfoo"/><category term="Zervex"/><category term="cURL"/><category term="reCAPTCHA"/><title type='text'>Shifted Bytes</title><subtitle type='html'>Helpful bits and bytes</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>200</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-610977746170951534</id><published>2018-05-13T22:05:00.000-04:00</published><updated>2018-05-13T22:07:18.988-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Firewall"/><category scheme="http://www.blogger.com/atom/ns#" term="Fortinet"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>Chromecast Multicast Between SSID Subnet VLAN On Fortinet Fortigate</title><content type='html'>Enable Multicast Policy:
&lt;br /&gt;
System -&amp;gt; Feature Visibility -&amp;gt; Additional Features &amp;gt; Multicast Policy -&amp;gt; On
&lt;br /&gt;
&lt;br /&gt;
Configure Multicast Policy:
&lt;br /&gt;
Policy &amp;amp; Objects -&amp;gt; Multicast Policy
&lt;br /&gt;
&lt;br /&gt;
You&#39;ll need to create a policy going both ways between the desired networks and ensure that SNAT is enabled as well.&lt;br /&gt;
&lt;br /&gt;
You may also need to disable multicast ttl changes via the CLI:&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;config system settings
set multicast-ttl-notchange enable
end&lt;/pre&gt;&lt;br&gt;
FortiWifi, 60D, FortiOS 6
</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/610977746170951534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2018/05/chromecast-multicast-between-ssid.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/610977746170951534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/610977746170951534'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2018/05/chromecast-multicast-between-ssid.html' title='Chromecast Multicast Between SSID Subnet VLAN On Fortinet Fortigate'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-3241309863732026075</id><published>2018-02-22T09:50:00.001-05:00</published><updated>2018-02-22T10:17:08.564-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="OSX"/><category scheme="http://www.blogger.com/atom/ns#" term="ZMV"/><category scheme="http://www.blogger.com/atom/ns#" term="ZSH"/><title type='text'>Using ZSH ZMV to Force Add Leading Zeros</title><content type='html'>Given a list of episodes that are named with single digits, but you&#39;d like leading zeros:&lt;br&gt;&lt;br&gt;
S1E1.avi&lt;br&gt;
S1E2.avi&lt;br&gt;
S1E3.avi&lt;br&gt;
S1E4.avi&lt;br&gt;
&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
zmv &#39;S([0-9])E([0-9]).(*)&#39; &#39;S${(l:2::0:)1}E${(l:2::0:)2}.$3&#39;
&lt;/pre&gt;

They&#39;d now be renamed as follows:&lt;br&gt;&lt;br&gt;
S01E01.avi&lt;br&gt;
S01E02.avi&lt;br&gt;
S01E03.avi&lt;br&gt;
S01E04.avi&lt;br&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/3241309863732026075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2018/02/using-zsh-zmv-to-force-add-leading-zeros.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3241309863732026075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3241309863732026075'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2018/02/using-zsh-zmv-to-force-add-leading-zeros.html' title='Using ZSH ZMV to Force Add Leading Zeros'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-4117632424897179759</id><published>2018-02-22T09:45:00.001-05:00</published><updated>2018-02-22T10:21:22.925-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="OSX"/><category scheme="http://www.blogger.com/atom/ns#" term="ZMV"/><category scheme="http://www.blogger.com/atom/ns#" term="ZSH"/><title type='text'>Using ZSH ZMV to Rename Split an Episode to Two Episodes</title><content type='html'>Given a list of episodes that are named to be one, but actually need to span two episodes:&lt;br&gt;&lt;br&gt;
S01E01.avi&lt;br&gt;
S01E02.avi&lt;br&gt;
S01E03.avi&lt;br&gt;
S01E04.avi&lt;br&gt;
&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
zmv &#39;S([0-9][0-9])E([0-9][0-9]).(*)&#39; &#39;S$1E${(l:2::0:)$((($2 * 2) - 1))}-E${(l:2::0:)$(($2 * 2))}.$3&#39;
&lt;/pre&gt;

They&#39;d now be renamed as follows:&lt;br&gt;&lt;br&gt;
S01E01-E02.avi&lt;br&gt;
S01E03-E04.avi&lt;br&gt;
S01E05-E06.avi&lt;br&gt;
S01E07-E08.avi&lt;br&gt;&lt;br&gt;

This will also force leading zeros on S and E should they originally be single digits.</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/4117632424897179759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2018/02/using-zsh-zmv-to-rename-split-episode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/4117632424897179759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/4117632424897179759'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2018/02/using-zsh-zmv-to-rename-split-episode.html' title='Using ZSH ZMV to Rename Split an Episode to Two Episodes'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-4641340688791450291</id><published>2016-01-26T13:08:00.001-05:00</published><updated>2018-02-22T10:19:42.260-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="DirectAdmin"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>Outgoing Email Counts For DirectAdmin Users</title><content type='html'>Replace $user with the system user and it will return a count of outgoing mails, per-user for the current day ($user and $user.bytes in this directory reset at midnight)
&lt;pre class=&quot;prettyprint&quot;&gt;
cat /etc/virtual/usage/$user.bytes | grep outgoing | awk -F= &#39;{print $4}&#39; | awk -F\&amp; &#39;{print $1}&#39; | sort | uniq -c | sort -n
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/4641340688791450291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2016/01/outgoing-email-counts-for-directadmin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/4641340688791450291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/4641340688791450291'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2016/01/outgoing-email-counts-for-directadmin.html' title='Outgoing Email Counts For DirectAdmin Users'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-6243173305049175682</id><published>2016-01-26T13:05:00.001-05:00</published><updated>2018-02-22T10:20:44.134-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="cPanel"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>Find Files Sending SPAM On cPanel Exim Server</title><content type='html'>This will check your exim_mainlog and dump the paths from which mail has been sent along with the number. Check the listed directory for malware, shells, etc:
&lt;pre class=&quot;prettyprint&quot;&gt;
grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F&quot;cwd=&quot; &#39;{print $2}&#39; | awk &#39;{print $1}&#39; | sort | uniq -c | sort -n
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/6243173305049175682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2016/01/find-files-sending-spam-on-cpanel-exim.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/6243173305049175682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/6243173305049175682'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2016/01/find-files-sending-spam-on-cpanel-exim.html' title='Find Files Sending SPAM On cPanel Exim Server'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-3107967998433129090</id><published>2016-01-26T13:05:00.000-05:00</published><updated>2018-02-22T11:12:04.518-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="DirectAdmin"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>Find Files Sending SPAM On DirectAdmin Exim Server</title><content type='html'>This will check your exim_mainlog and dump the paths from which mail has been sent along with the number. Check the listed directory for malware, shells, etc:
&lt;pre class=&quot;prettyprint&quot;&gt;
grep cwd /var/log/exim/mainlog | grep -v /var/spool | awk -F&quot;cwd=&quot; &#39;{print $2}&#39; | awk &#39;{print $1}&#39; | sort | uniq -c | sort -n
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/3107967998433129090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2016/01/find-files-sending-spam-on-directadmin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3107967998433129090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3107967998433129090'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2016/01/find-files-sending-spam-on-directadmin.html' title='Find Files Sending SPAM On DirectAdmin Exim Server'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-5553148796435250221</id><published>2015-11-23T14:52:00.001-05:00</published><updated>2018-02-22T11:12:29.035-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="OS X"/><category scheme="http://www.blogger.com/atom/ns#" term="ZMV"/><category scheme="http://www.blogger.com/atom/ns#" term="ZSH"/><title type='text'>Using ZSH ZMV To Mass Rename Files Episodes</title><content type='html'>This presumes you are in the show folder looking at all the season folders AND the shows have the following format:
&lt;br/&gt;
### - Episode Title.mkv
&lt;br/&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
zmv &#39;Season (*)/([0-9])(*) - (*).mkv&#39; &#39;Season $1/{showtitle} - S0$2E$3 - $4.mkv&#39;
&lt;/pre&gt;
This should leave you with:
&lt;br/&gt;&lt;br/&gt;
Showtitle - S01E01 - Episode Title.mkv
&lt;br/&gt;&lt;br/&gt;
...and so forth.
&lt;br/&gt;&lt;br/&gt;
If you are unsure, add the -n flag to zmv and it will present you the changes versus simply making them.
&lt;br/&gt;&lt;br/&gt;
Note: Replace {$showtitle} with the title of your show. Nested directories with zmv gave me trouble so consider this the one bit of lifting required to save you a bunch of time.</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/5553148796435250221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2015/11/using-zsh-zmv-to-mass-rename-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/5553148796435250221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/5553148796435250221'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2015/11/using-zsh-zmv-to-mass-rename-files.html' title='Using ZSH ZMV To Mass Rename Files Episodes'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-832246474425862362</id><published>2015-10-02T20:23:00.002-04:00</published><updated>2018-02-22T11:12:59.485-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Find List What Programs, Services, Daemons, Applications Are Using SWAP Memory In Linux</title><content type='html'>&lt;pre class=&quot;prettyprint&quot;&gt;
for file in /proc/*/status ; do awk &#39;/VmSwap|Name/{printf $2 &quot; &quot; $3}END{ print &quot;&quot;}&#39; $file; done | sort -k 2 -n -r | less
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/832246474425862362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2015/10/find-what-programs-services-daemons.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/832246474425862362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/832246474425862362'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2015/10/find-what-programs-services-daemons.html' title='Find List What Programs, Services, Daemons, Applications Are Using SWAP Memory In Linux'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-4376792615637671195</id><published>2015-07-21T15:26:00.002-04:00</published><updated>2018-02-22T11:14:21.745-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="cPanel"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>Symlink ClamAV Binaries On A Linux cPanel Server</title><content type='html'>&lt;pre class=&quot;prettyprint&quot;&gt;
ln -s /usr/local/cpanel/3rdparty/bin/freshclam /usr/local/bin/freshclam
ln -s /usr/local/cpanel/3rdparty/bin/clamscan /usr/local/bin/clamscan
ln -s /usr/local/cpanel/3rdparty/bin/clamd /usr/local/bin/clamd
ln -s /usr/local/cpanel/3rdparty/bin/clamav-config /usr/local/bin/clamav-config
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/4376792615637671195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2015/07/symlink-clamav-binaries-on-linux-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/4376792615637671195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/4376792615637671195'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2015/07/symlink-clamav-binaries-on-linux-cpanel.html' title='Symlink ClamAV Binaries On A Linux cPanel Server'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-172633273515991388</id><published>2015-07-21T15:06:00.002-04:00</published><updated>2018-02-22T11:13:57.056-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="cPanel"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>Install ClamAV From The Command Line On A cPanel Server</title><content type='html'>Pretty simple task here and makes installing ClamAV easier shot you not have the root password for the customers installation:
&lt;pre class=&quot;prettyprint&quot;&gt;
/scripts/update_local_rpm_versions --edit target_settings.clamav installed
/scripts/check_cpanel_rpms --fix --targets=clamav
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/172633273515991388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2015/07/install-clamav-from-command-line-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/172633273515991388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/172633273515991388'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2015/07/install-clamav-from-command-line-on.html' title='Install ClamAV From The Command Line On A cPanel Server'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-8952923891266620901</id><published>2015-05-13T21:23:00.004-04:00</published><updated>2018-02-22T11:13:36.283-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="Plesk"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Update Plesk Windows From Command Line</title><content type='html'>&lt;pre class=&quot;prettyprint&quot;&gt;
&quot;%plesk_bin%&quot;\ai.exe --console
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/8952923891266620901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2015/05/update-plesk-windows-from-command-line.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/8952923891266620901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/8952923891266620901'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2015/05/update-plesk-windows-from-command-line.html' title='Update Plesk Windows From Command Line'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-3563684921923844395</id><published>2015-05-06T11:19:00.003-04:00</published><updated>2015-05-06T11:20:41.982-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OSX"/><category scheme="http://www.blogger.com/atom/ns#" term="Sublime Text"/><title type='text'>Single Window Mode With Sublime Text On OSX</title><content type='html'>In OSX, editing files from finder or other applications can cause multiple instances to spawn. 
If you prefer everything to remain tabbed in a single window, do the following.&lt;br/&gt;&lt;br/&gt;Open: Menu -&gt; Preferences -&gt; Settings - User&lt;br/&gt;&lt;br/&gt;...and add the following, then restart the app.
&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
{
    &quot;open_files_in_new_window&quot;: false
}
&lt;/pre&gt;
If you have existing settings within the brackets, simply add that line (check your end of line commas for proper formatting!)</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/3563684921923844395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2015/05/single-window-mode-with-sublime-text-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3563684921923844395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3563684921923844395'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2015/05/single-window-mode-with-sublime-text-on.html' title='Single Window Mode With Sublime Text On OSX'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-6772266659894802397</id><published>2015-04-13T09:51:00.004-04:00</published><updated>2015-04-13T09:52:27.436-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="File System"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Recursively Find All Files With Only One Line Of Text On Linux</title><content type='html'>A nice one-liner for finding files that only contain a single line of text which is often the case with Wordpress exploits.

&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
find . -type f -print0 | xargs -0 wc -l | awk &#39;$1==1{print $2}&#39;
&lt;/pre&gt;

...an alternate version:
&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
find . -type f -exec sh -c &#39;[ 1 -eq $(wc -l {}|cut -d&quot; &quot; -f1) ] &amp;&amp; echo {}&#39; \;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/6772266659894802397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2015/04/recursively-find-all-files-with-only.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/6772266659894802397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/6772266659894802397'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2015/04/recursively-find-all-files-with-only.html' title='Recursively Find All Files With Only One Line Of Text On Linux'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-5264386753586015534</id><published>2014-12-30T10:35:00.000-05:00</published><updated>2014-12-30T10:35:11.106-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="Networking"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Maximum Cache TTL Microsoft DNS Server MSDNS</title><content type='html'>Open up regedit and navigate to:
&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters
&lt;/pre&gt;

Create a new DWORD &quot;MaxCacheTtl&quot; with a DECIMAL setting of 300 (for 300 seconds)&lt;br/&gt;&lt;br/&gt;

Then restart the DNS service (not required)</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/5264386753586015534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/12/maximum-cache-ttl-microsoft-dns-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/5264386753586015534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/5264386753586015534'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/12/maximum-cache-ttl-microsoft-dns-server.html' title='Maximum Cache TTL Microsoft DNS Server MSDNS'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-8856978472694613089</id><published>2014-12-30T10:32:00.002-05:00</published><updated>2014-12-30T10:32:47.499-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="Networking"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Server"/><title type='text'>Negative Caching Microsoft DNS Server MSDNS</title><content type='html'>Open up regedit and navigate to:
&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNSCache\Parameters
&lt;/pre&gt;

Create a new DWORD &quot;NegativeCacheTime&quot; with a DECIMAL setting of 30 (for 30 seconds)&lt;br/&gt;&lt;br/&gt;

Then restart the DNS service
</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/8856978472694613089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/12/negative-caching-microsoft-dns-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/8856978472694613089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/8856978472694613089'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/12/negative-caching-microsoft-dns-server.html' title='Negative Caching Microsoft DNS Server MSDNS'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-399386537986888846</id><published>2014-12-24T10:57:00.001-05:00</published><updated>2014-12-24T10:57:12.843-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Centos"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Prevent Disable Silence stdin: is not a tty CentOS SSH SCP</title><content type='html'>Comment out the following line in /etc/bashrc
&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
mesg y
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/399386537986888846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/12/prevent-disable-silence-stdin-is-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/399386537986888846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/399386537986888846'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/12/prevent-disable-silence-stdin-is-not.html' title='Prevent Disable Silence stdin: is not a tty CentOS SSH SCP'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-1698312184509126970</id><published>2014-11-13T12:33:00.002-05:00</published><updated>2014-11-13T12:34:45.374-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IPv6"/><category scheme="http://www.blogger.com/atom/ns#" term="Networking"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby"/><title type='text'>IPv6 Supernetting Subnetting Ruby</title><content type='html'>&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
#!/usr/local/bin/ruby -w
require &#39;ipaddr&#39; 

# /32 CIDR -&gt; /40&#39;s (LONG)
(0..255).each { |x|  puts IPAddr.new(&quot;1234:5678:#{sprintf(&quot;%02x&quot;,x)}00::0&quot;).to_i }

# /32 CIDR -&gt; /48&#39;s (LONG)
(0..255).each { |x|  puts IPAddr.new(&quot;1234:5678:00#{sprintf(&quot;%02x&quot;,x)}::0&quot;).to_i }
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/1698312184509126970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/11/ipv6-supernetting-subnetting-ruby.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/1698312184509126970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/1698312184509126970'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/11/ipv6-supernetting-subnetting-ruby.html' title='IPv6 Supernetting Subnetting Ruby'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-225722302858325197</id><published>2014-11-13T12:31:00.002-05:00</published><updated>2014-11-13T12:31:32.614-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IPv6"/><category scheme="http://www.blogger.com/atom/ns#" term="Networking"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>IPv6 To PTR RDNS PHP</title><content type='html'>&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
&amp;lt;?php
$addr = inet_pton($ip);
$unpack = unpack(&#39;H*hex&#39;, $addr);
$hex = $unpack[&#39;hex&#39;];
$arpa = implode(&#39;.&#39;, array_reverse(str_split($hex))) . &#39;.ip6.arpa&#39;;
?&amp;gt;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/225722302858325197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/11/ipv6-to-ptr-rdns-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/225722302858325197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/225722302858325197'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/11/ipv6-to-ptr-rdns-php.html' title='IPv6 To PTR RDNS PHP'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-6873292951544162651</id><published>2014-09-24T12:55:00.001-04:00</published><updated>2014-10-01T12:54:42.987-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Kill All Processes In Linux Via Search GREP</title><content type='html'>Sometimes killall -9 simply doesn&#39;t work with all processes and as a result you are left searching/GREPing for process names to kill them off.&lt;br/&gt;&lt;br/&gt;
This Simplifies this task by killing all processes that are the result of that search:

&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
kill -9 `ps -ef | grep processname | grep -v grep | awk &#39;{print $2}&#39;`
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/6873292951544162651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/09/kill-all-processes-in-linux-via-search.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/6873292951544162651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/6873292951544162651'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/09/kill-all-processes-in-linux-via-search.html' title='Kill All Processes In Linux Via Search GREP'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-3882206538757381631</id><published>2014-09-08T14:07:00.000-04:00</published><updated>2014-09-08T14:07:38.480-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="VPS"/><category scheme="http://www.blogger.com/atom/ns#" term="Xen"/><title type='text'>Change Clock Date Time Sync On Xen Linux VPS</title><content type='html'>Set the following in sysctl.conf on your VPS. This will allow your VPS to have a clock that is not forcibly synced with the host node.
&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
xen.independent_wallclock = 1
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/3882206538757381631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/09/change-clock-date-time-on-xen-linux-vps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3882206538757381631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3882206538757381631'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/09/change-clock-date-time-on-xen-linux-vps.html' title='Change Clock Date Time Sync On Xen Linux VPS'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-2712961074434294520</id><published>2014-09-04T09:50:00.003-04:00</published><updated>2014-09-04T09:50:31.367-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RAID"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>How To Enable Disk Caching LSI/MegaRaid/PERC RAID Using MegaCli</title><content type='html'>&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
MegaCli -LDSetProp -Cached -LAll -aAll
MegaCli -LDGetProp -DskCache -LAll -aALL
MegaCli -LDSetProp EnDskCache -LAll -aAll
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/2712961074434294520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/09/how-to-enable-disk-caching.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/2712961074434294520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/2712961074434294520'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/09/how-to-enable-disk-caching.html' title='How To Enable Disk Caching LSI/MegaRaid/PERC RAID Using MegaCli'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-5064799715144605936</id><published>2014-09-04T09:48:00.005-04:00</published><updated>2014-09-04T09:51:15.344-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RAID"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>How To Disable LSI/MegaRaid/PERC RAID Alarm Using MegaCli</title><content type='html'>&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
MegaCli -AdpSetProp AlarmDsbl –aall
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/5064799715144605936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/09/how-to-disable-lsimegaraidperc-raid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/5064799715144605936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/5064799715144605936'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/09/how-to-disable-lsimegaraidperc-raid.html' title='How To Disable LSI/MegaRaid/PERC RAID Alarm Using MegaCli'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-2836815076785140056</id><published>2014-09-04T09:48:00.001-04:00</published><updated>2014-09-04T09:51:01.096-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Command Line"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RAID"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>How To Silence LSI/MegaRaid/PERC RAID Alarm Using MegaCli</title><content type='html'>&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
MegaCli -AdpSetProp AlarmSilence -aall
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/2836815076785140056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/09/how-to-silence-lsimegaraidperc-raid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/2836815076785140056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/2836815076785140056'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/09/how-to-silence-lsimegaraidperc-raid.html' title='How To Silence LSI/MegaRaid/PERC RAID Alarm Using MegaCli'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-3175860882465200611</id><published>2014-07-08T16:03:00.001-04:00</published><updated>2014-07-08T16:04:33.688-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Plesk"/><title type='text'>Cannot Sync Subscription To Service Plan In Plesk</title><content type='html'>This could be caused by a myriad of issues however as of version 12 there is a limit of 50 subscriptions per service plan. If you have more than 50, it will not sync.&lt;br/&gt;&lt;br/&gt;There is a bug report for this under &quot;PPPM-1379&quot;.&lt;br/&gt;&lt;br/&gt;The solution to the problem is to simply not use Plesk.</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/3175860882465200611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/07/cannot-sync-subscription-to-service.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3175860882465200611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3175860882465200611'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/07/cannot-sync-subscription-to-service.html' title='Cannot Sync Subscription To Service Plan In Plesk'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4426805154116651545.post-3259224135491851172</id><published>2014-07-02T11:07:00.002-04:00</published><updated>2014-07-02T11:07:15.679-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="File System"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>How To Fix Permissions On Home Directory</title><content type='html'>This will ensure the user and group match the username in /home (non-recursively)
&lt;pre name=&quot;code&quot; class=&quot;php:nocontrols&quot;&gt;
for i in `ls`; do { chown $i:$i $i; }; done;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.shiftedbytes.com/feeds/3259224135491851172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.shiftedbytes.com/2014/07/how-to-fix-permissions-on-home-directory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3259224135491851172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4426805154116651545/posts/default/3259224135491851172'/><link rel='alternate' type='text/html' href='http://www.shiftedbytes.com/2014/07/how-to-fix-permissions-on-home-directory.html' title='How To Fix Permissions On Home Directory'/><author><name>Shifty</name><uri>http://www.blogger.com/profile/15438695387287644376</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>