The ability to get the temperature of a key component such as a CPU is important, whether you are gaming, overclocking, or hosting intensive processes on a critical server for your company. The Linux kernel comes with modules built in that allow it to access onboard sensors within the CPU. In this tutorial, you will learn how to access these sensors and get the CPU temperature on a Linux system.
There are a variety of tools that a system administrator can use to check and monitor the health of their Linux system. This would include not only the physical hardware, but also the software and how many resources are being dedicated to running the installed services. In this tutorial, you will learn several commands to check overall health of your Linux system from the command line.
The purpose of this tutorial is to show various methods on how to rename or replace white space in multiple files. Some tools on a Linux system may not work properly with files that contain white spaces, which would give some users motivation to replace the white space with underscores, for example. Manipulating files without white space is much easier, as you do not have to worry about escaping the file name each time.
When we need to schedule a task on a Linux system we can use utilities like cron or systemd-timers. Various implementations of cron exist, but they have in common the fact that they run as a system service, and are designed to be used on systems which are always up and running, like servers. When we need to schedule a task on a desktop or a notebook, which are turned off more often, we can use anacron instead.
The purpose of this tutorial is to show how to extract a number from a string using Bash – that is, either in a Bash script or from the Linux command line. It is common to use Bash as a utility to process strings or other textual data, so it is well equipped for the task of separating numbers out of a string. There are numerous ways to achieve this; see some of the examples below to get started.
NTFS stands for New Technology File System and is developed by Microsoft for use on their Windows operating systems. NTFS is normally used on Linux systems, but has been the default file system on Windows for many years. Linux users are probably used to seeing drives with the ext4 file system, which is ordinarily the default and certainly the most widespread in the Linux realm.
Setting your system time and time zone is usually done when initially installing Kali. If you skipped that step during installation, have switched time zones, or your system clock has drifted out of sync, we’ll help you get it fixed. In this tutorial, we will show you how to change the time in Kali Linux from both command line and GUI.
The conventional way used to change the runlevel with
/etc/inittab has become obsolete with Red Hat Enterprise Linux version 7. As a result, any Linux system using systemd system management daemon now relies on the
systemctl command to change runlevel – or, to be more precise, to change the target. Therefore any edits to the
/etc/inittab file will not take effect on RHEL 7.
The hostname of your Red Hat Enterprise Linux system is important because it’s used to identify the device on a network. The hostname is also shown in other prominent places, such as in the terminal prompt. If you have not bothered to change the hostname yet, your system probably bears the default
localhost.localdomain name, which is not very helpful.
Nearly every Linux distribution these days uses the
sudo utility as a way to grant non-privileged users the ability to execute commands as privileged root users. You may have noticed that after entering your sudo password once, you can continue to execute commands without needing to re-enter it for five minutes. We can even extend this convenience by allowing any sudo commands to be executed without a password.
The purpose of this tutorial is to show how to convert
.ogg Ogg Vorbis audio files into
.mp3 format. This can be done with a couple of different tools via the command line on all major Linux distros. You will also see how to batch convert files in case you have many audios to convert at once.