Hi all, I am new in shell scripting and I need your help
1. I would like to make a list of files (no folders) of unix system which do not belong to root
2. I would like to make a list with directories of system which the first letter is d or g.
=========
I know how can I list files or directories but unfortunately I don't know to do the above
ls -l | grep ^d list the directories
ls -l |grep ^- list files
==========
Could you help me please ?