Tips and Tricks
Keep all tips and tricks learned in one place.
Friday, May 4, 2012
How to get the last modified item using ll command
touch file
echo "test" > file
cat `ll -ltr | tail -1 | awk '{print $8}'`
Result:
test
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)