linux

HowTo : Determine and Change File Character Encoding

How to detect and change a file's character encoding from the command line in Linux. Examples of converting text between: CP1251 (Windows-1251, Cyrillic), UTF-8, ISO-8859-1 and ASCII.

HowTo : Disable SELinux

SELinux is an access control tool that is installed and activated by default in such Linux distributions like RHEL (Red Hat Enterprise Linux), CentOS and Fedora.

If you've setup a new system, or installed some new application and it is not working, then you have to check SELinux, because it may be the cause of the problem.

In this article you'll learn how to check the current status of SELinux, how to disable or enable SELinux temporarily or permanently.

HowTo : Change Locale (Language and Character Set) in Linux

Locales are used in Linux to define which language and character set (encoding) the user uses.

In this article I'll show you how to :

  • Check the Current Locale
  • Get the List of Available Locales
  • Add a New Locale
  • Change the Locale for Current Session
  • Change the Locale Permanently
  • Change the Default System's Locale

HowTo : Mount Remote Windows Partition (Share) under Linux

The article describes how to mount CIFS shares manually. The shares can be on a Windows computer or on a Linux/UNIX server running Samba.

Configuring Network on CentOS/RHEL -- Basic Configuration

Interface configuration files control the software interfaces for individual network devices.

As the system boots, it uses these files to determine what interfaces to bring up and how to configure them.

These files are usually named ifcfg-<name>, where <name> refers to the name of the device that the configuration file controls.

Because each device has its own configuration file, an administrator can control how each interface functions individually.