Scripts for linux-defined variables

The existing two-segment code is basically the same, except that the variable is changed and nothing else is changed, but there are different results during execution.Code One:vi back.sh#backup Import File,such as/etc/rc.local/var/spool/cron/Rootip=$

II: Linux Users and user groups

Linux is a multi-user system, no time there are many accounts on the system login, operation, so it is important to manage users.1. User article--/etc/passwd,/etc/shadow1. Add Account--useradd Useradd [-u uid] [-g gid] [-d home] [-m] Span class=

One, Linux installation

1. Install the virtual machinevmware-workstation-full-12.5.62. Install Linux operating systemUbuntu-16.10-server-amd64Note: Do not configure the keyboardDo not turn off the power of the virtual machine directly, just like a direct power outageEnter "

Linux JDK environment variable configuration

Memo, quoted from: http://blog.csdn.net/lzwglory/article/details/542332481. Permanent modification, valid for all users# Vi/etc/profile//Press keyboard [Shift + G] To add the following at the end of the profile file:Export Java_home

Linux system knowledge-signal basics

Vamei Source: Http://www.cnblogs.com/vamei Welcome reprint, Please also keep this statement. Thank you!Reference linksHttp://www.cnblogs.com/vamei/archive/2012/10/04/2711818.htmlRoleHow information is passed to the process.Usage ScenariosThe kernel

Linux system programming (4)

An IPC object----Message Queuing IPC Object Commands (1) View IPC objects in the systemIPCS-A display of all IPC objectsIpcs-s/-q/-m (2) Remove IPC objects from the systemIpcrm-q/-s/-m ID 1. Get the key value The first type:key_t Ftok (const char

Linux File Search command

Locate file name Search by file name in the background database, search faster Background database location for search/var/lib/mlocate The background database defaults to an update one day, you can force the update by using

Linux Common commands

Common commands CDs are commonly used as directory switching commands to enter the directory. Usage: Mikdir to create a new folder Vim is used to compile a file VI FileName: Opens or creates a new file and

Linux Common Commands seven grep

One, grep commandgrep (Global search Regular expression (RE) and print out of the line, full search of regular expressions and print out rows) is a powerful text search tool that uses regular expressions to search for text. and print out the

The path of Linux learning

Chapter III pipeline character, redirection and environment variables  The pipe command , "|", is used to treat the standard output of the previous command as a standard input to the latter command,Format: "Command a| command B"  input and output

Linux File system resizing

goal: reduce the volgroup-lv_home to 20G and add the remaining space to the Volgroup-lv_root1. Check disk usage First[[Email protected]~]# df-hFile system capacity has been used with available% mount pointsFilesystem Size used Avail use% mounted

Linux command----head

Head [OPTION] ... FILE ...Function: Displays the beginning of the file to the standard output (the first 10 lines at the beginning of the default file)[OPTION]-N Displays the first n rows of the fileSuch as:Head-5 file shows the first 5 lines-C n

Linux Common Commands 14 killall and Pkill

Kill all processes with the same name with Killall.[Email protected]:~/workpalce/git$ ps-aux |grep Vimwang6548 0.3 0.3 17116 7520pts/ -S+ the: - 0:xxVim Awang6549 0.5 0.3 17116 7440pts/4S+ the: - 0:xxVim Bwang6551 0.0 0.0 6860

Linux Command tr

The TR command can perform character conversion, character deletion, and repetitive character compression on content from standard input, often called a conversion command, with the following format:TR [option] Set1 Set2, which maps input characters

Linux root directory

/boot: Start Linux core files;The following are other common Linux operating system directories:/bin: Store The most commonly used commands;/dev: Device files;/etc: Store various configuration files;/home: Household directory;/lib: The most basic

Basic Linux Knowledge

I. INTRODUCTION of LinuxLinux is a free and open source Unix-like operating system. is currently the most widely used, most people operating system. The kernel of the operating system was first released by Linus Torvalds on October 5, 1991. After

Common Linux Command Memo

Memo:Shut down firewall: # Systemctl Stop FirewalldView firewall Status: # SYSTEMCTL status FirewalldStop firewall: # systemctl Disable FIREWALLDDisable Firewall: # systemctl Stop FirewalldView selinux Status: # SestatusView a file in that directory:

Telnet to the Linux system

Taking Xshell as an example1. Click "Tools"-New user key Generation wizard2, click "Next" two consecutive times, enter the password3 Generate the public key, copy it, and leave it to the next4. Copy the public key to Linux# MKDIR/ROOT/.SSH# chmod 700

JDK installation in Linux

1. JDK InstallationNote:rpm and software-related commands are equivalent to software Assistant management software under WindowsSteps:1) See If the current Linux system has Java installedInput Rpm-qa | grep java2) Uninstall two x OpenJDKEnter rpm-e--

How does it novice learn Linux operations quickly?

Even if it is ten years of operation, serious look, thought will have a qualitative harvest, because the old boy's explanation involves, a number of areas, the ability of several posts !The old boy with his former cock Silk (under 1 million ) to the

Total Pages: 5467 1 .... 4417 4418 4419 4420 4421 .... 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.