My Linux common operations

Df-lh,du-h Ls-lh LS-LH reg*? Cat-n file Cat-n File | grep reg*? Echo $PS 1/PS2 Querying IP conflicts: NMAP-SP x.x.x.1/24 is using the arping surviving IP to see if the returned Mac has only one. Netstat-ntlp Yum List | grep

SVN migration under Linux

Migrating SVN on 192.168.8.xxx to another machineThe SVN migration steps are as follows:1. Export the original repository as a file, in the/u01/svn/repo/db directorySvnadmin dump/u01/svn/repo>/u01/backupThis explains that the next/u01/svn/repo is

Linux command-du

The du command is a view of space, and unlike the DF command, it can view the disk usage of files and directories. 1. Command format: du [Options] [file] 2. Command function: Displays the disk usage of each file or directory, which is the text size.

"Linux system Optimization" User Management Basics

1) View Current user[[Email protected] ~] #whoamiroot 2) Add user[[Email protected] ~] #useradd xpleafOr[[Email protected] ~] #adduser xpleaf 3) Create a password for the user[Email protected] ~]# passwd xpleafchangingpassword for user

File or directory transfer under Linux multiple methods and tests (Debian)

Basic Environment description and installation 1, Server servera=192.168.1.124 (debian7.8) serverb=192.168.1.122 (debian6.0.10) 2, need to serverb the directory under Testtransfer ( 4.5G) under all remote replication to ServerA 3, need to use the

How Linux modifies the root user's password

The root account of the Linux system is a very important account, but also the most privileged account, but sometimes forget the root password to do? Can not re-install the system, this is the next worst, in fact, Linux system, if you forget the

Linux time synchronization

[Turn fromQing_gee's Column: http://blog.csdn.net/qing_gee/article/details/42234997]Preface : In our project, need to synchronize the time of the Linux server, so used the Ntpdate command, in the crontab is configured, set to every hour of the

Conditional variables for Linux multithreaded programming

When I see a question about the multi-threaded condition variable on the StackOverflow, the question asks: when will the condition variable be used and the mutex is not enough? There is a person called Slowjelj to do a very good answer, I see this

Windows, Linux hijacking technology

Windows systems can take advantage of detours hijackingRealse mode hijacking, debugging the program can notThe effect that function hijacking can achieve.The principle of the hijacking of functionsHow we achieve-detoursDetours is an information

Fix Linux (ubuntu), Windows dual system reload after restore boot menu

1 re-installed after the Ubuntu Restore boot menu is very simple. To update grub directly, you can:sudo update-grub2 It's a bit cumbersome to reload windows. Use the U disk to write the Ubuntu image restart to start the computer from the U disk, and

(1) Linux environment deployment (Centos + Nginx + Tomcat + Mysql)-FTP Installation

(1) Linux environment deployment (Centos + Nginx + Tomcat + Mysql)-FTP Installation In my local testing practice, the following is a complete operating document for Centos + Nginx + Tomcat + Mysql on Linux. The record is as follows, we hope to give

File System in Linux Kernel

File System in Linux KernelFile descriptor Generally, when talking about files and file systems, you may subconsciously think that they exist on disks. However, disks can only be passively stored, but cannot actively process files. To process files,

Linux Process Control Command ps

Linux Process Control Command ps No ParameterBy default, only processes executed on the current terminal are displayed. Information on other terminals is not displayed, and only four columns are displayed, as shown below: M @ meng :~ $ PsPID TTY

Ubuntu system update-rc.d commands, ubuntuupdate-rc.d

Ubuntu system update-rc.d commands, ubuntuupdate-rc.d Update-rc.d commands in Ubuntu or Debian systems are scripts used to update system startup items. The links of these scripts are located in the/etc/rcN. d/directory, and the corresponding

Tips for using common CentOS commands

Tips for using common CentOS commands Vim automatically adds comments and smart line breaks # Vi/etc/vimrc "setautoindentsettabstop=4setshiftwidth=4map:callAddTitle()functionAddTitle()callsetline(1,"#!/bin/bash")callappend(1,"#=======================

Linux learning-advanced shell script programming (2) First knowledge of sed and gawk

Linux learning-advanced shell script programming (2) First knowledge of sed and gawk Citation: Sometimes we need to automatically process text in text files without pulling out a fully armed interactive text editor. In this case, it is much easier

Linux learning --- boot script in centos

Linux learning --- boot script in centos Centos boot script To install jdk in cenos, you must configure environment variables: 1. Write the statement directly to/etc/profile. 2. Write the statement into a java. sh file and put the file in

Modify specified columns in awk

Modify specified columns in awk An error occurred while handling text files. Cat test.txt "355356" "1700870" "1" "0202 """"355356" "1700871" "2" 02046""355356" "1700870" 2 "" 02046""1700870" "1700873" 1 "" 0202"Change the data of 2nd columns to 17008

Simple iptables configuration example

Simple iptables configuration exampleIptables firewall overview iptables/netfilter is a free and excellent package-based firewall tool that comes with Linux. It is very powerful and flexible to use, you can precisely control inbound, outbound, and

Linux-(20) Linux File System (2)

Linux-(20) Linux File System (2)The operating system manages files and data through the file system. A disk or partition needs to be created before it can be used by the operating system. The process of creating a file system is what we often call

Total Pages: 5467 1 .... 5042 5043 5044 5045 5046 .... 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.