Wake-on-lan (also known with the “W.O.L” acronym) is a standard ethernet feature which allows a machine to be woken up on the reception of a specific type of network packet (the so called MagicPacket). The main advantage of this feature is that it allows us to keep a machine in a low power consumption state, and be accessed only when needed.
YAML is a data serialization language. The name itself is a recursive acronym which stands for YAML Ain’t Markup Language. It is specifically designed to be human-friendly, easy to read and write, to represent settings and data structures and to work well with modern programming languages.
The command line terminal in Linux is the operating system’s most powerful component. However, due to the sheer amount of commands available, it can be intimidating for newcomers. Even longtime users may forget a command every once in a while and that is why we have created this Linux cheat sheet commands guide.
Linux considers anything stored on a file system as files, even block devices. This means commands such as the dd command in Linux can be very handy in many situations, as it can be used to convert and copy files in the terminal, backup disks, or wipe data. The dd command is just as fundamental as it is useful, as it’s ready to use even on the most basic installations of Linux distros.
On any operating system, the files on your hard disk take up a certain amount of space. In Linux specifically, you can view how much space that these files take up in the command line terminal by using the du command. The du command (the name is shortened from “disk usage”), as the name implies, will simply display, in its output, the amount of disk space being used by a specified file or directory.
In Linux, we can employ many different methods for making text file management more convenient and fluid. The csplit command in Linux is a perfect example of how we can make text files a lot easier to maintain.
This tutorial will show you a small example of C++ code on how to read a characters from a file, as well as to count the number lines that any particular file consist of. We will be creating the script and compiling the C++ on a Linux system. All distros will work the same, provided you have the G++ compiler installed, which we will cover as well.