My linux command tips

My linux command tips grepgrep grep '^ public'/etc/passwd # search line begin with public in '/etc/passwd' grep options: -E enable extends pattern-I case insensitive-n show line number2. findfind : default path. default

Modify the SSH remote logon port in Linux

In Linux, modify the SSH remote logon Port 1 and the SSH remote logon Port 1211 # vi/etc/ssh/sshd_config Port 1211 # Change '# Port 22' to 'port 1211 '; # AddressFamilyany # ListenAddress0.0.0.0 # ListenAddress: # servicesshd restart # restart the

Normalization Date Format

Normalization Date Format 01normdata. sh02 #! /Bin/sh03 04 # normdata. sh -- normalize the month to three letters on the date, and uppercase the first letter. 05 # useful functions for the 7th script valid-date. 06 07 monthnoToName () 08 {09 # Set

Set nginx timeout

Set the nginx timeout time to use the nginx server. In case of timeou, you can set the following parameters: Use fastcgi: [python] fastcgi_connect_timeout 75 ; fastcgi_read_timeout 600; fastcgi_send_timeout 600; these two options.

Install and configure VNC in CentOS 6.3

CentOS 6.3 installation and configuration of VNC for friends who are used to WIN the system, it is too uncomfortable to use Linux without a graphical operation interface. In fact, Linux also has a graphical operation interface, which is VNC. Roy

Notes for suse Time Zone Configuration

Notes for suse Time Zone configuration: the time zone representation in SuSE is different from that in Windows. addition or subtraction indicates the opposite meaning. The/etc/sysconfig/clock configuration if the write GMT + 8 is expressed as the

Ubuntu command learning: delete, replace, and replace variable content in bash

Ubuntu command Learning: the deletion, substitution, and replacement of variable content in bash may often be replaced. For example, if I installed a software, however, the executable file of the software is not updated to the environment variable.

Use badblocks to detect bad sectors on the hard disk

Using badblocks to detect bad sectors of a hard disk is a consumable device. When used for a period of time, physical faults such as bad sectors may occur. If a bad track occurs on the hard disk of a computer, if it is not replaced or processed in

Ubuntu automatically runs VNCserver after logging on to the account

Ubuntu automatically runs VNCserver after logging on to the account. Problem: If you restart remote Ubuntu during Remote Desktop, The VNC session becomes invalid. Solution: Use putty to log on to the account of the restarted Ubuntu instance and

Make ubuntu support GBK

Make ubuntu support GBK (1) first install the Chinese version of ubuntu after installation echo $ LANG is UTF-8 by default 1. modify/var/lib/locales/supported. d/local file, add zh_CN.GBK GBK zh_CN.GB2312 GB2312 2 to the file. sudo dpkg-reconfigure -

How to enable a non-full screen terminal in ubuntu

How to open a non-full-screen terminal in ubuntu gnome-terminal -- full-screen // ---------------------------------- the first (of course it is a stupid method) Open (Application-attachment-terminal) in turn ), if you are not busy, you can add a

Install cinnamon in ubuntu

Install the cinnamon desktop environment in ubuntu. 1. Add the PPA mint PPA: sudo vim/etc/apt/sources. list add a line at the end of the text: deb http://mirror.bjtu.edu.cn/linuxmint maya main upstream import save exit (or sudo add-apt-repository

Linux cannot access the system due to errors in modifying Environment Variables

Errors in modifying environment variables in linux cannot lead to system problems 1, because you are not careful about etc/environment (the specific situation is different. I changed it to '/etc/profile', the same below) cannot log on due to

Common svn and git commands

Common commands of svn and git are commonly used: 1. git pull // indicates updating the latest code on the server to the local device. 2.1. git add file path strength and file name 2.2, git commit-m "comment" 2.3, git push // the above three

CentOS network settings (manually configured by vim)

Commands related to CentOS network settings (manually configured by vim): >>> configure a fixed IP address >>> configure DNS address >>> modify the host name  

Fcntl function learning in Linux

Linux fcntl function learning for Linux first, understand the function of fcntl function: operate on file features based on file descriptions. 1. usage: int fcntl (int fd, int cmd); int fcntl (int fd, int cmd, long arg); int fcntl (int fd, int cmd,

After the LINUX firewall is enabled, ftp pasv cannot log on normally.

After the LINUX firewall is enabled, ftp pasv cannot log on to the linux Server normally. If the firewall is enabled, add port 21 to the firewall configuration file. The FTP server can access the port, but pasv cannot. The client is usually

Set the dynamic or static IP address of the NIC in Ubuntu

Ubuntu sets the dynamic or static IP address of the NIC Ubuntu 10.10. The nic of the vmwarevm uses NAT. By default, the IP address is automatically obtained by DHCP. but if port forwarding/ ing is required, the IP address must be fixed. In the VM: 1,

Install and configure telnet in ubuntu

Install and configure telnet in ubuntu 1. after sudo apt-get install xinetd telnetd2. the system prompts sudo vi/etc/inetd. conf and add the following line to telnet stream tcp nowait telnetd/usr/sbin/tcpd/usr/sbin/in. telnetd3. sudo vi/etc/xinetd.

Suse kernel BUG example: update_group_power: cpu_power

An example of suse kernel BUG: update_group_power: cpu_power Introduction: Recently, five business servers have been down for three days. The reason is that the suse11sp1 kernel bug. System error message: system messages log error: Jun 10 14:00:07

Total Pages: 5467 1 .... 3119 3120 3121 3122 3123 .... 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.