Structure Query Language, C programming, Java, Servlet, Jsp, Unix
Home
Special
C / C++
GTU [PL/SQL]
IVAN BAYROSS [SQL]
JAVA
UNIX
WTAD
FON
Contact Us
CPP
Android
SEO
Tuesday, 13 March 2012
Write a script to display the last modified file.
record=`ls -lt | head -n 2`
filename=`echo $record | cut -d " " -f 11`
echo "Last modified file is $filename"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment