20161124 Linux Common commands1. Findfind/etc/-size +50k-lsfind/etc/-size +50k-ls 2>/dev/nullView files larger than 50K in the directory and display them with the LS list,Understand the meaning of 2>/dev/null and hide all the rights2, pwd, LS, ls-a,
Dos2unix is not installed by default under Ubuntu, and of course we can install it via the sudo apt-get install Dos2unix .In addition, in the absence of Dos2unix, we can also use another software replacement-Tofrodos, the following describes the use
Dos2unix is not installed by default under Ubuntu, and of course we can install it via the sudo apt-get install Dos2unix .In addition, in the absence of Dos2unix, we can also use another software replacement-Tofrodos, the following describes the use
RCU (Read-copy Update) is a way of synchronizing data and plays an important role in the current Linux kernel. RCU is mainly for the data object is linked list, the purpose is to improve the efficiency of traversing read data, in order to achieve
1. Installing VMware2, import CentOS3, the process may be a problem (set your computer to support virtual technology, computer restart press F1 to set up and then F10 Save exit) 4, the system default username/password for root/1234565, set up
Open the serial portIn a Linux system, opening the serial port is done by using the standard file Open function.#include /* Open in Read/write mode */int fd = open ("/dev/ttyusb0", O_RDWR);Set up the serial portAll operations on the serial port are
JDK Installation steps:1. Unzip the JDK package. : TAR-ZXVF jdk-7u51-linux-x64.gz2. Move the JDK to/usr/local/java/jdk1.7.0_51 (install according to your own situation)MV jdk1.7.0_51//usr/local/java/jdk1.7.0_513. Configure environment Variables for
Install the Uget, start using normal, and then turn off when opened, it is estimated that the software configuration error, but the software reinstall is useless, with dpkg--purge can not delete the configuration file.I later thought that when I
NFS Network File SystemThe following are the most obvious benefits of NFS:1. Saving local storage space, storing common data on one NFS server and network access, the local terminal can reduce the use of its own storage space.2. The user does not
Tips for knowledgeRun levelSimply put, the run level is the functional level that the operating system is currently running.0 -1 -Single-user mode 12 -3 -4 -5 -6 -reboot (never set Initdefault to 6)I. /etc/rc.local (1) Execute the command:
1: Check the status of the Crond service (confirm that the Linux Task Scheduler service is turned on)Service Crond StatusCrond (PID 1937) is running ...2: Write the SH executable file that restarts Tomcat
Today, I tried to start the boot, set in rc.local, but I wrote the Java-jar Transport.jar is a hold processing, unable to exit, causing the boot time to stay on the waiting page.Processing mechanism:1. On the Linux boot page, click "E" to go to the
1. Temporarily set the IP addressIfconfig eth0 IP address (netmask and gateway if not set, use default 0)This method is only temporarily modified, restart the network card or the server will be restored2. Set
Linux boot process detailedStart the first step --load the BIOSWhen you turn on the computer, the computer loads the BIOS information first, and the BIOS information is so important that the computer must find it at the very beginning. This is
After Centos7 is installed, the network cannot be connected. After centos7 is installed
/Etc/sysconfig/network-scripts/
Use the ls command to view the NIC configuration file name (in CENTOS7, the NIC name appears to be a random number, so the NIC
Summary of Raid0, Raid1, Raid5, and Raid10, raid5raid10
RAID0
Definition:
RAID 0, also known as Stripe or Striping, represents the highest storage performance in all RAID levels. RAID 0 improves storage performance by distributing continuous data
Set Unix, Linux environment NLS_LANG, linuxnls_lang
Set the NLS_LANG variable
1) correctly configure the LC_ALL Parameter
2) configure the character set of the telnet/ssh/SecureCRT Client
In linux, you can use the locale command
Configure the EPEL yum source and epelyum
When we use the yum installation package on linux, the following error is returned:
Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red Hat
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