Linux file and directory management command base

supplement /etc/hostname: CenOS7 hostname configuration file [root@oldboyedu ~]# cat /etc/hostname oldboyedu /Etc / sysconfig / network C6 hostname configuration file [root@oldboy ~]# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=oldboy Modify host name Permanent entry into force [root@oldboyedu ~]# hostnamectl set-hostname oldbo ...

Posted on Tue, 07 Apr 2020 08:55:11 -0400 by Serpent_Guard

adb command of self timer tutorial 40 export Log with one click

Android devices, such as on-board system in the process of real vehicle road test, It is troublesome to operate the computer on the car. If there is a Bug in the car system, How to easily export the related log (logcat, dbus, Gaud map log, gps positioning log, etc.) at one time? In fact, we only need a python script to do it! Preparation sta ...

Posted on Wed, 11 Mar 2020 00:48:07 -0400 by Zepo.

Regular Introduction_awk

Mission 18 October 9.6/9.7 awk   awk tools It has more functions than grep and sed tools and can be operated in segments. Basic use Segment operation # - F specifies the delimiter, defaulting to space {}Internal # $1 means: the first field after segmentation # $0 represents a line # First paragraph of printed content [root@cen ...

Posted on Thu, 31 Jan 2019 05:03:14 -0500 by Pryach