CentOS command operation record-1

Source: Internet
Author: User

CentOS system command operation record-1, load the USB drive if there is no automount (how to set ?), You need to manually attach the USB drive. Fdisk-l # list the file systems loaded by the current system. Mount/dev/sdb1/mnt # load the USB to the mnt directory. Umount/mnt # uninstall the USB driver. 2. About font selection: Commonly Used programming and terminal fonts in linux: terminal-vim-etcEnvy Code R: ttf-envy-code-rIncosolata-g: ttf-inconsolata-gDroid Sans Mono: ttf-droidProggy Fonts: proggyfonts inmo-lata+lasdeja Vu Sans MonoDroid Sans monoproggymonofurprofontmonaco Andale MonoCourier3, copy the font to/usr/share/fonts/name_of_font and enter the name_of_font directory mkfontscalemkfontdir4. Use yum to install some tools: optimize the entire network (UI interface in text mode) yum install system-config-network -Tui UI (UI interface in text mode) yum install system-config-firewall-tui protects your Linux system from brute force attacks. When yum install denyhosts enables manual School, the software yum install rdate allows attackers to execute commands using pipe commands. monitor the progress of data through a pipe) yum install pv can change the sudo suite of the top privilege Manager (do not log in as root) yum install sudo 5, rpm operation rpm-q -- qf "% {NAME}-% {VERSION}-% {RELEASE} \ n % {SUMMARY} \ n" gpg-pubkey # List Installed gpg -key output is as follows: gpg-pubkey-c105b9de-4e0fd3a3 gpg (Ce) NtOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>) gpg-pubkey-6b8d79e6-3f49313d gpg (Dag Wieers (Dag Apt Repository v1.0) <dag@wieers.com>) gpg-pubkey-0608b895-4bd22942 gpg (EPEL (6) <epel@fedoraproject.org>) gpg-pubkey-00f97f56-467e318a gpg (Remi Collet <RPMS@FamilleCollet.com>) gpg-pubkey-849c449f-4cb9df30 gpg (RPM Fusion free repository for EL (6) <rpmfusion-buildsys@lists.rpmfus Ion.org>) gpg-pubkey-5568bbb2-4cb9de99 gpg (RPM Fusion nonfree repository for EL (6) <rpmfusion-buildsys@lists.rpmfusion.org>) ====================== rpm-qa gpg-pubkey * # list all installed public key outputs: gpg-pubkey-6b8d79e6-3f49313d gpg-pubkey-9def3191-461fe38c gpg-pubkey-849c449f-4cb9df30 gpg-pubkey-c105b9de-4e0fd3a3 gpg-pubkey-00f97f56-467e318a gpg-pubkey-0608b895-4bd22942 gpg-pubkey-5568bbb2-4cb9de99 ======= Rpm-qi gpg-pubkey-5568bbb2-4cb9de99 # View Details of the public key. Output: Name: gpg-pubkey Relocations: (not relocatable) Version: 5568bbb2 Vendor: (none) Release: 4cb9de99 Build Date:, January 1, July 24, 2013 Install Date: build Host: localhost Group: Public Keys Source RPM: (none) Size: 0 License: pubkey Signature: (none) Summary: gpg (RPM Fusion nonfree repository for EL (6) <rpmfusion-buildsys@lists.rpmfusion.org>) Description: ----- Begin pgp public key block ----- Version: rpm-4.8.0 (NSS-3) blocks ...... ----- End pgp public key block -----

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.