Regular Expression Twitter Linker
Tagged with: expression, link, regexp, regular, twitter
Tuesday, June 16th, 2009 12:00 AM
Regular expression to link twitter users…
Replace this '@(\w+)'
With this '<a href="http://twitter.com/\1">@\1</a>'
Regular expression to link twitter users…
Replace this '@(\w+)'
With this '<a href="http://twitter.com/\1">@\1</a>'
Use this command to find all the links in the current directory…
find . -lname "*"
Show link status of ‘eth0′
mii-tool eth0
Show link status of all interfaces
ip link show
This is how to create hard and soft links in Linux. Remember, a directory cannot be hard linked.
#Hard link
ln /path/to/file.ext .
#Soft link
ln -s /path/to/file.ext .
[tags]link, shortcut, soft,hard,linux,command[/tags]
Show the headers of an URL using Curl
curl http://example.com -I