Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS 6.6 shortcut command execution     - Node.js Getting the basics: Helloworld! (Linux)

- Swift notes - let you two hours to learn Swift (Programming)

- Java collections series (Programming)

- Achieve camera preview by ffplay (Linux)

- New features of Java 9 HTTP2 and REPL (Programming)

- MBR partitions under Linux (Linux)

- How to migrate MySQL to MariaDB under linux (Database)

- [JavaScript] catch (ex) statements of ex (Programming)

- Linux command binlog by filtering out the complete SQL statement (Database)

- Linux System Tutorial: Fix ImportError: No module named wxversion error (Linux)

- In addition to wget and curl, what better alternatives (Linux)

- Ubuntu 15.10 / 14.04 install subtitling software Aegisub (Linux)

- Unix / Linux commonly used to clean up disk space command (Linux)

- 10 example of the detection memory usage free Linux commands (Linux)

- MongoDB polymerization being given (Database)

- Analysis of MySQL High Availability (Database)

- LAN in Ubuntu shared folders to Windows (Linux)

- Three methods easy data encryption on Linux (Linux)

- lack of SWAP space during installation of Oracle (Database)

- To install Docker under CentOS7 (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:      
 
- Exploring the Android Listview display confusion (Programming)
- Access.log Apache access log analysis and how to import it into MySQL (Server)
- Install Mac OS X 10.9 systems VMware10 (Linux)
- Git large file storage will help handle large binary files (Linux)
- Regular expressions in Perl (Programming)
- Linux RHCS basic maintenance commands (Linux)
- MyCAT easy entry (Database)
- Docker study notes (Server)
- Linux System Getting Started Learning: the curl set custom HTTP header (Linux)
- Linux package management (Linux)
- Linux pwd command learning experience (Linux)
- Linux Mint under tty.js Installation Guide (Linux)
- Linux how to prohibit the use of Ping command (Linux)
- Eight sorting algorithm implemented in Python (Programming)
- Installation Mesos + Marathon + Zookeeper under CentOS 7 (Server)
- Java garbage collection and heap memory layout (Programming)
- Ubuntu install Lighttpd + Mono support .net (Linux)
- Oracle utilized undo data recovery operations (Database)
- Linux Security (Linux)
- MySQL restart process can not be taken lightly (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.