shellsnippets
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
shellsnippets [2010/07/14 09:50] – 91.32.175.1 | shellsnippets [2010/11/01 16:43] – old revision restored andi | ||
---|---|---|---|
Line 108: | Line 108: | ||
echo "The scripts absolute path is $p" | echo "The scripts absolute path is $p" | ||
</ | </ | ||
+ | |||
+ | Or you could just use readlink, which also resolves symlinks: | ||
+ | |||
+ | $> readlink -f ~/.bashrc | ||
+ | / | ||
===== Print ANSI colors ===== | ===== Print ANSI colors ===== |
shellsnippets.txt · Last modified: 2012/12/16 11:28 by 2001:6f8:1c1a:0:922b:34ff:fe18:7138