Linux Terminal Beginner’s Guide vps Getting Started Tutorial

888u

Last update at :2024-05-22,Edit by888u


For all novice friends, after purchasing a Linux VPS, they seem a bit at a loss and have no idea what to do. In fact, this problem boils down to not knowing what to do, so we plan to prepare a series of tutorials, starting from the latest Let’s start with the basics, slowly help you get started, and let you know what you can do after buying a VPS.

First of all, after buying a VPS, you need to connect to our VPS. Linux is different from windows and does not have a desktop application (you can also install a desktop application, so it is very similar to windows). What you are facing is a black window. No matter what you want to do, you can only type a line of commands and let Linux execute it. For example, if you want to copy or delete a file, you can only type "copy" or "delete". Class command instead of right-clicking to copy and delete.

How to connect to VPS, please read this tutorial: It’s not written yet


The following is all theoretical knowledge, you just need to read it carefully


What is the Linux terminal

The Linux terminal is a text-based interactive interface used to control a Linux computer. While it's just one of many tools that help Linux users accomplish any given task, it's widely considered the most effective method. Short of writing code, this is undoubtedly the most straightforward method. In fact, it's so popular that Apple changed the basis of its operating system to Unix, giving it Bash and the Z shell, while Microsoft developed its own open-source command-line PowerShell.


What are Linux commands

Commands commands are special keywords that you can use in the terminal to tell the computer to perform an action. Most commands are small applications that are installed along with the rest of your operating system. You may not realize they exist, since they're usually kept in relatively obscure directories like /bin, /sbin, /usr/bin, and /usr/sbin, but your terminal knows where to find them (thanks to There is something called PATH). Other commands are built into the terminal. You don't have to worry about whether a command is installed or built-in, either way, Terminal will execute it. Even better, on most Linux distributions, when the terminal cannot find a command, it will search the Internet for a package that provides the command, and then proactively offer you a service to install the package and run the command. .

Here is a simple command:

ls

The ls command is short for "list" and lists the contents of the current directory.


What are the parameters in Linux commands

Argument is any part of the command that is not the command itself. For example, to list the contents of a specific directory, you can provide the name of the directory as a parameter.

ls Documents

In this example, ls is the command and Documents are the parameters. This command will list the contents of the Documents directory.


What are the options in Linux commands

The command option option, also called flag or switch, is part of the command parameters. A command argument is anything that follows the command, and options are usually (but not always) delimited by a hyphen (-) or two hyphens (--). Take a look at the following example:

ls --classify Documents

In this example, --classify is an option. It also has a short version, since end users prefer less typing for greater efficiency.

$ ls -F Documents

Short options can usually be combined. Here is an ls command that combines the -l option with the --human-readable (-h), --classify (-F), and --ignore-backups (-B) options:

$ls-lhFB

Some options themselves can take parameters. For example, the --format option to ls lets you change how information is presented. By default, the contents of directories are given to you as columns, but if you need them to appear as a comma-separated list, you can set --format to comma.

$ ls --format=comma Documents

alluvial, android-info.txt, arduinoIntro, dmschema,

headers.snippet, twine, workshop.odt

The equal sign (=) is optional, so this will work too:

$ ls --format comma Documents

alluvial, android-info.txt, arduinoIntro, dmschema,

headers.snippet, twine, workshop.odt

Recommended site search: cloud server, Jiangsu high-defense server, rent space, website domain name registration, online proxy server free web version, Hong Kong cloud server 10 yuan a year, vps foreign server, shopex virtual host, foreign vps server rental, US server website,

Linux Terminal Beginner’s Guide vps Getting Started Tutorial

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码