LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-09-2017, 10:11 AM   #1
amala15vsa
LQ Newbie
 
Registered: Oct 2017
Posts: 1

Rep: Reputation: Disabled
ls command to list out the file names,directory(along which file is present), file details(size,date time) at one go


ls command to list out the file names,directory(along which file is present), file details(size,date time) at one stretch
 
Old 10-09-2017, 11:37 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,084

Rep: Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279
Welcome to LQ!

If you read the manual with man ls or look here
https://www.tecmint.com/15-basic-ls-...ples-in-linux/
you can see lots of options with ls. For example, try
ls -l
and then compare
ls -lgGh
Then try
ls -lgGhR

You may find that ll is the same asls -l. That's an example of an alias. You can make your own with a command like
alias ll="ls -lgGhR"
saved in the file .bashrc in your home directory.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
List file names in a directory WITHOUT the path dexus Linux - Newbie 16 11-09-2016 07:58 PM
[SOLVED] Find and list a modified date and time of a file yunushaikh Linux - Newbie 2 11-26-2015 09:36 AM
Regarding the processing of a file based on the date present in file name dynamically Giridhar2767 Linux - Newbie 1 03-10-2015 02:05 AM
Need to find if a matching file exist from a list of possible file names wit_273 Linux - General 5 10-25-2007 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration