Changes between Initial Version and Version 1 of jazz/11-05-27


Ignore:
Timestamp:
May 27, 2011, 10:07:27 PM (13 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/11-05-27

    v1 v1  
     1= 2011-05-27 =
     2
     3== Linux ==
     4
     5 * [需求] 使用指令將 MAC Address 轉換成全部大寫(英文小寫變大寫,lowercase to uppercase)
     6 * [參考] [http://www.linuxforums.org/forum/programming-scripting/85586-convert-upper-case.html convert to upper case]
     7 * [解法] 使用 tr "[:lower:]" "[:upper:]"
     8{{{
     9~$ ifconfig | grep wlan1 | sed 's#.*HWaddr ##' | tr "[:lower:]" "[:upper:]"
     10}}}