JasKinasis
thank you very much for this detailed explanation, you are really contributing to the community,
and for the members who commented here that it is a homework, so the answer no, it is simply not.
it came from personal experience and testing, i just tested the both commands and i saw...
i would like to write a script that prints /etc/passwd as this output:
root daemon bin sys …
x x x x
0 1 1 2
root daemon bin sys
first line has all user accounts in same row
second line has all encrypted passwords (x) in same row
third line has all user ids in same row
and etc…
how to list all files and directories that have the maximum number of the same inode number in the home directory?
for example:
inode file/directory name
112233 file1
112233 myfile
112233 myDocs
345566 Docs
345566 Downloads
then it should print
/home/sysadmin/file1
/home/sysadmin/myfile...