Objective

Learn the basics of audio manipulation and conversion with FFMPEG.

Distributions

FFMPEG is available for nearly all Linux distributions.

Requirements

A working Linux install with FFMPEG.

Difficulty

Easy

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

Audio formats are often easier to manage than video ones, but that doesn't mean that they don't come with their own headaches. For the most part, audio problems stem from DRM and losses in quality. While FFMPEG can't always help with DRM, it can help you to convert your files without losing quality.

Objective

Learn the basics of video conversion with FFMPEG.

Distributions

FFMPEG is available on most Linux distributions.

Requirements

A working Linux install with FFMPEG installed.

Difficulty

Easy

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

Video formats can be a real pain. Some programs and devices only support a select few. Others take up loads of space on your hard drive. Even worse, the playback on poorly converted media is terrible.

FFMPEG puts the power in your hands and all from the command line. You can use FFMPEG to wrangle your video files into exactly the right file formats without sacrificing quality or dealing with clunky and incomplete GUI tools that have more dependencies than functionality.

This guide covers some of the most common uses and functions of FFMPEG in handling video, but there are certainly more. Plus, as a command line utility, FFMPEG is fully scriptable, so you can think of some of the possibilities.

Objective

Learn the basics of Taskwarrior to schedule and manage your to-do list.

Distributions

Taskwarrior is a very common program that's available on every major distribution.

Requirements

A working Linux install with root privileges.

Difficulty

Easy

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

Taskwarrior is an simple but powerful command line tool for managing tasks and objectives. Taskwarrior has been around for a while, and it's still in active development and going strong. As of today, Taskwarrior is probably the best command line task management utility available.

Objective

Install Firejail and use it to sandbox applications, like web browsers, that interact with the open Internet.

Distributions

This will work with any current Linux distribution.

Requirements

A working Linux install with root privileges.

Difficulty

Easy

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

The single biggest threat to your Linux system is your web browser. When you think about it, it makes perfect sense. A browser is a large and complex piece of software with the ability to execute code, and it accesses the open Internet and executes just about everything that it comes into contact with.

The best way to handle this problem is by compartmentalizing your browser, or any other Internet-facing application, away from the rest of your system. This way, it can't do nearly as much damage if it is compromised. That's what Firejail is for.

Objective

Learn how to create and manage KVM virtual machines from command line

Operating System and Software Versions

  • Operating System: - All Linux distributions

Requirements

  • Root access
  • Packages:
    • qemu-kvm - The main package
    • libvirt - Includes the libvirtd server exporting the virtualization support
    • libvirt-client - This package contains virsh and other client-side utilities
    • virt-install - Utility to install virtual machines
    • virt-viewer - Utility to display graphical console for a virtual machine

Difficulty

MEDIUM

Conventions

Symptoms

Factory HPFS/NTFS/exFAT pre-formated Seagate USB drive mounts read and write, however any attempt to alter data or write new data is denied. Using a mount the disk is mounted with following mount options:
/dev/sde1 on /mnt/USB type ntfs (rw,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)

Objective

Introduction to SELinux concepts and management

Operating System and Software Versions

  • Operating System: - Linux distribution agnostic

Requirements

  • Root access on a working Linux installation with a valid SElinux policy
  • policycoreutils package: it provides getsebool, setsebool, restorecon utilities
  • coreutils package: provides chcon utility
  • policycoreutils-python package: provides semanage command
  • policycoreutils-newrole: provides the newrole program
  • setools-console: provides seinfo command

Difficulty

MEDIUM

Conventions

Objective

Introduction to the management of ACLs ( Access Control List ) on Linux

Operating System and Software Versions

  • Operating System: - Linux distribution agnostic

Requirements

  • Root access on a working Linux installation
  • Knowledge of Discretionary permission system
  • A filesystem which supports ACLs (e.g xfs, ext2, ext3, ext4), mounted with the ‘acl’ option
  • Having the ‘acl’ package installed

Difficulty

MEDIUM

Conventions

Objective

Verify the integrity of ISO downloads using GPG keys.

Distributions

This will work with any Linux distribution.

Requirements

* A working Linux install with root access. * GPG

Difficulty

Easy

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Objective

Download YouTube videos from the command line using youtube-dl.

Distributions

Youtube-dl is a Python script that's usable on any distribution.

Requirements

  • A Linux install with root access.
  • Python
  • Pip Python package manager

Difficulty

Easy

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Introduction

People have wanted to download videos from YouTube since the very beginning. Several methods have worked over the years, but youtube-dl provides the most direct and reliable approach.

Youtube-dl is a Python script that pulls videos straight from YouTube and can format them on your computer. It can also separate audio or subtitles from videos.

Objective

Learn how to install, use, and customize Neofetch to display system information in the terminal.

Distributions

Neofetch is available for nearly Linux distributions.

Requirements

A Linux installation with access to root for package installations.

Difficulty

Easy

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user

Objective

Learn how to use cURL to make HTTP requests to interact with online content.

Distributions

All GNU/Linux distributions

Requirements

Just cURL. It's available in every distribution's repository.

Difficulty

Easy

Conventions

# - requires root access either via su or sudo.

$ - run as your regular user

Introduction

cURL is a command line multi-tool for interacting with the web. cURL is capable of acting like a web browser, downloading files, accessing APIs, and even signing you into online accounts. cURL can be scripted, and it handles everything from a simple command line interface.

Linux Permissions, How Do They Work?

The Linux permission system for files can appear somewhat confusing to new Linux users. There's a system of letters or numbers all jumbled together in a seemingly unordered mess.

In reality, it's quite simple, once you understand how it's broken down.

Directories, Links, Read, Write, and Execute

Start off by going to a folder in your home directory. The Downloads folder is usually a good option. Once you're there, run ls -lah.
$ cd ~/Downloads
$ ls -lah

Objective

There are multiple system managers which can by possibly running on your Linux system. The current most common system managers are SysV (init), Systemd and Upstart. You may find this short guide to be of use to you, if you are unsure which, system manager is running on your Linux system.

Requirements

Privileged access to your Linux system is required.

Difficulty

EASY

Conventions

Objective

In some cases, it is necessary to disable Docker's IPtables rules to avoid overwriting any existing firewall rules. The following article describes a simple to follow procedure on how to disable disable Docker's IPtables rules on Systemd Linux systems.

Requirements

Privileged access to your Systemd Linux is required.

Difficulty

EASY

Conventions

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: