I work in windows and use securecrt to connect to a remote Linux host.
I downloaded a zip file from the Internet (all files are PDF and DOC files, which need to be viewed under Win) and decompressed it with RAR in windows. Use the RZ command to
Cat display fileMore: Display files. Pause after each screen is displayed.PG pagination commandAfter running this command, a prompt is displayed at the bottom of the screen. You can enter the command,+N forward n screens-N back n screens+NL advances
#! /Bin/bashPnum_server = 'ps-WEF | grep Tomcat | grep-V grep | WC-l'If test $ pnum_server-LT 1Then/Usr/local/tomcat/bin/shutdown. ShSleep 2 S/Usr/local/tomcat/bin/startup. ShFi
There must be spaces between square brackets and expressions.
Put the
Why is Shell-mode a good tool for dealing with such complex environments? Let's take a look at the problems in Shell in this environment, and then let's take a look at how Emacs's shell-mode solves these troubles.
The first is Shell
Http:// OS .51cto.com/art/200910/158857.htm
This article describes the basic knowledge of Linux script shell commands in detail, including: 1, 2, comment, 3, variable 4, environment variable, 5, Linux script shell commands, and process control.
Using ubuntu10.04 these days, multiple instances of the same program will always be opened, such as Firefox/chromium, and so on, so I wrote the following script to enable the function of only one instance:
#! /Bin/sh# Name: One# Auther: maxupeng#
"Back" | "tab" | "clear" | "return" |
"Escape" | "space" | "prior" |...
The names of all keys can be found in winuser. h. The hotkeys are case insensitive.
The hotkey can only activate shortcuts on Windows desktop or Windows Start Menu.
Windows
Wshshell object
Progid wscript. Shell
File Name wshom. ocx
CLSID F935DC22-1CF0-11d0-ADB9-00C04FD58A0B
IID F935DC21-1CF0-11d0-ADB9-00C04FD58A0B
The following table describes the properties related to the wshshell object.
Attribute
Why should I quit? Why should I quit? Why can't I exit with exit? Why... yes, shell does exit with exit, but, however, what we're talking about is not that cheap...
In our daily work environment, there is such a characteristic. We will first log
CTRL + P repeat the previous command
CTRL + a jump to the first character
CTRL + x same as above, but once again, it will return to the original location
CTRL + B move one character forward without deleting characters
CTRL + H Delete the previous
1. ECHO Displays a line of strings to the standard output.
0) some details of the ECHO command are different in System V, BSD, and Linux like-Unix systems, which are mainly Linux systems.
1) usage: Echo [-E] [-N] string
① String: string is the
In this article, through the summary of variable declaration, loop statements, condition judgment, and data superposition in shell scripts, most scripts of Linux daily management can be solved.
1. Variable declaration:
Is a weak language, with name =
Many new users want to learn Chinese software. I don't know where to learn. Today I will send a basic shell check tutorial. Of course. This tutorial is only for beginners. Please fly over the old bird. Here is a brief introduction:
Beginners want
At ordinary times, I seldom have time and energy to watch the live broadcast of the five major league matches. But I still pay close attention to the progress of the competition. However, I have to check the information online and have a lot of
Object pipeline is a convenient feature of PS. One of the main advantages of using an object is that it enables the use of pipeline transmission commands (that is, it is much easier to pass the output of a command as input to another command.
Classic shell is a tool used to optimize Windows 7 and 8 user interfaces.
The motivation for the software development was to be dissatisfied with Windows 7's removal of the classic "start" menu. As a result, he developed his own program to replace
I have been idle for the past two days, playing Nb, starting with shell, and coming up with something interesting. Remember it by the way.
A simple script test_2 is written to output the user's parameters:#! /Bin/shIf [$ #-lt 2]; thenEcho "you need
Sometimes, we need to repeat the previous commands in Bash. Of course, you can use the up arrow key to view commands that have been run before, but this article introduces some better ways, such !!,! A ,! Number ,! -Number ,! $, Ctrl + r, and other
Linux ShellLittle-known secrets in command lines
/* Pass the test in linux */One day, you wrote a very long command.$ Echo ooooooooooooooooooooooooooooooooooooooooooooYou suddenly don't want to execute it, and you want to delete the entire command,
The operating system shell is defined as a user interface provided by the system. It allows users to execute public tasks, such as accessing the file system, exporting execution programs, and changing system settings. Ms-dos has a command.com role.
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