
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yokel Economics &#187; CentOS</title>
	<atom:link href="http://192.168.0.198/archives/tag/centos/feed" rel="self" type="application/rss+xml" />
	<link>http://192.168.0.198</link>
	<description>Writings, notes, and data</description>
	<lastBuildDate>Mon, 30 Mar 2026 02:04:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>.nanorc in CentOS</title>
		<link>http://192.168.0.198/archives/1050</link>
		<comments>http://192.168.0.198/archives/1050#comments</comments>
		<pubDate>Wed, 03 Apr 2024 09:03:04 +0000</pubDate>
		<dc:creator>Yokelheim</dc:creator>
				<category><![CDATA[Computing Notes]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nano]]></category>

		<guid isPermaLink="false">http://192.168.0.198/?p=1050</guid>
		<description><![CDATA[Edit $HOME/.nanorc to contain the following: include /usr/share/nano/java.nanorc include /usr/share/nano/man.nanorc include /usr/share/nano/nanorc.nanorc include /usr/share/nano/python.nanorc include /usr/share/nano/sh.nanorc include /usr/share/nano/html.nanorc include /usr/share/nano/perl.nanorc include /usr/share/nano/php.nanorc CentOS 7 uses a much older version of nano than the one that presently ships on most distributions. The php.nanorc on newer The following should appear in /usr/share/nano/php.nanorc on CentOS7 to allow syntax [...]]]></description>
			<content:encoded><![CDATA[<p>Edit $HOME/.nanorc to contain the following:</p>
<pre class="prettyprint">include /usr/share/nano/java.nanorc
include /usr/share/nano/man.nanorc
include /usr/share/nano/nanorc.nanorc
include /usr/share/nano/python.nanorc
include /usr/share/nano/sh.nanorc
include /usr/share/nano/html.nanorc
include /usr/share/nano/perl.nanorc
include /usr/share/nano/php.nanorc</pre>
<p>CentOS 7 uses a much older version of nano than the one that presently ships on most distributions. The php.nanorc on newer The following should appear in /usr/share/nano/php.nanorc on CentOS7 to allow syntax highlighting for php:</p>
<p>&nbsp;</p>
<pre class="prettyprint">## Syntax highlighting for PHP

syntax "php" "\.(php[23457s~]?|phtml|ctp)$"

# PHP markings.
color brightgreen "()"

# Function names.
color white "\</pre>
]]></content:encoded>
			<wfw:commentRss>http://192.168.0.198/archives/1050/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The .bashrc file I use on CentOS6</title>
		<link>http://192.168.0.198/archives/1047</link>
		<comments>http://192.168.0.198/archives/1047#comments</comments>
		<pubDate>Wed, 03 Apr 2024 09:00:37 +0000</pubDate>
		<dc:creator>Yokelheim</dc:creator>
				<category><![CDATA[Computing Notes]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://192.168.0.198/?p=1047</guid>
		<description><![CDATA[The .bashrc file I use on CentOS6 &#160; # .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # system variables export VISUAL=nano # sets nano as the crontab editor export GZIP=-9 # maximum compression [...]]]></description>
			<content:encoded><![CDATA[<p>The .bashrc file I use on CentOS6</p>
<p>&nbsp;</p>
<pre class="prettyprint"># .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# system variables
export VISUAL=nano  # sets nano as the crontab editor
export GZIP=-9      # maximum compression
export XZ_OPT=-9    # maximum compressions

# ls modifications
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'

# calculator
calc() { echo "$*" | bc -l; }

# Generate a UUID
uuid() { UUID=$(cat /proc/sys/kernel/random/uuid) &amp;&amp; echo $UUID; }

# CHANGE SHELL/WINDOW TITLE
# Works on Opensuse 15.3
# PS1=$PS1"\[\e]0;test1\a\]"
shellrename() { read -p "Enter new shell name: " name &amp;&amp; PS1=$PS1"\[\e]0;${name}\a\]"; }

# For older versions of gnome-terminal
# shellrename() { read -p "Enter new shell name: " name &amp;&amp; PROMPT_COMMAND='echo -ne "\033]0;${name}\007"'; }

# Zen Burn
# Another old way that works great in gnome-terminal while causing problems
# in some configurations involving SSH:
echo -ne '\e]12;#BFBFBF\a'
echo -ne '\e]10;#DCDCCC\a'
echo -ne '\e]11;#3F3F3F\a'
echo -ne '\e]4;0;#3F3F3F\a'
echo -ne '\e]4;1;#705050\a'
echo -ne '\e]4;2;#60B48A\a'
echo -ne '\e]4;3;#DFAF8F\a'
echo -ne '\e]4;4;#506070\a'
echo -ne '\e]4;5;#DC8CC3\a'
echo -ne '\e]4;6;#8CD0D3\a'
echo -ne '\e]4;7;#DCDCCC\a'
echo -ne '\e]4;8;#709080\a'
echo -ne '\e]4;9;#DCA3A3\a'
echo -ne '\e]4;10;#C3BF9F\a'
echo -ne '\e]4;11;#F0DFAF\a'
echo -ne '\e]4;12;#94BFF3\a'
echo -ne '\e]4;13;#EC93D3\a'</pre>
]]></content:encoded>
			<wfw:commentRss>http://192.168.0.198/archives/1047/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronize time on CentOS 6</title>
		<link>http://192.168.0.198/archives/1696</link>
		<comments>http://192.168.0.198/archives/1696#comments</comments>
		<pubDate>Wed, 28 Dec 2011 02:45:00 +0000</pubDate>
		<dc:creator>Yokelheim</dc:creator>
				<category><![CDATA[Computing Notes]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ntp]]></category>

		<guid isPermaLink="false">http://192.168.0.198/?p=1696</guid>
		<description><![CDATA[This will start the time service and synchronize the clocks on CentOS 6. yum install ntp chkconfig ntpd on ntpdate pool.ntp.org /etc/init.d/ntpd start]]></description>
			<content:encoded><![CDATA[<p>This will start the time service and synchronize the clocks on CentOS 6.</p>
<pre>yum install ntp 
chkconfig ntpd on 
ntpdate pool.ntp.org 
/etc/init.d/ntpd start</pre>
]]></content:encoded>
			<wfw:commentRss>http://192.168.0.198/archives/1696/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
