Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS 6.6 shortcut command execution     - Ubuntu 14.04 / Linux Mint 17 How to install the MintMenu 5.5.2 menu (Linux)

- AngularJS - Custom instructions (Programming)

- Ubuntu Linux Change the PATH (Linux)

- Python Basics: Search Path (Programming)

- Based on Python: OpenCV simple image manipulation (Programming)

- Linux disk partition batch format mount script (Linux)

- Lua and C ++ (Programming)

- RHEL7 Apache MPM configuration (Server)

- You really do need to know a variety of programming languages (Programming)

- Docker startups use continuous integration deployment (Server)

- PULL operation mechanism parsing XML Comments (Programming)

- Retro terminal in Linux (Linux)

- Oracle 11g How dataguard master repository to Oracle single instance data recovery (Database)

- Linux shared libraries .so file name and Dynamic Link (Linux)

- Why I do not like the Go language style interface (ie Structural Typing) (Programming)

- The ActiveMQ JMS installation and application examples for Linux (Linux)

- To share some very useful Vim command (Linux)

- Android Studio interface-related settings (Linux)

- Java multi-threaded shared communications variables (Programming)

- ls command: 15 Level Linux interview question (Linux)

 
         
  CentOS 6.6 shortcut command execution
     
  Add Date : 2018-11-21      
         
       
         
  Learning Using clever shortcut command CentOS

1,! $ Last argument on a command, do not re-enter the parameter length
E.g:
[Root @ localhost ~] # cat / etc / sysconfig / network-scripts / ifcfg-eth0
DEVICE = eth0
HWADDR = 00: 0C: 29: AA: 77: 84
TYPE = Ethernet
UUID = 7260d0db-35da-43f2-a0bd-c2d4edc24db2
ONBOOT = yes
NM_CONTROLLED = yes
BOOTPROTO = none
IPADDR = 192.168.20.10
NETMASK = 255.255.255.0
GATEWAY = 192.168.20.1
DNS1 = 192.168.1.17
[Root @ localhost ~] #vi! $! $ Equal to / etc / sysconfig / network-scripts / ifcfg-eth0
vi / etc / sysconfig / network-scripts / ifcfg-eth0

2,! Run command file name or file name or a recent beginning of the command, do not re-enter long or long command parameters!;

#! / Etc / run recently a / etc / command beginning with
#! cat cat to a recent run at the beginning of the command, with no spaces;
E.g:

[Root @ abctest ~] # cat /etc/resolv.conf
; Generated by / sbin / dhclient-script
nameserver 192.168.1.1
nameserver 192.168.1.1
[Root @ abctest ~] #! Cat
cat /etc/resolv.conf
; Generated by / sbin / dhclient-script
nameserver 192.168.1.1
nameserver 192.168.1.1

3, execute a command on !!
E.g:
[Root @ localhost ~] # uname -r
2.6.32-431.el6.i686
[Root @ localhost ~] # !!
uname -r
2.6.32-431.el6.i686
     
         
       
         
  More:      
 
- Network security system (Network)
- CentOS installation Percona Server 5.5.42 compiling problem solve one case (Linux)
- Installation and deployment of Hadoop 2.7.1 on Ubuntu 14.04 LTS (Server)
- MNIST presentation and database conversion (Database)
- ASP.NET 5 is connected with the Redis server on the Linux platform (Server)
- Dialogue UNIX:! $ # @ *% (Linux)
- Linux create and delete user step (Linux)
- Java rewrite the hashcode method (Programming)
- Two alert log ORA Errors (Database)
- GitLab issued Merge Request return error 500 when the two solutions log (Linux)
- The FreeBSD zfs: failed with error 6 Error Resolution (Linux)
- C # Future: Method Contract (Programming)
- Binary tree traversal recursive and non-recursive (cyclic) traversal achieve (Programming)
- PuTTY Xming achieve the X11 forwarding ssh (Server)
- How to configure AWStats in Ubuntu Server (Server)
- Linux server dual-card dual-IP and single-card dual-IP configuration method (ReHat / CentOS) (Server)
- Thrift 0.9.3 compiler installation under Ubuntu (Linux)
- To install Gitolite in Ubuntu / Fedora / CentOS (Linux)
- Monitoring services are running properly and will email alert (Server)
- C ++ stderr / stdout redirected to a file (Programming)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.