Simple Linux Command Line notes: whereis

Simple Linux Command Line Note: The whereis lookup file whereis [options] file www.2cto.com parameter file is the file to be searched for by whereis, which belongs to the original code, binary file or help file option-B only searches for binary

Use LVM to expand system partition size

Use LVM to expand the system partition size: when the space on the server (RHEL) is insufficient, the administrator needs to allocate more (20 GB) space on the previously attached hard disk (sda ). However, the OS cannot be seen or used.

Nginx + CI 404 error

Nginx + CI Error 404. For URLs such as/index. php/abc, Apache and Lighttpd will press "index. php? Nginx considers the content of the abc file under the "index. php" directory as the Request Name. Therefore, CI cannot run without configuring rewrite

Install maven in Ubuntu

Install maven 1 apt-cache search maven in Ubuntu to obtain all available maven packages www.2cto.com 2 sudo apt-get install maven start to install and download East 3 mvn about m -- version Apache Maven 3.0.4 Maven home: /usr/share/maven Java

Ssh Transit server commands

Command purpose of the ssh Transit server: When a Server 1 can be remotely connected to the Internet, and other servers (such as server 2) can only be connected to the Intranet, You can first log on to Server 1, then run the ssh command to remotely

Linux dual-nic is bound to two redundant switches.

The topology is simple. Two NICs of a server are uplinked to two core switches.The OS is rhel5.5 x86_64, The vswitch is Huawei 9306, and the server is a dell M910 blade.The eth0 and eth1 on the server are bound. I want to use the load balancing

Pass variables in shell to another script file

Call another script in the script (this actually creates a sub-process) www.2cto.com father. sh #! /Bin/bash echo "this is the father" FILM = "A Few Good Men" echo "I like the film: $ FILM" # call the child script # export FILM. /child. sh echo

Migration of gdb tools

Gdb tool migration requirements: You want to use gdb to track and debug makefile projects. The target machine does not have the gdb tool. Environment: 8.133 is installed with a linux system, that is, the server, and smb is successfully set. The gdb

Build the system

After the system is set up, 1. solaris graphical desktop: cde (General desktop) default, jde (java Desktop) Improved options-session process-jds-java Desktop System (similar to xp, surprised) 2. maintenance using remote tools: openssh, use securecrt.

Iptables getting started

Iptables Entry 1. iptables entry there are many ways for hackers to intrude into computers today, among which port-based intrusions are common. In particular, it is the simplest and most commonly used method to defend against hacker intrusions to

Debian 6.0.6

Debian 6.0.6 local non-free source creation process description: My work environment cannot be on the Internet, so we need to build a local debian source through DVD burning. Debian can be engraved with main and contrib, and non-free does not have

How to use shell command completion in Solaris

Although Solaris10 x86 can run, there are many aspects that are not the same as before. This article focuses on some Shell problems in Solaris, that is, solutions. After the system is installed, the default Shell of Solaris is sh, that is, the

Rhel5 detection software construction

Building awstats (linux5.4)Attach a cdMount/dev/cdrom/mediaCd/media/ServerRpm-ivh php-pdo-[tab] php-mysql-[tab] php-gd-[tab] php-mbstring-[tab] Modify ftpVi/etc/vsftpd. confAdd chroot_local_user = YESService vsftpd startChkconfig vsftpd onCreate

Vim multi-line comment

The shell script does not exist when multiple lines are commented /**/One line and one line # Is it a headache?Ning Ge handed you a trick: Under vim For exampleJava codeHahaHeiheiEnenYehyehDadada : Set nuShow row numberIf you want to comment out 1

Linux mysql backup

Method 1: Suitable for mysql databases in all formats. It is regularly executed by exporting and importing a script to the database:1. Export mysqldump-u username-p database Name> exported file name mysqldump-u username-p database> url/databas. SQL2.

Linux environment variable display

Env Name: run a program in a modified Environment Overview: Env [Options]... [-] [Name = Value]... [Command [Arg]…] Description: Set the Name Value to Value in the environment and run the specified Command Option: -I, -- ignore-environment: started

Grep search file content

(1) Find the findcontents in the file content of all files in the current directory (case insensitive, listing the row of the file where findcontents is located) -- the number of files and directories in the current directory is relatively small. If

Features of Linux

Linux has been developing very rapidly in just a few years, which is inseparable from the good features of Linux. The Linux system contains all the functions and features of the UNIX system. In short, the Linux system has the following main features.

Linux pthread_mutex_init () function

Function prototype: Int pthread_mutex_init (pthread_mutex_t * restrict_mutex, const pthread_mutextattr_t * restrict attr)This function is used to initialize mutex locks in multiple threads.If attr is null, It is the default attribute, and the quick

Run two Tomcat processes on the same machine

Run two Tomcat servers at the same time. The second Tomcat server needs to modify three ports: ---- The original value is 8005, which can be changed to any value without conflict Second: (92nd rows)EnableLookups = "false" redirectPort = "8443"

Total Pages: 5467 1 .... 5463 5464 5465 5466 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.