• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

[SOLVED] Customize ls output

B

biagio

Guest
Hello,
I'm biagio this is my 1st post here,

I wish that in the output of commands such as: ls, tree
the name of the directory ended with a slash "/",
so that the output is more readable for me,
more immediately understandable for me distinguish if file or directory,
It can be done?
 


Hello,
I'm biagio this is my 1st post here,

I wish that in the output of commands such as: ls, tree
the name of the directory ended with a slash "/",
so that the output is more readable for me,
more immediately understandable for me distinguish if file or directory,
It can be done?

Use the ls or tree command with -F option and it will output as you request. ls -p also works.

Cheers!
 

Members online


Top