Score:-1

What is the difference between -l and -lt

ag flag

I tried the command "ls -l" and "ls -lt" in the same directory, But it shows me the same output. Do they have any difference?

hr flag
Related: [Difference between ls -l , ls -ltr and ll?](https://askubuntu.com/questions/640746/difference-between-ls-l-ls-ltr-and-ll)
Score:3
hr flag

From man ls:

DESCRIPTION
       List information about the FILEs (the current directory by default).  Sort entries 
       alphabetically if none of -cftuvSUX nor --sort is specified.
.
.
.
  -t     sort by modification time, newest first

So the difference is that the sort is alphabetical with ls -l, and by modification time with ls -lt

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.