General Info
Clear cached memory on cpanel server
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…)
EasyApache Update
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…
100 SED Commands
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;}'
Sharing Files From the Command Line
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…
Historic partition usage data
From a good friend of mine... "Howdy everybody! I have been using the following command for a while now to help figure out when exactly a partition became full on…
cpanel config Documentation
Hey guys, I actually stumbled across this, it looks like cpanel finally got around to documenting /var/cpanel/cpanel.config ( tweak settings' actual conf file) Link: https://documentation.cpanel.net/display/1144Docs/The+cpanel.config+File My apologies if you already…
- Go to the previous page
- 1
- …
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- …
- 253
- Go to the next page