Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

List files and sort by date and time in Linux

$ ls -t


OR


$ ls -tr

To list files or directories and sort by last modified date,
	use the -t option. To reverse the sorting order,
	use the -r parameter as follows: ls -tr:
Comment

PREVIOUS NEXT
Code Example
Shell :: powershell active directory script examples 
Shell :: update psql version 
Shell :: how to upgrade to wsl 2 
Shell :: etherum for ubuntu 
Shell :: git pull from template repository 
Shell :: Cannot find cairo.h! Please install cairo 
Shell :: linux change date and then change files ctime 
Shell :: omv install script 
Shell :: how to delete last push github 
Shell :: git diff of a file between two commits 
Shell :: copy directory 
Shell :: git undo deleted local branch 
Shell :: install and import gsap in vue 
Shell :: ubuntu see date of last modification to file 
Shell :: create a git repository from local machine and push it online 
Shell :: sh or bash validate if file no exist 
Shell :: grep without pattern 
Shell :: bash case statement 
Shell :: powershell get OS 
Shell :: install fira code ubuntu 
Shell :: how to reverse shell 
Shell :: how to upgrade npm in ubuntu 
Shell :: linux change file name 
Shell :: hide hidden files mac 
Shell :: installer microsoft teams ubuntu 
Shell :: enable ssh linux 
Shell :: apt-get ana-conda 
Shell :: count new lines bash 
Shell :: git add all files 
Shell :: how to copy file in ubuntu terminal 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =