Linux All Find Command
Linux All Find Command
/home/alex
/var/spool/mail/alex
/var/spool/mail/alex
/home/alex
/home/alex
/root/Alex
/var/spool/mail/alex
/etc/shadow
[root@localhost ~]#
[root@localhost ~]# fallocate file -l 20M
[root@localhost ~]# ll
total 21M
20M file
/run/media/root/RHEL-9-0-0-BaseOS-x86_64/AppStream/Packages/docbook5-style-xsl-1.79.2-
13.el9.noarch.rpm
/run/media/root/RHEL-9-0-0-BaseOS-x86_64/AppStream/Packages/gimp-2.99.8-2.el9_0.1.x86_64.rpm
/run/media/root/RHEL-9-0-0-BaseOS-x86_64/AppStream/Packages/kernel-debug-devel-5.14.0-
70.22.1.el9_0.x86_64.rpm
/run/media/root/RHEL-9-0-0-BaseOS-x86_64/AppStream/Packages/kernel-devel-5.14.0-
70.22.1.el9_0.x86_64.rpm
/root/file
/usr/share/fonts/google-noto-cjk/NotoSansCJK-Bold.ttc
/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc
[root@localhost ~]# cd fi
[root@localhost ~]#
[root@localhost fi]# ll
total 61440
fi/file1
fi/file1
fi/
fi/file2
[root@localhost fi]# ll
total 87040
[root@localhost fi]#
[root@localhost fi]# cd
fi/file4
[root@localhost ~]#
25M fi/file4
[root@localhost ~]#
[root@localhost ~]#
/home/brain
/home/brain/.mozilla
/home/brain/.mozilla/extensions
/home/brain/.mozilla/plugins
/home/brain/.bash_logout
/home/brain/.bash_profile
/home/brain/.bashrc
/var/spool/mail/brain
[root@localhost ~]#
total 0
total 0
total 0
total 0
[root@localhost ~]#
[root@localhost ~]#
=====================================================================================
==================
Question:
# Find shadow
# ll -h
# Make a directory fi
# cd fi
# cd
# cd fi
# cd
# ll -h of fi/file4
# Find all files owned by user brain and put them into /root/brain.