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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment