Change ls datetime format - how?

Bo Berglund bo.berglund at gmail.com
Fri Feb 5 17:13:57 UTC 2021


On Fri, 05 Feb 2021 13:37:18 +0100, Volker Wysk <post at volker-wysk.de> wrote:

>> Please advice a setting I could but into .bashrc if needed to solve the problem.
>
>
>alias ll="ls -l --time-style=full-iso |sed
>'s/^\(............................................\).................../\1/'
>"
>
>This needs to be on one line. The backslash in the first line is not to be
>removed. 
>
>This won't work with arguments to the ls command. You could write a script
>or a bash function for that.
>

Are you saying that the ls command cannot be set to display time in a decent
format without bringing in other programs like sed?
Amazing...


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list