Linux ZSH: the basic you want to know
Here you will find out:
- what is ZSH
- how to launch Linux ZSH
- when DiskInternals can help you
Are you ready? Let's read!
What is ZSH?
The Z Shell, but better known as the shorter zsh, is a shell that is used as a login shell and as a command-line interpreter. It is somewhat similar to bash, but more productive. The complete ZSH manual contains more than 800 pages, so only a few people know all the features of this shell. Each shell has unique functions, such as a list of frequently used commands, autocomplete, etc.
All this variety of functions in Linux zsh has been accumulating for many decades (since the 1990s), so there is such an unsurpassed result.
Why do I need Linux ZSH?
It is necessary to note the indisputable superiority of ZSH over all other shells, primarily due to the presence of certain unique functions that are not implemented in any other shell. In brief, there are several advantages:
- ZSH can support not one, but several plugins at once.
- Semantic path extension (like “/lo/b” extends to “/local/bin”)
- Ability to make mistakes when entering a command - the spelling is corrected automatically, and there is an approximate completion process.
Installation of ZSH
Shell can be installed by default in Ubuntu using the command:
Next, use the command:
to change the default shell to the desired one.
Then exit and re-enter the new shell.
A check is required:
The output should be zsh.
Set up ZSH
With those options that are set by default, zsh source is pretty unpredictable. Therefore, before using it, you need to configure it a bit.
Firstly, you will be offered several options for the further outcome of the events:
It is preferable to select function 1.
In this menu, it will be possible to change the configuration in several ways:
a. The selection of the number of commands in the shell. If this item is not changed, it will be 1000.
b. Completion function ZSH's
c. Choose Vi or Emacs key bindings
d. Be sure to check out other possible features. As an option, you can turn on all the functions and feel the full power of this shell.
Search with ZSH
Zsh has an excellent file search function in the current or any other subdirectory.
And these commands:
- search for a file in the current directory. Example:
- search for a file in subdirectory. Example:
- simultaneous search both here and there. Example:
- either with the asterisks. Example:
Any option works well.
Need to access Linux files from Windows?
For this purpose, use the DiskInternals Linux Reader software.
It is a convenient tool that has no worthy analogs and is designed for users with a dual boot or a virtual machine on their computers. In other words, on Linux, you can extract any files from Windows on one computer. Moreover, the application works with all known file systems, does not slow down, and is automated as much as possible.
Therefore, by downloading this application, you will no longer have problems moving files from one OS to another.
Related articles
- How to Access Linux Ext2 or Ext3 on Windows
- Mount Linux Drive on Windows for Free
- Guide in Pictures
- A Bash Dirname Command
- Learn about Korn shell scripting
- Bash: how to split strings in Linux
- Here is everything you need to know about Bash for Windows
- How to Use Shell Script Sleep Command
- Linux: Sudo in Bash Scripts
- Use a Shell Script to Send an Email
- Learn about useful bash scripts
- Learn about systemd startup script
- Using /usr/bin/env command
- The disk you inserted was not readable by this computer error
- Shell script usage
- About a bash date command
- How to Access Ext4 from Windows
- How to Mount Ext4 on Windows for Free
- Bash Script: All You Need to Know
- An Algorithm: How to Create Bash While Loop
- Linux Shell: What You Need to Know at First
- 5 Basic Shell Script Examples for Your First Script
- Bash: How to Check if the File Does Not Exist
- Bash Time Command on Linux
- How to use bash get script directory in Linux
- How to Check Bash String Equality
- Bash: How to Loop Through Files in Directory
- 20 Examples of Bash Find Command
- Bash Cat Command in Examples
- Bash Script SSH: How to Use It
- Bash: A Script For User Input
- Basic of Grep in Linux Shell Script
- Shell Script Cut: Basic You Need to Know
- Bash: How to Check if String Not Empty in Linux
- Hello World Script in Bash
- A Linux bin/bash Shell
- Linux: New Line in Shell Script
- Linux: Bash String Ends With
- Linux: Bash Printf Examples
- Linux: Bash First Line
- Linux: $0 in a Shell Script
- Linux: A Bash Startup Script
- Linux: Write a Shell Script
- Shell Script: Replace String in File
- A crontab service shell script
- A Bash Multiline Command
- Bash and sh: is there any difference
- Linux: A Bash Source Command
- A Bash to Loop through Lines in File
- Linux: A Bash Linter
- A Bash Nested Loop
- A Bash Test Command
- A Bash Status of Last Command
- Linux: A Bash Basename Command
- Using Bash to Write to a File
- About Bash Language
- Bash for Loop in One Line
- About chaining bash commands
- Learn about a bash error code
- Using a bash tee command
- About a bash export command
- Learn about a bash wait command
- Arch Linux install script
- About advanced bash scripting
- To run a shell script in Dockerfile
- About a bash UNTIL loop
- Learn about C shell script
- Whether bash waits for command to finish
- Using bash if 0
- Using && in an IF statement in bash
- If you want to run shell script in background
- Learn about SFTP in bash scripting
- Learn to run Perl script in Linux
- Examples of using the Expect
- Copy command in shell scripts
- Install Oracle Database
- AWK in a Bash Script
- How to Use Linux Wait Command
