How to Create File commands in Linux

  Create a file Mkdir aaa Mkdir-p aaa Create a folder Vi foo.txt Emacs foo.txt Echo "aaa"> foo.txt Cat> foo.txt Clear command > Foo.txt Mkdir/home/u1 create folder home/u1 Chown oracle/home/u1 indicates changing the directory owner to an

Start mysql and memcached in Linux

  Start mysql   # Cd/usr/local/mysql/support-files/ #./Mysql. server start   Start memcached   Cd/usr/local/memcached/bin/ ./Memcached-d-m 256-u root-l 10.0.20.6-p000011-c 5000-P/usr/local/memcached/memcached1.pid     Startup options:  

Linux echo Color Control

  When echo needs to change the color, use the-e parameter. Format: echo-e "\ 033 [background color; font color m string \ 033 [0 m" For example: Echo-e "\ 033 [41; 36 m something here \ 033 [0 m" The position 41 represents the background color, and

Enable the telnet function in FreeBSD

  Step 2 Edit/etc/inetd. conf   # Telnet stream tcp nowait root/usr/libexec/telnetd # Telnet stream tcp6 nowait root/usr/libexec/telnetd Remove the previous #   Step 2   Cancel security control of Logon account   Telnet is not safe. By default, the

Add disk quotas for common users and user groups in linux

  Preparation in advance: 1. Add hard disks (IDE and SCSI) to virtual machines) 2. fdisk partitioning # Fdisk-l Objective: To view the name of the newly added Hard Disk/dev/sdb # Fdisk/dev/sdb Commond: m Commond: n E: P: p -------- hard disk

Install vsfptd in centos to set up an ftp server

  1. Install vsftp Here, we set up virtual users. The so-called virtual users do not use real accounts, but only map accounts and Set permissions by some means.   Yum install vsftpd Touch/var/log/vsftpd. log # create a vsftp log File   In CentOS,

Basic use of LVM

  LVM hierarchy (bottom to top ): Ext3-> lv (logical volumn)-> pv (physical volumn)-> vg (volumn group)   LVM creation steps (for example, creating LVM on/dev/sdb ): 1. format the hard disk: fdisk/dev/sdb N: Create a new disk partition (which

Upgrade Fedora 16 and install Ubuntu 11.04

Two and a half years ago, Fedora11 was installed, and then upgraded to Fedora 12 and Fedora 14. During this period, a lot of software was installed, and the system was getting slower and slower ...... Although there are some reasons why I am not

Redhat 5 upgrade Vim7.3

1. First uninstall the old version of vim# Rpm-qa | grep vimCheck whether to uninstall the four packages in the old version.# Rpm-e rpmname (rpmname is the packages found in)2. decompress the compressed package# Tar jxvf vim-7.3.tar.bz23. # cd vim73/

Compile kernel Linux-3.1.6 under Ubuntu10.04

Tools:GCCLDMAKEUtil-linux (fdformat)Module-init-tools (depmod)Tune2fsJFS (IBM File System)ReiserFSXFS (SGI File System)Quota-toolsNfs-utilsUdev (udevinfo)PsThese tools are best compared with the Documentation/Changes file in the kernel source code

Management Process of linux basic commands

I. linux boot guide process (first, let's take a look at the linux boot guide process) Boot self-checkMBR boot record)GRUB menu (if multiple systems are used, select which system to use)Load Linux KernelINIT process initializationInit process---- It

Ubuntu 11.10 x64 compilation and installation of bochs2.5.1

As we all know, the bochs installed by Apt-get do not contain debugging functions. You must add -- enable-debugger through source code compilation. Now the bochs version on ubuntu source is 2.4.6, but the bochs website has released 2.5.1

Configure the samba server in Gentoo Linux to share Linux with Windows.

HOST: Gentoo 11.2 with linux kernel 3.0.6     1. Install the Samba server USE the default USE flag to directly execute the command [Cpp] www.2cto.com print?Emerge samba2. Configure/etc/samba/smb. conf. First copy/etc/samba/smb. conf. default and

Add code complementing function in vim (Added STL support for Omnicppcomplete)

Many new users will feel it is difficult to get started when using Vim, and it is easy to vomit Vim's support for STL completion. Then go to VS. Here we will introduce how to add code complementing function to Vim. After Code Completion is added,

Version Control (3) SVN practice

Previous: http://www.bkjia.com/ OS /201201/117056.html① After the svn server is started, you can download the (check out) file from it. The file checked out is managed by svn naturally. The check-out file contains a green hook, as shown in: ② As

Differences between TTY and PTY in Linux

Terminal explanationA terminal is a type of terminal device. It has multiple types and generally uses tty for short. Tty is short for Teletype. Teletype is one of the earliest terminal devices, such as a telex typewriter (OR), produced by Teletype.

Linux Log Mechanism syslogd Summary

1. Structure of BSD syslogd: The log files can be viewed in three ways: (1) kernel: Many kernel routines call the log function to generate log messages. In addition, the klogd daemon can listen to and obtain kernel messages and send them to the

Ubuntu NetworkManager displays "device not managed

A friend's house uses the China Telecom wireless cat PPPOE for dial-up Internet access and does not have a wireless route. Therefore, he has to use pppoeconf under ubuntu to configure dial-up Internet access, result After the configuration is

Use the installation CD to create a local yum source to install the RPM package-in Command Line Mode

Suddenly I want to write this article because the company's computer does not have a corresponding driver when installing Linux, or the graphics card is too bad. Installation can only be minimizedLinux: No GCC, Firefox, or GNOME. You can only

Build and configure mysql and tomcat test environments on ubuntu

Here, the ununtu system uses version 11.10. If you use a virtual machine, we recommend that you use Versions later than vmware 6.5 for installation. if the version is old, IRQ errors will always occur during installation.After the system is

Total Pages: 5467 1 .... 4251 4252 4253 4254 4255 .... 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.