Linux Script Writing

The first shell script is written#!/bin/bash# #! in the top is a contract tag that tells the system what interpreter the script needs to execute;#定义变量:App_base_path= "/opt/app"#特殊变量:The 1th argument passed to a script or function.Node_name= "$"Op= "$

Linux with Notes

VimUndo Last Action USet TabStop = 4 sets the TAB key to two spacesSet Noswapfile does not generate swap filesSet FF can see the word DOS or UNIXPS--no-headers Print no header line @ AllWord boundariesescaped angle brackets \ to match the boundaries

How to configure environment variables under Linux

There are several ways to configure environment variables under Linux, as outlined belowMode 1. Edit the/etc/profile file to add the following:Java_home=/usr/local/jdk1. 8 export Java_homepath= $PATH: $JAVA _home/binexport PATHMode 2: Edit

Linux Command line Basics

Command-line Basics some nouns "Graphical Interface" "Command Line" Terminal "shell" "bash" Installation use Windws: Install git, open Gitbash Linux Open Terminal MAC Open Terminal Basic command

Linux Server Build SVN

SVN installation1). Check if the server is installed: Rpm-qa subversion2). Uninstall old version: Yum remove Subversion3). Install SVN server: Yum install httpd httpd-devel Subversion mod_dav_svn mod_auth_mysql 4). Verifying the installation# cd/etc/

Gpiolib Learning for 5.4.10.linux cores 2

Summary: First analysis of the offal: struct s3c_gpio_chip,s5pv210_gpio_4bit5.4.10.1, struct s3c_gpio_chipThe essence of the initialization of the Gpiolib library is to assign values to this struct array(1) This struct is an abstraction of a gpio

Compilation and installation of the Boost library under Linux

Download Boost sourceBoostUnzip to a directorytar -zxvf boost_1_66_0.tar.gzCompiling the Boost libraryEnter the BOOST_1_66_0 directorycd boost_1_66_0./bootstrap.sh --with-libraries=all --with-toolset=gcc--with-liraries: Libraries that need to be

Linux Disk Management

First, the physical structure of the diskExamples of important concepts are as follows1. Track: When the disk rotates, if the head remains in one position, each head will draw a circular trajectory on the disk surface, these circular tracks are

Batch kill multiple processes under Linux

Ps-ef|grep php|grep-v grep|cut-c 9-15|xargs kill-9Pipe symbol "|" Used to separate two commands, the output from the left command of the pipe character is entered as the command to the right of the pipe. Let's talk about the connection with the pipe

is the Linux view port occupied by that process?

1. Lsof-i: Port number2. Netstat-tunlp|grep Port numbercan see which process is consuming the specified portTools/Materials Linux,windows Xshell Method/Step "Step One" lsof-iThe lsof-i is used to display conditions that

Linux Command screen usage subtotal

Brief introductionScreen is a free software developed by the GNU Program for command-line terminal switching. The software allows the user to connect multiple local or remote command lines simultaneously and freely switch between them. GNU screen

Linux Remote Debugging

#!/Bin/bash#: Represents multiple export Ld_library_path=~/Demoproduce/Dsp/Lib:~/Demoproduce/Dsp/Imixprotocol/Lib:~/Demoproduce/Dsp/Imixobject/Lib: $LD _library_pathexport

Linux system security

First, system security 1. User Management(1) Delete users who are not in use for a long timeuserdel [-r] 用户名Options-r:删除指定用户家目录(2) Set Program user Shell to not allow login systemusermod -s /sbin/nologin 用户(3) Temporary use of the user (set

Linux Common commands

Force exit VimSave exit(SHIFT + Z) Press two timesFirst, make a colon (:) Make another letter (x)Do not save exitFirst colon (:) letter (q) exclamation point (! )Read and write to a filePress ESC to jump to command mode, and then: W Save the file

Linux crontab perform timed tasks per second

OK, we all know that Linux crontab can be set to perform tasks on a timed basis.* * * * *But the minimum is to perform a task every minute, before the interview Mo Mo also was asked once every second how to write, vaguely remember the answer is */1,

Self-study Linux shell13.3-get user input

The Bash shell provides a number of different ways to get data from users, including the following 3 methods: Command line arguments (data added in the back of fame) command-line Options (single letter with modifiable command behavior) main

Restore operation after mis-deletion of Linux files

Testimonials: Ever a knave, accidentally put/usr/bin under all the commands are deleted, fortunately this only a test environment, when in operation, a bit deft on hand make mistakes ...Recovery process: (Below is a VM managed under vsphere)1. Turn

"Linux" Basics 1

[Email protected]:~/nmondata# xyz= "This is Atest"[Email protected]:~/nmondata#./test.shThis is done test.sh in the child shell, so variables defined in the parent shell cannot be executed in the child shell, that is, the variable Zyz defined in the

Linux Nic Aggregation

Types of Linux Nic aggregation:1.broadcast: Transfer each packet from all ports2.roundrobin: Transfer packets from each port on a carousel basis3.activebackup: Failover runner, monitoring changes and selecting active ports for data

Put the compressed package under Windows into the Linux directory

  Today in self-study redis, there is a problem, because the landlord Linux is also a blank paper, the first few days after the installation of Linux will only basic command, the other is not through Ah, so when redis to be used in Linux when the

Total Pages: 5467 1 .... 3685 3686 3687 3688 3689 .... 5467 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.