Skip to main content

Posts

Showing posts from July, 2020

How To Play Music on Your Terminal

MOC (music on console) is a music player app for linux/unix command line interface designed to be simple and robust enough to run smoothly on your terminal without significantly affecting other I/O operations. "MOC plays smoothly, regardless of system or I/O load because it uses the output buffer in a separate thread. The transition between files is gapless, because the next file to be played is precached while the current file is playing" . as quoted from their website. Top features JACK, ALSA, SNDIO An inbuilt simple equalizer. A mixer that can be connected to an external mixer. Fully customizable keymapping. Playlist and directory search. Support for internet streams. Theme options Character set conversion using iconv() The latest stable release is MOC 2.5.2.  Version 2.6-alpha3 seems to be the one installed although it is still in development according to their page. It has the following improvements. Complete support for all Sndfile fo

LBRY: A Blockchain Based Decentralised YouTube Alternative

It is a free open source and community run platform for sharing digital content.  It is a new protocol with a peer to peer, decentralized file sharing and payment network secured with blockchain technology. You own your data, you control the network. Indeed you are the network. Content creators can use LBRY to share digital content like videos, music, images, e-books and even podcasts.As a user, you can use the platform to watch videos, listen to music and read e-books.  The platform doesn't have ads on its website and does not track you in order to serve you ads like YouTube does. It is ad free if you are logged into the network or using it's app. LBRY app is available for Android, iOS, Windows, Linux and macOS. The mobile apps also show you the value of your LBC in USD. You can browse their website  here . It has both light and dark modes. LBRY is governed by its own cryptocurrency called LBRY Credits or LBC for short. These can be earned in various ways incl

Navigating The File System In Linux

In my opinion, the most important thing to learn as a newbie in the Linux system is navigating the file system. Files in Linux systems are organized in a hierarchical directory structure, that is, a tree-like pattern of directories or folders. The first directory is called the root directory and it contains files and subdirectories which contain even more files and directories. Linux unlike Windows has a single file system tree regardless of how many storage devices or drives are attached or mounted to the computer. Storage devices are mounted at different points of the tree according to the inclination of the system administrator. Windows on the other hand, has a separate file system for each storage device. Current Working Directory   To display the current working directory, we use the  pwd command (print working directory). By default, when we start a terminal session, our home directory is usually our current working directory. Each user account in a Linux system is

What is the Shell in Linux?

The shell is a program that takes keyboard commands and passes them to the operating system to carry out. It is named a shell because it the outermost layer around the operating system. Almost all Linux distributions have a shell program from the GNU project called bash which is an acronym for "Bourne Again SHell". It was founded by Steve Bourne . To gain access to the shell, we use terminal emulators or as commonly known the terminal. We use them to interact with the shell when using a grahical user interface (GUI). Examples are gnome-terminal which is used in GNOME. Starting a Terminal Session There are various ways to launch the terminal emulator or terminal. 1. Use Keyboard shortcut - Ctrl + Alt + T  2. Launch it from applications menu. Type Terminal in the search bar and hit enter. What appears is called a shell prompt and it appears whenever the shell is ready to accept input. It includes your username@computername followed by your current working director

How To Create ASCII Text Banners in the Terminal

There are 2 tools used for this purpose. Figlet  Toilet Figlet is a simple command line utility for creating large letters out of ordinary text. Toilet is a sub-command under figlet used for creating colourful large characters from ordinary text.Bot utilities are available in the default package manager. So in order to use them, they have to be installed. Ubuntu/Debian sudo apt install figlet toilet CentOS/RHEL sudo yum install figlet toilet Fedora 22+ sudo dnf install figlet toilet How To Use Figlet After installing, all you need to do is provide the text you want to transform as an argument to figlet as shown below. figlet subscribe.com Other modifications that can be made to it include Justification - Align text to the left, right or center To create output at the center, use figlet -c example.com To create output to the right, use figlet -r example.com To create output to the left, use figlet -l example.com Define output

LIEBE

Image by James Chan from Pixabay A lot of us seem to find our true meaning of life in this world, and yet, many have found absolutely nothing to their liking. To some, it means laughter and love. To others it may mean trouble, despair and fever dreams. Some will just walk away from this question like they do for everything else in their so called 'life' but there are others who are willing to take the chance and try to figure out their own meaning of life and strive to achieve their solution.  Life is never easy but its just the way life goes. It can be so uncertain , never being sure of what lies ahead. But even then life should be handled like a priceless everlasting treasure. It is full of happiness, joy love and pleasure. It will give you many choices; to wear tears, smiles or frowns.  When it comes down to it, the bottom line is life is a wonderful thing and we should stand with open arms to receive what life has to give. Life should be

12 Different Ways To Use pwd command

NAME pwd - print name of current/working directory. It prints the path of the working directory starting from root(/).  SYNOPSIS pwd [option]... DESCRIPTION Print the full filename of the current working directory. It has 2 flags and it takes no arguments. -L, --logical use pwd from environment, even if it contains symbolic links. -P, --physical avoid all symbolic links. If both -L and -P options are used, -L is taken into priority. And if no option is specified at the command prompt, pwd will avoid all symlinks, so -P is assumed. --help  display this help and exit --version output version information and exit Returns zero unless an invalid option is given or the current directory cannot be read. Therefore, 0 = success. Non-zero(any character that is not zero) = failure. NOTE: your shell may have its own version of pwd, which usually supersedes the version described here. So we'll use /bin/pwd instead of pwd alone. Reason : pwd alone means the s