How VPS - How to use/setup VPS
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Linux

Fish – A Smart and User-Friendly Interactive Shell for Linux

How VPS by How VPS
November 2, 2018
in Linux, Operating System
0
0
SHARES
37
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Features of FISH
  2. Installation of FISH (Friendly Interactive Shell) in Linux
    1. On Debian Systems
    2. On Ubuntu Systems
    3. On Fedora Systems
    4. On CentOS Systems
    5. On RHEL Systems
  3. How to Use Fish Shell

The Friendly Interactive Shell which is commonly called and abbreviated as FISH is a shell for UNIX and UNIX like Operating System. It is released under GNU General Public License v2.

Fish – A Smart and User-Friendly Interactive Shell for Linux

Fish Shell for Linux

FISH is a user-friendly, interactive shell designed to work with any other shell like bash or ZSH. It is designed in such a way that users get powerful features that is easy to discover, remember and use. Unlike other shell which disables various features by default to save system resource, FISH keeps all of them enabled by default so that you can make most out of it.

Features of FISH

  1. Interactive and User-friendly
  2. Powerful features
  3. Simple, clean and Consistent.
  4. Exotic in the sense that syntax not independent and isn’t derived from Bourne Shell or C shell.
  5. Search as you type feature ensures automatic suggestions based upon current directory and history.
  6. Select suggestions using arrow key.
  7. Advanced Tab completion supported.
  8. Syntactic rules prefer features as commands and not syntax.
  9. Help command to view FISH documentation in HTTP Web Browser.
  10. Support for Universal Variable so user can assign permanent variable, remains unaffected at reboot/shutdown.
  11. Syntax highlighting and extensive error checking.
  12. X clipboard supported.
  13. Glorious VGA Color. 256 terminal colors supported.
  14. Web-based configuration.

Installation of FISH (Friendly Interactive Shell) in Linux

Fish packages can be installed on all Linux distributions using Fish repositories, the best way is to add the repository to your system package manager using the following steps as per your distributions:

On Debian Systems

Add the following repository to Debian 8/7 and install manually as shown.

---------------- On Debian 8 ----------------
# echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_8.0/ /' >> /etc/apt/sources.list.d/fish.list 
# apt-get update
# apt-get install fish
---------------- On Debian 7 ----------------
# echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_7.0/ /' >> /etc/apt/sources.list.d/fish.list 
# apt-get update
# apt-get install fish

On Ubuntu Systems

On Ubuntu (all supported releases) execute the following commands:

$ sudo add-apt-repository ppa:fish-shell/nightly-master
$ sudo apt-get update
$ sudo apt-get install fish

On Fedora Systems

On Fedora (22, 21, 20) run the following commands as root:

---------------- On Fedora 22 ----------------
# cd /etc/yum.repos.d/
# wget http://download.opensuse.org/repositories/shells:fish:release:2/Fedora_22/shells:fish:release:2.repo
# yum install fish
---------------- On Fedora 21 ----------------
# cd /etc/yum.repos.d/
# wget http://download.opensuse.org/repositories/shells:fish:release:2/Fedora_21/shells:fish:release:2.repo
# yum install fish
---------------- On Fedora 20 ----------------
# cd /etc/yum.repos.d/
# wget http://download.opensuse.org/repositories/shells:fish:release:2/Fedora_20/shells:fish:release:2.repo
# yum install fish

On CentOS Systems

On CentOS (7 and 6) run the following commands as root:

---------------- On CentOS 7 ----------------
# cd /etc/yum.repos.d/
# wget http://download.opensuse.org/repositories/shells:fish:release:2/CentOS_7/shells:fish:release:2.repo
# yum install fish
---------------- On CentOS 6 ----------------
# cd /etc/yum.repos.d/
# wget http://download.opensuse.org/repositories/shells:fish:release:2/CentOS_6/shells:fish:release:2.repo
# yum install fish

On RHEL Systems

On RHEL (7 and 6) run the following commands as root:

---------------- On RHEL 7 ----------------
# cd /etc/yum.repos.d/
# wget http://download.opensuse.org/repositories/shells:fish:release:2/RHEL_7/shells:fish:release:2.repo
# yum install fish
---------------- On RHEL 6 ----------------
# cd /etc/yum.repos.d/
# wget http://download.opensuse.org/repositories/shells:fish:release:2/RedHat_RHEL-6/shells:fish:release:2.repo
# yum install fish

How to Use Fish Shell

1. First time when you start fish, you should see this on the terminal:

$ fish
Fish – A Smart and User-Friendly Interactive Shell for Linux

Start Fish Shell

2. Check version of fish installed.

$ echo $FISH_VERSION
Fish – A Smart and User-Friendly Interactive Shell for Linux

Check Fish Version

3. See how auto-suggestion is working in FISH.

$ date
$ Desktop
$ locale
...
Fish – A Smart and User-Friendly Interactive Shell for Linux

Fish Auto Suggestion

4. Call for help and you will get help in your default HTTP web browser.

$ help
Fish – A Smart and User-Friendly Interactive Shell for Linux

Fish Shell Help

5. Use Advanced Tab auto-completion followed by a incomplete string/command.

$ tty
Fish – A Smart and User-Friendly Interactive Shell for Linux

Advance Auto Suggestion

6. Syntax highlighting as user type:

$ /usr/bin/calendar
Fish – A Smart and User-Friendly Interactive Shell for Linux

Fish Syntax Highlighting

7. Intelligent color selection automatically in real time.

$ echo "I am loving FISH <3"
Fish &#8211; A Smart and User-Friendly Interactive Shell for Linux

Fish Shell Color Selection

8. You can check exit status of last run command.

$ echo $status
Fish &#8211; A Smart and User-Friendly Interactive Shell for Linux

Check Command Exit Status

9. Make FISH your default shell.

$ chsh -s /usr/bin/fish

Enter password when prompted.

Fish &#8211; A Smart and User-Friendly Interactive Shell for Linux

Set Fish Shell Default

To switch back to your Previous shell do.

$ chsh -s /bin/bash

If any other shell was your default shell replace ‘/bin/bash’ with your shell. For example if it was zsh do:

$ chsh -s /bin/zsh

Caution: Check twice the path of your shell before entering. If you accidentally entered wrong path to a shell you will be thrown out of the shell, If you do this with your admin account, you will need to reset admin password and then change shell. To get rid of these hassles be extra-caution.

This shell provides output in a lucid and interactive way that it will change the way you look at Linux Shell. So much of colors, indention, highlighting of codes, auto-completion, suggestion and other features lets you concentrate on what you want to achieve and not how to achieve. This shell has been honored by being added as my default shell for my work machine. FISH is an example to those who says Linux command-line is boring.

If You are an avid Linux user and a fan of Linux command-line. This Shell is worth giving a try and it won’t disappoint you. You may like to share your experience with FISH in the comments below. Don’t forget to provide us with your valuable feedback in the comments below. Like and share us help us get spread.

Reference Link: http://fishshell.com/

Source: tecmint.com

Tags: Linux Commandslinux guidelinux vps setup guide
How VPS

How VPS

Related Posts

Failed to download metadata for repo 'appstream' on Centos 8
CentOS

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Install Apache Tomcat 8 on CentOS 7
Linux

How to Install Apache Tomcat 8 on CentOS 7?

February 11, 2020
Install Arch Linux With Btrfs Snapshotting
Uncategorized

Install Arch Linux With Btrfs Snapshotting

February 13, 2020
Next Post

15 Practical Examples of “dpkg commands” for Debian Based Distros

15 Useful ‘FFmpeg’ Commands for Video, Audio and Image Conversion in Linux – Part 2

The Power of Linux “History Command” in Bash Shell

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow Us

  • 121 Followers
  • 87.2k Followers

Recommended

Teleconsole – Share Your Linux Terminal with Your Friends

4 years ago

Setup NFS Share on Debian

3 years ago

How To Secure Apache with Lets Encrypt on Ubuntu 18.04 VPS or dedicated server

4 years ago

Installing Akaunting on Debian 9

3 years ago

Instagram

    Please install/update and activate JNews Instagram plugin.

Categories

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel

Topics

Apache Web Server Bluehost Review 2019 Bluehost Review 2020 Bluehost Review 2021 Centmin Mod CentminMod centos install htop fsck htop install HTTP DoS attack Install Snort on an Ubuntu install Zabbix on CentOS install Zabbix on CentOS 7 Linux Commands linux guide linux install htop linux vps setup guide MariaDB MariaDB Error Mysql mysqld error optimize MariaDB optimize Mysql snort Ubuntu
No Result
View All Result

Highlights

Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

Webmin Reviews

Virtualmin Reviews

CentOS Web Panel Reviews

Ajenti Reviews

ISPConfig Reviews

Trending

Failed to download metadata for repo 'appstream' on Centos 8
CentOS

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

by How VPS
February 25, 2022
0

I tried to update some extensions by use yum on centOs which I specified in Dockerfile. After...

How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020
Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

February 17, 2020
Webmin Reviews

Webmin Reviews

February 17, 2020
How VPS – How to use/setup VPS

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Visit our landing page to see all features & demos.
LEARN MORE »

Recent News

  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8 February 25, 2022
  • How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”? November 17, 2020
  • How to optimize Mysql or MariaDB November 3, 2020

Categories

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel

[mc4wp_form]

© 2018 JNews - City News Magazine WordPress theme. All rights belong to their respective owners.
JNews is a top selling 2018 WordPress News, Blog, Newspaper & Magazine Theme.

No Result
View All Result
  • Home

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.