Vim creates a new shell file, such as my file named Java_run, which reads:
echo "Please enter the Java file path you want to compile:"
Read Path
#分离路径和文件名var1= ' dirname $path ' #路径Var2= ' basename $path ' #文件名CD $var 1Javac $var 2Java ${var2%.*}
method One:
Locate_library () {[!] "$1*" = "' echo $1* '"]; }
Usage:
# Look for PAM (do weirdly due to distribution bugs (e.g. Debian) or the
# Crypt library.
If Find_func Pam_start SYSDEPUTIL.O; Then
locate_library/lib/libpam.so.0 && echo
A lot of people are learning C + + language First, then learn shell script. If you have a little programming base, it's easy to understand the so-called order, selection, and loop. Order structure In fact, there is nothing to say, before the contact
The shell provides an interface to UNIX systems. Collects input and executes the program according to input. When a program finishes executing, it displays the output of the program.
The shell is an environment where we can run our commands,
1. Start HBase, go to the Bin folder under the HBase folder, and then execute the command:
HBase Shell
[Root@hadoop0 bin]# hbase shell
hbase shell; Enter ' help ' for list of supported commands.
Type "exit" to leave the HBase Shell
Version 0.98.12.1
Shell determines if file/directory is emptyCategory: Linux 2010-05-29 17:06 3512 People read review (0) Favorite report Shell file
At the beginning of the shell, a lot of the internet is not looking for the West looking for.
#判断文件目录是否为空
The first
Shell and Export commandsAfter the user logs on to the Linux system, a user shell is launched. In this shell, you can use the shell commandor declare a variable, you can also create and run a shell script program. When you run a shell script, the
# #思路1Use awk to isolate the IP to 4 segments and then invoke it through a for loop#!/bin/bashSTART_IP="192.168.2.1"j=1for i in `echo $START_IP|awk -F. ‘{print $1,$2,$3,$4}‘`do eval IP$j=$i echo "$IP"$j"" The main difficulty of this idea1.
Shell scripting language is an important tool to implement LINUX/UNIX system management and automation operations, and the core of the Linux/unix system is mostly concerned with the contents of shell scripts. Every qualified Linux system
Color output via echo output, need to add-EECHO-E "\033[background color; font Color \033[0m"Background color40 Setting a black background41 Setting the red background42 Setting the green background43 Setting the brown background44 Setting the blue
There are times when a feature is embedded in the Java function, which is implemented by a shell script. At this point, Java support for scripting calls is required.Test environmentUbuntu16.04 I3-6100,12GBHello WorldTake a look at a basic example
In Linux, the exec function is not a single function, but a function group, which is:
int execl(const char *path, const char *arg, ...);int execlp(const char *file, const char *arg, ...);int execle(const char *path, const char *arg, ..., char *
Http://coolshell.cn/articles/4990.html
Preface
Do you think you have only done the same procedure as a small toy when you graduated from school?After entering the workplace, even if you have no experience, you can go through the following
From: http://wowubuntu.com/linux_shell_1.html
The best Linux Shell Command series serialization (1)
9th2010
# Author: Riku/This article uses CC BY-NC-SA 2.5 protocol authorization, reprint please note this article link.
NOTE: With the consent of
[-A file] true if the file exists. [-B file] If the file exists and is a special block file, it is true. [-C file] If the file exists and is a special word file, it is true. [-D file] If the file exists and is a directory, it is true. [-E file] If
BASH Shell script learning Summary. It is easy to determine whether a log file is larger than 2 GB. If it is larger than 2 GB, delete it. I haven't written bash for a long time, so I can't even think of it. So I reviewed it and made a summary of
The following figure is taken from jbuilder9, which is similar to version 7, 8, 9, X, and 200X.
Click the winzards menu and select the native executable builder menu item;
Next, go to native executable builder wizards, in seven steps:
Step 1: for
Comparison of strings and values in Shell
Binary comparison operator, which compares variables or numbers. Note the difference between numbers and strings.
Integer comparison
-EQ equals to, for example, if ["$ A"-EQ "$ B"]-Ne is not equal to, for
/*
Delphiscn eternal snow sans shell Version 1.0
This backdoor is written by delphiscn. It is support for Windows NT/2000/XP/2003.You can use a NC to control a remote computer which is runing with this software.
Complied and tested in Windows XP SP2
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