User Tools

Site Tools


useful_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
useful_commands [2012/10/06 12:51]
85.218.109.130
useful_commands [2012/10/06 12:52]
85.218.109.130
Line 3: Line 3:
   * return the last edited file    * return the last edited file 
  
-<​code>​ls -ct1 | head -1</​code>​+<​code ​bash>ls -ct1 | head -1</​code>​
  
 broken into elements: broken into elements:
  
-<​code>​ls -c #sorts by ctime, newest first+<​code ​bash>ls -c #sorts by ctime, newest first
 ls -clt #shows ctime and sorts by ctime ls -clt #shows ctime and sorts by ctime
 ls -cl #show ctime, sorts by name ls -cl #show ctime, sorts by name
useful_commands.txt ยท Last modified: 2012/10/06 17:39 by 85.218.109.130