How to query the current shell versions and types under the Linux command line

There are several ways to see what shell you are currently using, and the easiest way is to use the shell's special parameters. First, a special parameter named "$$" represents the PID of the shell instance that you are currently running. This

Variable type, arithmetic operator, conditional test of shell script in Linux

Type of variable in bash Local variable: Valid only for the current shell and not for its child shell Variable assignment: Name=value Name= $user Name= ' command ', name=$ (command): "The Meaning of" and $ () is different. The following figure

Linux Copy File command CP usage Commentary _linux Shell

There are many commands under Linux, there is a command, I always use the problem, that is CP command. Each time you use this command, you are prompted to cp:omitting directiory error. Finally, Baidu to understand that the original CP command to

How to install and uninstall RPM packages on Linux _linux shell

The way to install and uninstall the RPM package on Linux is as follows: 1. How to install the RPM package RMP software packages can be installed using the program RPM to complete. Execute the following command Rpm-i your-package.rpm

Linux Shell + expect: Bulk SCP scripting Tools __linux

[Turn]http://www.knktc.com/2011/08/20/linux-shell-expect%e6%89%b9%e9%87%8fscp%e8%84%9a%e6%9c%ac%e5%b7%a5%e5%85%b7/ One of the most recent tasks in preparing a deployment is to send some files, such as installation packages, to a large number of

Shell script description, shell script structure and execution, date command usage, variables in shell scripts

Shell Script Introduction Shell is a scripting language Aming_linux (public number) blog.lishiming.net (blog) You can use logical judgments, loops, and other syntax Functions can be custom-defined The shell is a collection of system

Bash Shell Learning notes (i)--common commands

One, the basic Bash Shell command 1, the default bash shell prompt is the dollar sign ($); 2. The Bash manual uses the man command to access the manual pages stored on the Linux system, such as: Bogon:~ mac$ man Kill KILL (1) BSD

"Linux command line and Shell Scripting Encyclopedia" chapter 17th Create a function

You can encapsulate the shell script code in a function so that it can be used more than once anywhere in the script.17.1 Basic Scripting functionsFunction: is a block of script code that can be named and reused anywhere in the code.17.1.1 Creating

Shell parsing command-line procedures and Eval commands

This article explains what the process of a Linux command is going through when it executes. And the approximate sequence of these processes.1.1 Shell parsing command lineThe approximate operation of the shell when reading and executing commands is

Shell Scripting Basics in detail (ii)

Simonsu Blog Comment Wall Reader Wall Link About The SH scripting syntax in LinuxPlaying Linux all know the convenience of SH script, but how to write sh script is a novice and rookie problem like me. It is one thing to

Linux shell String Operations (length, find, replace) detailed

Linux Shell String Operations (length, find, replace) a detailed description of string-related operations is often involved in the shell batch process. There are a lot of command statements, such as: awk,sed can do string various operations. In fact,

In the shell of Linux, echo changes the output display style

In the shell of Linux, echo changes the output display style echo-e "\033[32;49;1m [done] \033[39;49;0m" or echo-e "\e[32;49;1m [done] \033[39;49;0m"Output result: [Done]The color of the text terminal can be generated by using the ANSI

Linux Shell terminal common shortcut keys Daquan

In daily work, a lot of things to deal with the computer often, especially high frequency use of some professional software, or play some keyboard streaming nature of the game, you should be familiar with the commonly used shortcut keys, so play not

Let,echo variables of shell scripts

Http://blog.chinaunix.net/uid-26827001-id-3154024.htmlFirst you see a lot of #!/bin/bash that start with this is the shell program that tells the system to interpret this script file# This is a comment line, when the line is validThe script is

4, File box Directory Management command, shell reference, Shell history

Directory:CD: Switch directoriesCD path: Switch to the file pathCD ~[username]: Switch to the user's home directory,CD-: Switch to the directory where you firstPwd:pring working directory: Displays the current directorymkdir: Creating a Directory-P:

Shell script Basics

Common shell: -------------- from "laruence's Linux private dish" In the early UNIX era, there were many developers, so shell had many versions based on the developer's differences, such Frequently heard Bourne shell (SH ),C shell,Commonly used

How to debug shell scripts

I. Preface Shell programming is widely used in the Unix/Linux World. Mastering shell programming is also the only way to become an excellent Unix/Linux developer and system administrator. The main task of script debugging is to find the cause of the

Link: Shell sed awk

If you want to quickly and easily understand shell programming, here is also a simple tutorial link: http://www.ooblick.com/text/sh/There is also a little deeper Cu shell version of the town board treasure classic thirteen ask

Eval in shell

Function Description: Recalculate the parameter content. Grammar: Eval [parameter] Additional instructions: Eval can read a series of parameters and then execute them according to the characteristics of the parameters. Parameter: Parameters are not

How to display Chinese Characters in SSH Secure Shell Client

How to display Chinese Characters in SSH Secure Shell Client This is a shortcoming that the SSH Secure Shell Client has not solved for many years. Both the Client and the server must be 'utf-8' encoded, now I finally know that the Windows Chinese

Total Pages: 541 1 .... 18 19 20 21 22 .... 541 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.