Add, subtract, and format dates in Linux

In Linux, add or subtract the date and format it. run the code www.2cto.com to format the system date to yyyymmdd and subtract the day. 1. java code: date + & quot; % B % e, % G & quot;-d & amp; #39;-1day & amp; #39; 2. use the Java code CUR in the

Enable ftp service under linuxredhat

Enable the ftp service to install oracleRDBMS under linuxredhat. tar software is required to find ftp unavailable. As a result, google. Environment: www.2cto.com [oracle @ RPS-SERVER-1 ~] $ Uname-aLinuxRPS-SERVER-12.6.18-194.el5 #1... In linux

Linux server name modification

In linux, you can run the following command to view the host name of ubuntu by modifying the server name: www.2cto. to modify the host name of comhostname, you must change the two files:/etc/hostname/etc/hosts. in the hostname file, change the

Configure routes for multiple NICs in linux

In linux, multiple network adapters are configured. in linux, when you debug the set-top box at www.2cto.com, you encounter an interesting scenario: the set-top box has two Nics: eth0 and usb0; start from eth0 to nfs at startup. after startup,

Mount the hard disk to the mount point

Mount the hard disk to the mount point fdisk-l to view all the hard disk information www.2cto. run comdf-h to check whether the attached hard disk is mounted. for example, Mount/dev/sdb to/mnt/sdb. create a file system for the disk: mkfs.

Introduction to LINUXshell script

LINUXshell script introduction echoHelloworld! Equivalent to echo & amp; #39; Helloworld! & Amp; #39; but not equivalent to echo & quot; Helloworld! & Quot ;(! When placed in double quotation marks, escape \) www.2cto.com simple judgment example 1 #!

Gentoo, Debian, and FreeBSD software package management competition

The package management mechanisms of Gentoo, Debian, and FreeBSD are very similar. Gentoo and Debian are my favorite Linux distributions, one is naturally an excellent development platform, and the other is undoubtedly the preferred product for both

RPM command details

gpg

I. usage of RPM Package management; 1. software can be installed, deleted, upgraded, and managed; of course, software can also be installed and upgraded online; 2. you can use RPM to check which files are included in the software package and which

Use the find command in linux to find files based on system time

The find command has several options for searching files based on your system's timestamp. These timestamps include the last modification time of the mtime file content. the time when the atime file is read or accessed, the ctime file state change

Concise Linux command line Notes 5: rm

Concise Linux command line Notes 5: rmrmwww.2cto. comrm can be used to delete files or directories 1. usage rm [option]... file... 2. if the common parameter-f is not prompted, force delete the file-r or-R recursively delete the Directory-I delete

Difference between su and su-commands

Difference between su and su-commands I used to use root directly and seldom use su. only a few days ago I found that su and su-commands are essentially different! Most of the default accounts of www.2cto.com Linux distributions are normal users. to

UNIXShell control structure-IF

UNIXShell control structure & mdash; IF flow control (DecisionMaking) IF statements have three formats: first, if...fistatementwww.2cto.com. The following is an instance: [plain] catif1.sh #! /Bin/sha10b20 # ① if [$ a-eq $ B... UNIX Shell control

Detailed description of alias commands in linux

Detailed description of alias commands in linux: sets the alias of commands. Www.2cto.com syntax: alias [alias] [command name] parameter: If no parameter is added, all current alias settings are listed. Example: ermao @ lost-desktop :~ $ Alias...

Apt-getinstall usage

Apt-getinstall usage: Download apt-getinstall and install all dependent packages. if a package is set to hold (stop flag, it will be put aside (that is, it will not be upgraded ). for more information about hold, see the following. apt-getremove...

Set KSH auto-completion and history commands in AIX

In AIX, KSH auto-completion is disabled by default. it is troublesome to enter the command. you can check the method to enable it on the Internet. Method 1: www.2cto. comset-ovi History Command function (esc-, esc +) or roll up a command that is E...

Configure rsync server in linux

In linux, the rsync server usually uses code management, data backup, and more on the same machine. if the hard disk breaks down, it is almost unable to go back to the day, even if many of them have backups, most of them are local backups, so remote

Modify and take effect of the linux. bashrc file

Linux. the following is an example of how to modify and take effect of the bashrc file: .bashrc-Theindividualper-interactive-shellstartupfile.www.2cto.com... linux. modify and take effect of the bashrc file :. bashrc-The individual

Obtain Internet ip addresses in Linux

Linux get Internet ip Method 1: curl-s & quot; http://checkip.dyndns.org/" | cut-f6-d & quot; | cut-f1-d & quot; & lt; & quot; www.2cto.com Method 2: w3m-dumphttp: // submit.apnic.net/templat Linux get Internet ip Method 1: curl-s

Linux Software Management (RPM, Dpkg, APT)

The last article on Linux Software Management (RPM, Dpkg, APT) talked about how to install software by compiling the source code, but sometimes this process is really cumbersome, if someone uses the same platform to compile for us in advance, we can

Linux command line tips for improving office efficiency

Tips for Linux command line to improve office efficiency 1. View command usage frequency www.2cto.com $ history | awk & amp; #39; {print $2} & amp; #39; | awk & amp; #39; BEGIN {FS & quot; | & quot ;}{ print $1} & amp; #39; | sort | uniq-c |

Total Pages: 2732 1 .... 787 788 789 790 791 .... 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.