Let history record the historical execution time of the command

By default, we can view the history command without any execution time. if you want to use the execution time of the record command, you can do this: # Edit/etc/bashrc, add the following content # let the system record the execution time of each

Analysis of Centos system running level and startup mechanism

A system-level windows system has two different operating levels: safe and normal. Similarly, linux also has a system-level running level, and the operating level of linux is more flexible, more diversified. Before talking about the running level,

Detailed tutorial on partitioning, formatting, and attaching a new hard disk in linux

The company's intranet server does not have enough hard disk space. mount the new GB hard disk and set it to the samba shared directory. for samba, refer to this article. The server already has two hard disks, so the hard disk is Company intranet

Linux logon password cracking graphic tutorial

Common Method 1 of centos: GRUB: on the boot loader menu, type [e] to enter the editing mode. You will face a list of pilot projects. Find the line with the output similar to the following: kernel/vmlinuz-2.6.18-164.el5roroot =/dev/vol/rootrhgbquite

How to send mail via command line mail in Centos

In linux, the command line mail method 1. the simplest method is: mail-stext ** @ mail.ustc.edu.cn. the result of this command is to send an empty message titled text to the mailbox, however, this type of mail is often treated as spam. if you do not

Vim language conversion in Centos

Convert big5 encoding to utf8. What should I do at this time? Is it hard to convert each file to utf8? This is not required! Use the iconv command! In the terminal environment, you can use the "wget URL" to download the above files! Laruence

Centos memory usage and optimization skills

The Linux server allocates real and virtual memory to the processor and manages memory usage through swap. Understanding the Linux memory type and how the processor shares memory helps optimize memory usage. Memory is allocated from the Linux kernel

Centos queries whether a package is a 32-bit or 64-bit command.

[Root @ localhost ~] # Rpm-qa -- queryformat %-{name}-% {version}-% {release}-% {arch} "\ n" | grepnet-snmpnet-snmp-5.3.2.2-9.el5_5.1-x86_64net-snmp-utils-5.3.2.2-9.el5_5.1-x86_64net-snmp-libs- [Root @ localhost ~] # Rpm-qa -- queryformat %-{name}-%

Centos5.6 6 6 TB Mount space

I recently deployed a storage device with 6 TB of space, prepare to partition and format the large-capacity storage. because MBR partitions support a maximum capacity of only 2 TB. if it exceeds 2 TB, use the gpt partition. First, use the parted

Wget batch download of files on remote FTP server

I bought a VPS yesterday and migrated the VM to VPS. the migration process must be data transfer. In the past, the data migration mode for VM instances was very inefficient. the old host package download-& gt; new host Upload and decompress, because

Create an rpm Package in Centos

There are many friends who talk about RPM compilation and installation. RPM installation is a dumb installation. In fact, RPM is a very effective centralized deployment solution. Yum + RPM is a fast and convenient large-scale deployment solution.

Centos command -- grep

1. grep introduction grep (globalsearchregularexpression (RE) andprintouttheline, full search for regular expressions and print out rows) is a powerful text search tool that can use regular expressions to search for text, and print the matched rows.

Three meanings of the average Centos system load

More and more people are getting started with Linux operating systems, from VPS to flash machine systems for wireless routing (such as OpenWRT and Tomato ), at the same time, the words "average system load" or "LoadAverage" will also be seen on a

Centos command -- crontab

The crontab command is used in linux systems to set periodically executed commands. The crontab file contains a series of jobs and commands sent to the cron daemon. Each user can have their own crontab file. at the same time, the operating system

Add Environment variables to CentOS

Add environment variables in centOS to directly edit the/etc/environment file, and modify the PATH environment variable in it. PATH =. :/bin:/usr/bin:/sbin:/usr/sbin: usr/local/bin this method takes effect only after the system is restarted. If the

What does Centosi386 mean?

I386 means 32-bit. 386 is applicable to almost all x86 platforms, whether it is the old pentum or the new pentum-IV and K7 series CPU, etc. In linux, we often encounter the i386 i686 istmi586 code, such as viewing the kernel version: [Root @

Establish trust relationships between Centos users

There are two machines a and B. now you need to add user1 of machine a to the user2 user trust list of Machine B, so that user user1 of machine a can directly ssh to user 2 of Machine B step: 1, enter Machine a/home/user1 /. run mkdir-p/home/user1 /.

CentOS users and permissions

1. user Management 2. user Group 3. permission Assignment 1. View user-related file commands: 1. cat2.more3. head/etc/passwd # view the top 10 lines of the file 4. head-2/etc/passwd # view the first two lines of the file. tail/ 1.User

Configure dual-Nic dual-IP for CentOS to achieve North-South Communication

In the company's forums and user complaints, some of them are normal and slow and cannot be opened for half a day. The reason is that in addition to telecommunications, the network access of other operators is slow. to solve this problem, the

Output from the recording terminal to a text file in Centos

1. Save the command running result to the File: Use & gt; to turn the output to the file. for example, the & gt; command in outputs indicates that the output is redirected to the specified file, if the file already exists, it will be written again,

Total Pages: 2732 1 .... 2014 2015 2016 2017 2018 .... 2732 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.