Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS 6.6 shortcut command execution     - NIC configuration parameters under Linux (Linux)

- Select helps secure the system network management tools (Linux)

- Configuring xdebug debugging environment in Ubuntu 14.04 under the PhpStorm (Linux)

- The official release method to upgrade to Ubuntu 15.04 (Linux)

- Compare Oracle MySQL (ICP) index condition pushdown is described (Database)

- Linux dd command make U disk boot disk (Linux)

- PHP Performance Analysis and Experiment: Performance Micro Analysis (Programming)

- LVS + Keepalived the DR mode (Server)

- How to install OpenOffice Ubuntu or Linux Mint (Linux)

- MySQL database under Linux to achieve automatic backup scheduled backup day (Database)

- In Debian 4.3 compiler under Linux-2.6.28 kernel Summary (Programming)

- How to create a remote (Linux)

- How do I cancel (almost) any operations in Git, (Linux)

- Oracle: RETURNING clause (Database)

- SecureCRT use the configuration detailed tutorial (Linux)

- View and modify Linux machine name (Linux)

- Linux kernel boot to retain large memory method summary (Linux)

- Java by Spy Memcached to cache data (Programming)

- Overall Physical Migration of Oracle Database with (Database)

- JavaScript common functions summary (Programming)

 
         
  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:      
 
- Getting Started with Linux: CentOS7 Install Mono with the yum command (Server)
- Examples of Python any parameters (Programming)
- Ubuntu 14.04 LTS 64-bit install GNS3 1.3.7 (Linux)
- Compiled version of Android Opus audio codec library method (Programming)
- Android Service Lifecycle and usage (Programming)
- Linux disk quota-related instruction (Linux)
- The Java development environment to build under Ubuntu 14.04 (Linux)
- The Linux OOM Terminator (Server)
- MogileFS system installation configuration example (Server)
- Difference LVS three scheduling modes (Server)
- Use Visual Studio Code Development TypeScript (Linux)
- Windows7 / 8 / 8.1 hard drive to install Ubuntu 14.04 dual system (Linux)
- Use CutyCapt to convert HTML pages to png images on Linux (Linux)
- CentOS permanently banned from running in the background PackageKit (Linux)
- Ubuntu 14.04 users how to install VLC 2.2.0 (Linux)
- echo command (Linux)
- Android timer use (Programming)
- CentOS Linux firewall configuration and Close (Linux)
- CentOS6.5 installation Docker (Linux)
- Linux 101 hack book reading notes (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.