Category: Operating System

Is Linux an Operating System?

Short Answer: No.

Long Answer: An operating system is a set of tools or software that you install on your computer or device and create a base system that allows you to extend its functionality by installing additional applications. In other words, an operating system is the minimum environment necessary to make your computer or device usable.

How to schedule tasks in GNU/Linux


cron is a time-based job scheduler in Unix-like computer operating systems, cron is used to schedule jobs at fixed times, dates, or intervals; cron runs every minute and detects if there is a new command or task (reading the files /etc/crontab, /etc/cron.d/* and /var/spool/cron/crontabs/*) to run.

CentOS or Fedora?

Short answer: CentOS.

Long answer...

How to install Debian, expert mode

Debian GNU/LinuxDebian is a highly recommended distribution for server environments due to:

  • His version release philosophy. Debian does not have a fixed cycle to release new versions, but each version is released once the development team considers it stable enough (released when it is ready).
  • Packages inclusion policy: only stable and well-tested packages are included.
  • Its robustness and stability.

How to read/write NTFS partitions on GNU/Linux

GNU/Linux

NTFS-3G is a stable, full-featured, read-write NTFS driver for Linux, Android, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX, Haiku, and other operating systems.

  • It provides safe handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008, Windows 7, Windows 8 and Windows 10 NTFS file systems.
  • It allows to create, delete, move and rename files, directories, hard links and streams
  • It allows to read and modify files and streams
  • It allows to handle special files such us: symlinks, devices and FIFOs

How to know the installed version of Debian/Ubuntu?

We can know the version of Debian / Ubuntu we have installed by running the following command:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"

Handle NTFS partitions in GNU/Linux

To handle NTFS partitions in GNU/Linux you should install the package ntfs-3g

Note: From April 2011 the ntfs-3g and ntfsprogs projects joined forces so now everything is in a single suite: ntfs-3g.

Most likely your distribution may already have installed the suite ntfs-3g else you can do it by exec

Debian/Ubuntu

$ sudo apt-get install ntfs-3g

CentOS/Fedora/RHEL

# yum install ntfs-3g

Enlarge XFS partition

CentOS

XFS is a high-performance 64-bit journaling file system created by Silicon Graphics, Inc (SGI) in 1993. It was the default file system in the SGI's IRIX operating system starting with its version 5.3; the file system was ported to the Linux kernel in 2001, currently is the default file system in CentOS 7.

xfs_growfs allows to enlarge in hot a partition with XFS file system

Recovering my GNU/Linux system

I have made some modifications to my RHEL/Fedora/CentOS, Debian/Ubuntu operating system and now it does not restart. How can I make a recovery / rescue operation?