Linux how to set the system time one-step. Friends who do experiments with Linux virtual machines will know. When you restore Linux to a certain point, VMware can not help you to reset the system time. So it's time to do it by hand. about how to set
Often taking photos will often require a large number of photos to reduce the size of the network to facilitate transmission or storage.
Here's an easy way to change a large number of photos to a specified size
Find./-name ' *.jpg '-exec
1. Query Inode:
The code is as follows
[Oracle@test]$ Ll-i
Total 14694452
17956913-rw-r–r–1 Oracle Oinstall 0 18 20:24 1? Txt
2. Modify the test file name:
The code is as follows
Find. -inum 17956913-exec mv {} file.txt;
3. Delete garbled
The syntax for the netstat command is:
netstat [options]
The common parameters of netstat are as follows:
-a displays all sockets including those that are listening
-C is displayed again every 1 seconds until the user interrupts it
-I displays
1. First in the Windows environment in the driver copy to the U disk up,
2. Redhat with the first disk guide, when there are prompts you whether to load hard driver, choose Skip, this is the OS does not detect the hard disk prompts, this time can
easy to solve the Linux U disk garbled method:
1, the general use of this command:
Mount-o Iocharset=utf8/dev/sdb/tmp/fat
2, if not, you can try the following command:
Mount/dev/sdb/mnt-t Vfat-o Codepage=936,iocharset=utf8
Here to tell you about Linux under the U disk how to use, mainly from two scenarios to introduce. Hope to be helpful to everybody's study.
Programme I:
Linux is not like Windows, after the new hardware can be automatically recognized, in Linux
When you watch a video in Firefox on a Linux system, you don't have the Flash Player plugin installed to play the video. Simple steps to install the plugin, you can happily use the Linux system to watch the video. 1. When downloading, select the
Linux uses the crontab command to submit and manage a user's tasks that need to be performed periodically, as shown in the following example:Crontab-e Editing Cycle tasks* * * */ETC/INIT.D/SMB restart 21:30 restart SMB per nightcrontab Command
There are two cases of canceling the modification of the code: the first: The change is not committed (commit). In this case, the previous modification can be canceled using SVN revert. SVN revert usage is as follows: # svn revert [-r] something
Tar-C: Build Compressed Archives-x: Unzip-T: View Content-r: Append files to the end of the compressed archive-u: Update the files in the original compressed packageThese five are stand-alone commands, which use one of the compression decompression,
/etc: System Management related configuration files and sub-directories/ usr : Applications and files, system packages are placed by default in this directory/var: log files for system runs and software runs/dev: all device files in the system/proc :
the philosophical thinking of Linux :1. All documents: Abstract almost all resources into the form of documents, including hardware devices, and even communication interfaces;Open (), read (), write (), close (), delete (), create ()2. Consists of a
1. Look at the type of shell you are using:[Email protected] ~]# echo $SHELL/bin/bash2.SS command:function: View system listening port (socket)Options:-T:TCP protocol-U:UDP protocol-N: Resolve service Name-L: Listening port numberExample:[Email
CD command: such as cd/tmp---into the TMP directoryCd.. /---Back to the top level directoryCD./---current directory
ls command: such as ls-a---view all files (including hidden files)
mkdir command: If mkdir/test----Create Test folder
Common socket types streaming Sockets (SOCK_STREAM)---TCPProvide connection-oriented, reliable transport services, data error-free, no duplication of transmission,and received in the order in which they were sent. datagram Sockets
Reference: http://www.cnblogs.com/ksguai/p/6090115.htmlRecently in the solution of network problems, you need to view the local export public IP information, so on the network search and request operations to reach the people, the following two
Common Linux operationsModify the virtual Nic Interface Name
1. Edit the grub configuration file "/etc/sysconfig/grub": Add a "net. ifnames = 0 biosdevname = 0" in the "GRUB_CMDLINE_LINUX" variable.
GRUB_CMDLINE_LINUX="crashkernel=auto
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