Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux find latest modified files

find . -type f -exec stat -c '%Y %n' {} ; | sort -nr | awk 'NR==1,NR==3 {print $2}'
Comment

linux recently modified files

# -5 = "Number of days"
find . -mtime -5
Comment

PREVIOUS NEXT
Code Example
Shell :: jupyter notebook not rendering permission denied ubuntu 
Shell :: postgresql status ubuntu 
Shell :: how to uninstall lxd ubuntu 20.04 
Shell :: first of file linux terminal 
Shell :: list stopped containers 
Shell :: network manager restart ubuntu 
Shell :: install rust ubuntu 20 
Shell :: how to I display powershell function code 
Shell :: thousand separator shell 
Shell :: add webhook to all github repos 
Shell :: delete directory rpi 
Shell :: give root permission to user ubuntu 
Shell :: bash while read line loop from variable 
Shell :: reload vimrc without exiting 
Shell :: nvm newest version 
Shell :: raspberry pi install pip 
Shell :: bring job number to foreground linux 
Shell :: man command not found arch 
Shell :: how to compress pdf in linux 
Shell :: grep more lines around 
Shell :: Cannot determine which native SDK version your project uses because the module `expo` is not installed. Please install it with `yarn add expo` and try again. 
Shell :: bash check diff starting at specific line 
Shell :: start redis server 
Shell :: batch command run exe 
Shell :: ubuntu logout 
Shell :: error: ‘thread’ is not a member of std 
Shell :: connect vm to cloud storage gcp 
Shell :: nuget clear cache cli 
Shell :: bash script template 
Shell :: ionic offline documentation 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =