[CentOS] Define an alias with an embeded awk command
Majian
jiannma at gmail.comTue Dec 15 04:40:15 UTC 2009
- Previous message: [CentOS] mod_security
- Next message: [CentOS] Define an alias with an embeded awk command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi ,all : I'm trying to define an alias with an embeded awk command: alias checketh0 `ifconfig eth0 |grep 'inet addr:' |awk '{prinrt $2}' |cut -c 6- ` After I edit it in the .cshrc file and run "source .cshrc" , I run the "checketh0" command in the terminal , the screen displays the "192.168.7.24: Command not found " Why does is it ?Any help will be highly appreciated. note: I'm using csh shell. Thanks for you help. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091215/be488c75/attachment.html>
- Previous message: [CentOS] mod_security
- Next message: [CentOS] Define an alias with an embeded awk command
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list