.nanorc in CentOS

April 2nd, 2024 – 11:03 pm
Tagged as: Computing Notes

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 [...]

The .bashrc file I use on CentOS6

April 2nd, 2024 – 11:00 pm
Tagged as: Computing Notes

The .bashrc file I use on CentOS6   # .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 [...]

Synchronize time on CentOS 6

December 27th, 2011 – 8:45 pm
Tagged as: Computing Notes

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