Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Rubio encourages Missionaries of Charity at Mother Teresa’s grave

    May 27, 2026

    Iran war update: Officials say US looked at threats from Iran before renewing attacks

    May 27, 2026

    SRH vs RR, IPL 2026: Maharaja Yadvendra Singh International Cricket Stadium pitch report and new Chandigarh weather forecast

    May 27, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Rubio encourages Missionaries of Charity at Mother Teresa’s grave
    • Iran war update: Officials say US looked at threats from Iran before renewing attacks
    • SRH vs RR, IPL 2026: Maharaja Yadvendra Singh International Cricket Stadium pitch report and new Chandigarh weather forecast
    • China’s industrial profits jumped 24.7% in April, the fastest rise in two years despite headwinds
    • Brazil’s Flavio Bolsonaro is leaning toward Trump connections as scandal jolts his presidential bid
    • Study links father’s pre-conception stress to offspring’s altered development
    • Donald Trump spreads confusion as he says health checks were ‘thorough’ world | news
    • I’ve tried a lot of Linux email clients – why Ariane replaced Geary as my top choice
    Facebook X (Twitter) Instagram Pinterest
    Christian Corner
    • Home
    • Scriptures
    • Bible News
    • Bible Verse
    • Daily Bread
    • Prayers
    • Devotionals
    • Meditation
    Christian Corner
    Home»Devotionals»bash vs fish? I’ve tried both Linux shells, and using a command line makes it much easier
    Devotionals

    bash vs fish? I’ve tried both Linux shells, and using a command line makes it much easier

    adminBy adminMay 27, 2026Updated:May 27, 2026No Comments4 Mins Read0 Views
    Share Facebook Twitter Pinterest LinkedIn Tumblr Email
    bash vs fish? I've tried both Linux shells, and using a command line makes it much easier
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Jack Wallen/ZDNET

    Follow ZDNET: Add us as a favorite source On Google.


    ZDNET Highlights

    • The Linux shell enables communication with the kernel.
    • The default shell for most distributions is Bash.
    • There is a much more user-friendly alternative, called Phish.

    Essentially, the Linux shell interprets commands so that the kernel can understand and use them. Without a shell, not only commands will not work, but applications will not work as well.

    So yes, the shell is very important.

    Most Linux distributions default to the Bash shell, which stands for Bourne Again Shell. Why “Bourne”? Because the Bourne shell was the first shell, and Bash is an improvement on it. With Bash, you can write Bash scripts that can do almost anything. However, Bash has been around for a very long time, and hasn’t really changed much.

    Also: I was happy to be reunited with my first Linux distro at the Virtual OS Museum

    The good news is that alternatives exist, and one of those alternatives includes features that Bash has neglected. That shell is called FISH (Friendly Interactive Shell). The big difference between bash and fish is that bash feels like it works for you, and fish feels like it works with you.

    This may not make sense at first, but let me explain.

    difference between bash and fish

    When you run a command in Bash, you type it, press Enter, and wait to see if it works. Bash doesn’t help you; It just accepts the command and attempts to run it. That’s it.

    Fish behave a little differently. When you start typing a command in Fish, it will make suggestions (based on your history). When you see a suggestion that works for you, press the right-pointing arrow key to accept the suggestion. For example, you can type ssh, And the fish will then offer a suggestion like ssh 192.168.1.26. Press the arrow keys and then press Enter.

    Too: The first 5 Linux commands every new user should learn

    You might have also noticed that fish use colors. For example, if you type an invalid command, Fish will color it red. If you change an invalid command to make it valid, it turns blue.

    If you start typing the file path, it will appear red, and as the path is validated, it will turn blue.

    When you start typing a command, pressing Tab will display several suggestions. You can then use your arrow keys to scroll through the list and select the command you want to run.

    You can also set variables in fish with this set Permission. For example, if I want to set a variable called Name As per my name, I can type:

    set name jack

    Now, I can use that variable like this:

    echo “My name is $name”

    Also: Why Wave is my new terminal app – how I use this powerful tool

    The reaction will be:

    my name is jack

    Fish is user-friendly in other ways. For example, in Bash, you use the back tick (`) to indicate a command, which can often be confusing. In Fish, commands are placed in parentheses like this:

    echo (whammy) in (pwd)

    The results of the above command will be:

    jack in /home/jack

    You can also set abbreviations for commands (similar to aliases in Bash). Let’s say you use git checkout Order a lot and want to make it a little more efficient. If you wanted to make gco the abbreviation for that command, it would be:

    abbr–gco add git checkout

    Or you can set multiple ssh abbreviations, like:

    abbr–ssh11 add “ssh 192.168.1.11”
    abbr–ssh12 add “ssh 192.168.1.12”

    Now, when you type ssh11, you will be connected to 192.168.1.11, and if you type ssh12, you will be connected to 192.168.1.12.

    Too: Best Linux Distros for Beginners

    Those abbreviations persist even after you log out.

    Fish also includes a handy calculator. For example, you can type:

    Math 5020/220

    The answer (22.818182) will be presented at the prompt.

    Installing and Setting Up the Fish Shell

    Fish can be installed from your distribution’s standard repository. For example, in Ubuntu, the command to install fish would be:

    sudo apt-get installfish -y

    On Fedora, that command is:

    sudo dnf install fish-y

    On Arch, the order is:

    sudo pacman -s fish

    Once you have installed Fish, you need to set it as the default shell with the command:

    chsh -s$(which fish)

    Also: 5 Surprisingly Productive Things You Can Do With the Linux Terminal

    If you don’t like fish (you will), you can convert it back to bash:

    chsh -s $(which bash)

    And that is a fish shell. Remember, if you teach someone to fish… you empower them for life.

    Bash command Easier Fish Ive Line Linux shells
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    admin
    • Website

    Related Posts

    Devotionals

    SRH vs RR, IPL 2026: Maharaja Yadvendra Singh International Cricket Stadium pitch report and new Chandigarh weather forecast

    May 27, 2026
    Devotionals

    I’ve tried a lot of Linux email clients – why Ariane replaced Geary as my top choice

    May 27, 2026
    Devotionals

    Be prepared with the latest beta releases – Latest News

    May 27, 2026
    Devotionals

    SRH vs RR Dream11 Prediction Today Match, Dream11 Team Today, Fantasy Cricket Tips, Playing XI, Pitch Report, Injury Update – IPL 2026, Eliminator

    May 27, 2026
    Devotionals

    Kusal Mendis appointed as new white ball captain of Sri Lanka for West Indies tour

    May 27, 2026
    Devotionals

    WhatsApp will soon let iPhone users share documents with Meta AI

    May 27, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    Editor's Picks

    Christian college campus in Pace gets zoning board approval

    March 13, 2026

    Scientists discover a universal temperature curve that governs all life

    March 13, 2026

    In praise of hard work

    March 13, 2026

    AAUW Amador Branch Complaint and Coveration – Tuesday, March 24 | on the vine

    March 13, 2026
    Latest Posts

    Rubio encourages Missionaries of Charity at Mother Teresa’s grave

    May 27, 2026

    Iran war update: Officials say US looked at threats from Iran before renewing attacks

    May 27, 2026

    SRH vs RR, IPL 2026: Maharaja Yadvendra Singh International Cricket Stadium pitch report and new Chandigarh weather forecast

    May 27, 2026

    News

    • Bible News
    • Bible Verse
    • Daily Bread
    • Devotionals
    • Meditation

    CATEGORIES

    • Prayers
    • Scriptures
    • Bible News
    • Bible Verse
    • Daily Bread

    USEFUL LINK

    • About Us
    • Contact us
    • Disclaimer
    • Privacy Policy
    • Terms and Conditions

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    © 2026 christiancorner.us. Designed by Pro.
    • About Us
    • Contact us
    • Disclaimer
    • Privacy Policy
    • Terms and Conditions

    Type above and press Enter to search. Press Esc to cancel.