Downgrading PHP
Hi, Many people seem to have a lot of questions about downgrading php, and evidently many do not know about the roll-back option in easyapache. ***Important: This feature is marked…
Hi, Many people seem to have a lot of questions about downgrading php, and evidently many do not know about the roll-back option in easyapache. ***Important: This feature is marked…
http://seclists.org/oss-sec/2014/q3/649 http://seclists.org/oss-sec/2014/q3/650 https://access.redhat.com/articles/1200223 https://rhn.redhat.com/errata/RHSA-2014-1293.html http://www.ubuntu.com/usn/usn-2362-1/ More detailed info: https://securityblog.redhat.com/2014/09/24/bash-×specially-crafted-environment-variables-code-injection-attack/ Stephane Chazelas discovered a vulnerability in bash, related to how environment variables are processed: trailing code in function definitions was executed,…
Flushing the Cached Memory
By default, Linux has a very efficient memory management process that should be freeing any cached memory on the server. However, the server may, at times, decide that the cached memory is needed but is being used which can lead to memory related issues.
You can use the following command to flush your cache memory
(more…)
In approximately 60 days, the Basic profile in EasyApache will build Apache 2.4 by default. This change will not alter existing EasyApache profiles that build Apache 2.2. If you plan…
sed (stream editor) is a Unix utility that parses and transforms text, using a simple, compact programming language.
From pement.org
————————————————————————-
USEFUL ONE-LINE SCRIPTS FOR sed (Unix stream editor)
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
# triple space a file
sed 'G;G'
# undo double-spacing (assumes even-numbered lines are always blank)
sed 'n;d'
# insert a blank line above every line which matches “regex”
sed '/regex/{x;p;x;}'
# insert a blank line below every line which matches “regex”
sed '/regex/G'
# insert a blank line above and below every line which matches “regex”
sed '/regex/{x;p;x;G;}'
Did you ever want to share files from the shell? Now you can just upload and download files without complexity from your shell or browser. Just upload the file using…