Linux environment variables

1. Use the ENV command to display all environment variables  $ envhostname=redbooks.safe.orgPvm_rsh=/usr/bin/rshShell=/bin/bashTerm=xtermhistsize=1000...2. Use the SET command to display all locally defined shell variables$ set3. Use the unset

Linux remote copy and local copy commands

Linux remote copy and local copy command one, Linux remote copy SCP command SCP file name [email protected] Remote ip:/path/copy test.tar files from the local home directory to the remote host 192.168.1.2 3 in the/home/adm/directory, the command is:

Linux JDK Tomcat installation

One, JDK installation1. Download the installation filejdk-6u11-linux-i586-rpm2. Create the installation pathMkdir/usr/javaUpload files to the installation path, I used the Upload tool is WINSCP3. InstallationRPM-IVH jdk-6u11-linux-i586-rpm4.

How to configure IP-related files in Linux

How to configure IP in LinuxNetwork-related files:1)/etc/sysconfig/network set the host name and whether the network can be started2)/etc/sysconfig/network-scripts/ifcfg-eth0 set the file card parameters3)/etc/modprobe.conf the file to load the

How to change IP in Linux

Modify IP Permanent effect the following method Vi/etc/sysconfig/network-scripts/ifcfg-eth0 (Eth0, the first NIC, if the second block is eth1) as follows to modify ipdevice= Eth0 (if the second block just eth1) bootproto=staticipaddr=192.168.0.11

Automatic timing detection of hard disk space and deletion of old file scripts under embedded Linux

[Plain]View Plaincopyprint? #! /bin/sh While true; Do I= ' Df-h | Egrep '/mnt/yourpath ' | awk ' {print $} ' | cut-d "%"-f1-' If ["$i"-ge 90] Then echo "Disk nearly full" Cd/mnt/yourpath For file1day in ' ls-d */| Sort-n | Cut-d "

Installing the Linux Environment

1,apache A) the Apache official website downloads the. tar.gz end of the file and transmits it via FTP to the self-built directory under Liunx. b) Unzip the TAR-ZXVF httpd-2.0.54.tar.gz, and the MV will rename it to Apach (optional)

The data structure of Linux kernel source learning

This document records some of the data structures that you know but are not familiar with in the process of learning the Linux kernel source code.UnionIs encountered in the learning process copy function Do_fork:Union thread_union {struct

Linux Installation Tools

[[email protected] ~]# Mkdir/media/cdrom (first create a new directory)[[email protected] ~]# Mount/dev/cdrom/media/cdrom (Mount to new directory)Mount:block Device/dev/sr0 is write-protected, mounting read-only[[Email protected]]# ll/tmp (see all

Linux address port number is occupied

We often need to solve the problem of port occupancy under Linux, the workaround is as follows:Linux:1 A port number is occupied, view PID# #根据端口查看进程信息lsof-i:14700# #根据进程号查看进程对应的可执行程序PS-F-P Process numberAlso available netstatCommon parameters for

Five find command analysis for Linux

When you use a computer, you often need to find files, and there are many ways to do this in Linux.1. FindFind is the most common and powerful look-up command you can use to find any file you're looking for.Find uses the following format:  $ find -

Linux under Build using boost

What boost is not much to say, here's how to compile all the modules that use boost under Linux.1. First go to the Boost website to download the latest boost version, I downloaded the boost_1_56_0 version, unzip.2. Go to the Unzip directory: CD

Windows and Linux shared files

An article:Environment: Host operating system is Windows XP, virtual machine is Ubuntu 9.10, virtual machine is VirtualBox 3.08.1. Install the enhanced Feature Pack (guest additions)After installing Ubuntu 9.10, run Ubuntu and log in. Then select

Win32diskmanager creating a Linux boot disk USB drive is smaller

Use WIN32 Disk Manager today to create an Ubuntu server 12.04 Startup disk and the USB flash drive becomes 2.1MB when you finish writing.Workaround: Open Run-〉diskpart, enter the list disk after entering, lists the disksThe image of my USB flash

Five Linux SEARCH Command analysis and five linux commands

Five Linux SEARCH Command analysis and five linux commands When using a computer, you often need to find files. In Linux, there are many ways to do this. 1. find (slow hard disk search) Find is the most common and powerful search command. You can

Nagios monitors the usage of Linux system resources and nagioslinux

Nagios monitors the usage of Linux system resources and nagioslinux Application scenarios: both the test environment and the runtime environment require real-time monitoring programs to monitor the health status of the system (Linux Redhat). The

[RK_2014_0927] vimrc information backup in ubuntu, rk_2014_0927vimrc

[RK_2014_0927] vimrc information backup in ubuntu, rk_2014_0927vimrc Vimrc information backup in ubuntu set numberset autoindentset smartindentset tabstop=4set shiftwidth=4set showmatchset hlsearch     Eclipse. desktop [Desktop

Linux boot process (version 2)

Linux boot process (version 2)Linux boot process Firmware Press the first start step of the power supply: Start the firmware → POST power-on self-check Check the hardware loading status, such as the keyboard and memory. It has nothing to do with the

Linuxgrep command learning and summary

Linuxgrep command learning and summary-Grep description The grep command is a powerful text search tool in linux. How does grep name it? Grep:G(Globally) search forRe(Regular expression) andP(Print) the results From the English explanation above, we

Curses library not found exception reported when installing MySQL in CentOS

Curses library not found exception reported when installing MySQL in CentOS Information such CMakeErroratcmake/readline. cmake: 83 (MESSAGE ): Curseslibrarynotfound. Pleaseinstallappropriatepackage RemoveCMakeCache.txt andreruncmake.

Total Pages: 5467 1 .... 4345 4346 4347 4348 4349 .... 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.