Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS 6.6 shortcut command execution     - GCC library link order problems (Programming)

- 20 open source / commercial Linux server management control panel (Server)

- C ++ Replication Control: Assignment operators and destructors (Programming)

- Linux Command Study Notes (Linux)

- Ubuntu PPA install SMPlayer 14.9 (Linux)

- Samhain: Powerful intrusion detection system under Linux (Linux)

- Four levels of intrusion on Linux server and counter-measures (Linux)

- Adjustment expand VMDK format VirtualBox disk space (Linux)

- A brief introduction to some important Docker commands (Server)

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

- Why did not Oracle privileges can also log in with sysdba (Database)

- Implement binary search algorithm in C language (Programming)

- The Linux OOM Terminator (Server)

- To setup Cocos2dx project under Ubuntu (Linux)

- Docker manage data (Linux)

- Oracle EBS R12 for Linux installation (Database)

- Debian installation (Linux)

- How to Install Linux kernel 4.0 on Ubuntu / CentOS (Linux)

- Oracle RMAN-06023 and ORA-19693 errors (Database)

- Linux under DB2SQL1024N A database connection does not exist. SQLS (Database)

 
         
  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:      
 
- Hard disk encryption to protect data security (Linux)
- CentOS yum configuration under local sources (Linux)
- Ten correct use Redis skills (Database)
- Use cmake to compile and install MySQL 5.5 (Database)
- First start with Kali Linux 2.0 (Linux)
- MySQL and MariaDB traditional master-slave cluster configuration (Database)
- ORA-08102 errors (Database)
- C language preprocessor command (Programming)
- Intrusion analysis and prevention tools Knark under Linux platform (Linux)
- How to install Virtualbox 4.3.20 in Ubuntu 14.04 (Linux)
- Analytical Ceph: handle network layer (Server)
- Based on a complete solution RMI service to transfer large files (Programming)
- Linux installation beautify early experience (Linux)
- RHEL 7.1 compile and install Ganglia 3.7.1 (Server)
- 10 example of the detection memory usage free Linux commands (Linux)
- Lua and C ++ (Programming)
- Linux virtual memory and physical memory (Linux)
- How to avoid two Chrome icon appears in ELementary OS Freya (Linux)
- Ubuntu 15.04 / CentOS 7.0 to set custom boot (Linux)
- Tor Browser: under Linux for anonymous Web browsing ultimate browser (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.