Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux Detailed instructions alias settings     - Linux system ARP attack solution (Linux)

- Linux Services Comments (Linux)

- Linux Getting Started tutorial: Experience QEMU virtual machine articles (Linux)

- Ubuntu install the camera driver (Linux)

- Shilpa Nair interview experience sharing RedHat Linux package management (Linux)

- Oracle for Oracle GoldenGate to achieve a one-way synchronization DDL operations (Database)

- Cygwin install Python MySQLdb (Linux)

- MacBook Air install Ubuntu dual system (Linux)

- Java rewrite equals method (Programming)

- MySQL configuration file my.cnf increase the log file parameter error (Database)

- Nginx configuration support f4v video format player (Server)

- Recycle Bin function realization in Linux (Linux)

- Linux Shell debugging (Programming)

- Android Action Compendium (Programming)

- MySQL 5.6 use GTIDs build the master database (Database)

- CentOS 7 x64 compiler installation Tengine 2.0.3 Comments (Server)

- How to use scientific data Docker quickly configure the development environment (Server)

- Linux environment to build next Cocos2dx-3.3.1 (Linux)

- Summary Linux operating system some tips to prevent attacks (Linux)

- CentOS7 management of systemd (Linux)

 
         
  Linux Detailed instructions alias settings
     
  Add Date : 2017-08-31      
         
         
         
  When we use the long command using Linux, but also often want to use, always use an alias, here is a brief look at the alias alias

Instruction: alias
Setting command aliases

Syntax: # alias name = 'command line'

parameter:
-p: Some alias (the only parameter) print appears
Without any arguments, it lists all current alias settings

usage:
# Alias cp = 'cp -i'
This can be used instead of cp cp -i, and cp -i This command is still valid

View alias:
It lists all current alias settings.
# Alias or # alias -p

View a specific command alias
# Alias cp

Alias perpetuate:
alias role only in the sign-operation is entered after the first alias, this change take effect only for the current Shell. If you re-open a Shell, or log in again, these alias will not work. Fortunately, linux is provided a method of permanent alias:
<1> To take effect automatically every time you sign on the alias, the alias plus put in / etc / profile or in ~ / .bashrc. Then # source ~ / .bashrc
<2> To allow every user to take effect aliases, put the alias applied to / etc / bashrc final surface, then # source / etc / bashrc

Reset Alias:
alias reset method when the first set of the same
# Alias cp = 'cp -i'

Delete an alias:
Format: unalias name

# Unalias cp
     
         
         
         
  More:      
 
- Linux system last command usage (Linux)
- JDK installation under CentOS (Linux)
- Compression decompression command under Linux (Linux)
- Spring-depth understanding of the various annotations (Programming)
- iptables allow only specific ip address to access the specified port (Linux)
- How to add a new resolution VirtualBox (Linux)
- OpenSUSE 13.1 OpenSUSE 12.3 and how to install Cinnamon 2.2 Desktop (Linux)
- SELinux security permissions HTTP + PHP service changes (Server)
- SecureCRT connect virtual machine Linux system (Ubuntu) (Linux)
- Git bulk delete remote tag (Linux)
- FPM quickly create packages with RPM (Linux)
- Linux systems use IP masquerading anti-hacker (Linux)
- Use install_updates upgrade GAMIT / GLOBK (Linux)
- Red Hat Linux security settings document (Linux)
- Three details reflect the Unix system security (Linux)
- How to install Bugzilla 4.4 on Ubuntu / CentOS 6.x (Linux)
- The method to mount the CD under Linux (Linux)
- Spark SQL job of a lifetime (Server)
- CentOS6.3 build a Python 3.3 environment to access Oracle 11gR2 (Database)
- Android View event delivery (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.