1621577377
The Z shell or zsh is an interactive UNIX shell and a powerful command-line interpreter for scripting languages, including shell scripting. Zsh was developed by ‘Paul Fastad’ since 1990, and the name ‘zsh’ comes from the Yale professor Zong Shao.
The Z-Shell has become one of the most popular shells for the Linux operating system. It is rich in features and easy to configure and customize. Below are some important zsh functions:
Command auto-complete
Improved variable handling
Spelling correction
Shared command history
Kill tab completion
Environment variable easy setup
Customizable
#ubuntu #linux #web #web-development #oh-my-zsh #zsh
1621577377
The Z shell or zsh is an interactive UNIX shell and a powerful command-line interpreter for scripting languages, including shell scripting. Zsh was developed by ‘Paul Fastad’ since 1990, and the name ‘zsh’ comes from the Yale professor Zong Shao.
The Z-Shell has become one of the most popular shells for the Linux operating system. It is rich in features and easy to configure and customize. Below are some important zsh functions:
Command auto-complete
Improved variable handling
Spelling correction
Shared command history
Kill tab completion
Environment variable easy setup
Customizable
#ubuntu #linux #web #web-development #oh-my-zsh #zsh
1621611746
Itching your head due to missing device driver on your machine? Looking for how to install a device drive on a Linux system? Just switched to a new OS, but hardware is not working well? Check out this article to learn how you can install a missing device drive on your Linux system.
Installing and configuring a driver on a Linux based machine is quite daunting for those who just switched to Linux from Windows/Mac, or trying the new OS with dual boot. The widely used windows and Mac operating system often makes it a user-friendly experience when it comes to install device drivers, but in case of a Linux OS, the user might find some of their hardware is not working. Well, this would not be an issue anymore.
Is it challenging to install a device driver on Linux?
For Windows and Mac OS users, it’s really an easy approach to install any device driver as the OS detects those automatically. Also, the users can download the missing ones from the internet, and just click on a simple wizard to have the driver installed.
However, in case of a Linux platform, the process is not enough simple. One of the most common reason is, Linux is an open-source OS and a number of variations available. So, there can’t be a single method that can suit all Linux platforms, and every of the distribution has its own way regarding how to install a device driver on system.
In addition, most of the default Linux drivers are open-source and integrated in the system, and this makes the installation of missing drivers quite complicated, if not included already with OS. Still, most of the useful drivers are automatically detected with popular Linux distros.
Another reason why installing a device driver on a Linux can be complicated is license policies which technically vary among Linux distributions. Such as Fedora restricts to include drivers which are legally prohibited or violate cyber laws. Even Ubuntu asks its users to prevent using closed hardware.
Means, installing a device driver on a Linux can be a bit challenging, but still here mentioned 2 approaches can be helpful.
Two Methods To Find Drivers & Install on Linux
Approach 1: Using Built-in Interface
Approach 2: Using Command Line
#install linux driver #linux driver install #how to install linux driver
1595855400
pgAdmin is the leading graphical Open Source management, development and administration tool for PostgreSQL. pgAdmin4 is a rewrite of the popular pgAdmin3 management tool for the PostgreSQL database.
In this tutorial, we are going to show you how to install pgAdmin4 in Server Mode as a web application using httpd and Wsgi module on CentOS 8.
**01-**To install pgAdmin4 on CentOS 8 we need to add an external repository, so execute the following command:
$ sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-1-1.noarch.rpm
02- After we add the pgAdmin4 repository, let’s use the below command to install pgAdmin4 as server mode:
$ sudo dnf install pgadmin4-web
03- Before proceeding with the configuration of pgAdmin4, we need to install policycoreutils
tool:
$ dnf install policycoreutils-python-utils
04- Once we done installing pgAdmin4, we need to configure the pgAdmin4 by setting up the initial pgAdmin user account
#databases #linux #ubuntu #install pgadmin4 #install pgadmin4 centos #pgadmin #pgadmin 4 install #pgadmin 4 install centos #pgadmin4 #pgadmin4 install centos
1599116481
For some time now I’ve been using zsh as my default Unix shell, which is an extended Bourne shell with many improvements, including some features from bash, ksh and tcsh. One of my favorite shells is fish shell. It’s easy to set-up and many of the features that I use comes pre-installed, as it is not POSIX supported it has a much readable (fish) syntax for scripting.
Why I switched from fish to zsh, and using Prezto over oh-my-zsh.
The latter can also be a drawback. Many of the bash scripts I work with are written in bash. That means that fish does not support all of the syntax. For that reason I went looking for an alternative and quickly came to zsh (pronounce it as Z shell). Despite the fact that zsh does not support POSIX by default, zsh makes it possible to emulate POSIX.
The most popular zsh framework is Oh-My-Zsh. Oh my zsh gives you a lot of options to set up your zsh environment. I’ve been using Oh-My-Zsh for a while and for most this is a good choice. However, after using Oh-My-Zsh, I found myself not using many of the features that Oh-My-Zsh has to offer.
So I was looking for an alternative. I quickly came to Prezto. Like Oh-My-Zsh, Prezto is a configuration framework for zsh. It comes with auto completion, aliases, function and prompt themes.
A framework is not necessary if you want to add your own custom configurations, however it does make things a lot easier to set up.
I will discuss the following: how to install zsh and Prezto, useful plugins, theming, features such as aliases and custom functions.
My installation will be on macOS, but this will not be much different if you are a Linux user. If you are on Windows it will be slightly different. If you would like to know how to install zsh and Prezto on Windows, let me know in the comments so I can add those steps later.
TLDR;
If you prefer to get started right away, you can download my zsh configuration here.
Installation
If you are using macOS Catalina or higher then you may have heard that they have replaced bash with zsh as default shell.
Run to see what your current shell is
echo $SHELL
If zsh is not installed, you can use Homebrew. Homebrew is a package manager for macOS. For Linux you can use Snapcraft or Flatpak and Chocolatey for windows. Make sure you have a package manager installed before continuing.
brew install zsh
Then set zsh as default shell:
chsh -s /bin/zsh
Zsh uses ~ / 5 startup files. These will be visible after we install Prezto.
$ZDOTDIR/.zshenv
$ZDOTDIR/.zprofile
$ZDOTDIR/.zshrc
$ZDOTDIR/.zlogin
$ZDOTDIR/.zlogout
From your terminal you can echo $ ZDOTDIR to see what it refers to. By default it refers to $HOME.
The .zshenv is used every time you start zsh. This is for your environment variables like $PATH, $EDITOR, $VISUAL, $PAGER, $LANG.
We’ll come back to the .zshrc later, for now we’ll leave it as is. Let’s start by installing Prezto.
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
Then copy-paste the following into your terminal:
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
After we have installed Prezto you will find a .zpreztorc file in your $HOME folder next to the zsh startup files. Here we edit our Prezto options.
To install plugins in zsh we need a plugin manager, I prefer zplug but feel free to use any of the other plugin managers. Zplug also makes it possible to install Oh-My-Zsh plugins without any hassle.
#bash #zsh #macos #linux #prezto #oh-my-zsh #fish-shell #linux-and-unix
1623125702
VLC (Video LAN Client) is a well known and widely used open source media player that can run various audio-visual files easily. It’s compatible to run almost all mostly used multi-media formats like .vob, .mp4, .mpg, and so on. Even the media player can be used to stream videos from online or local networks as well.
Although, there’s a number of open-source media players available when it comes to present industry, still the VLC is widely used and is must-have application on Linux distributions as well. While speaking about its versions, the latest version of VLC Media Player is 3.0.14. Check Here For Older Versions.
Best Features Of VLC Player 3.0
Uses a hardware decoding system by default to play 4K and 8K video contents.
10bits and HDR support
360 video and 3D audio support
Audio pass through support for HD audio codecs
Allows to stream videos through Chromecast enabled devices
Browsing or local network media streaming support
How to install VLC Media Player On Linux Distros
Since the VLC Media Player is lashed with all latest features and support, you might love to install the app on your Linux platform. So, here we tell you how to install it on Ubuntu, Debian, and Linux Mint distributions.
In order to install VLC Media Player on specified Linux distros, we have 2 approaches, which are discussed below:
Approach 1: Using VLC PPA Repository
sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc
Approach 2: Using Snap Store
For Ubuntu Users
sudo apt update
sudo apt install snapd
sudo snap install vlc
For Debian Users
sudo apt update
sudo apt install snapd
sudo snap install core
sudo snap install vlc
https://servonode.com/install-vlc-media-player-on-ubuntu-debian-linux
#install vlc on ubuntu #install vlc on debian #install vlc on linux mint #how to install vlc in linux