in the example below mike=user, staff=group, mike/user has rw, staff/group has read only ls -altr … -rw-r–r–@ 1 mike staff 6148 […]
Linux RHEL/CentOS/OEL
linux command to get the storage used on child sub-directories
du -hd 1 /yourPath # or cd / du -h –max-depth=1 100M ./root 1.3G ./var 202M ./boot 1.6G ./snap …
Free Up Disk Space On Amazon 2 Linux in a Pinch
One opportunity might be to purge the journal file, the “journalctl” command below purges all put the last 5 days.
ignore errors from bash “find” command
Just want to ignore all the permission denied and find the file? sudo cd / sudo find . -name connect-console-sink.properties
linux determine your logical and physical volume partitioning
https://www.thegeekdiary.com/centos-rhel-how-to-find-logical-volumes-lvs-that-are-part-of-a-physical-volume-pv-in-lvm/#:~:text=Using%20lvdisplay%20command,along%20with%20their%20physical%20volumes. Then creating a boot partition on RHEL 6 or centos 6 https://docs.hytrust.com/DataControl/Admin_Guide-4.0/Content/Books/Admin-Guide/Linux-Root-Swap-Drive-Encryption/Creating-Boot-Partition-RHEL-CentOS-6.htm Then if you have to fix a
Redhat 6 / RHEL 6 / CentOS 6 – /etc/resolv.conf overwritten on reboot
The overwrite of /etc/resolv.conf is normal when the network is restarted (and host reboot), so if your DNS Servers change,
A shameless plug – this guys got some nice Linux / UNIX / Mac OS convenience commands for us
Yes this is a YouTube but there are nice time series stamps below it. I especially liked: 1.) control-l to
Installing prerequisite packages for VirtualBox Guest Additions on RHEL 8 or CentOS 8
This may work for 7 too (NO CHECK THAT – RHEL 7 does not have dnf – oops – but
Running oracle-database-preinstall-21c on a RHEL 8 or CentOS 8 Linux flavor
With Oracle Linux 8 you just run – because the package comes with # dnf install -y oracle-database-preinstall-21c and then
Setting DISPLAY environment variable syntax changes with Gnome
Centos8 Gnome DISPLAY is set like this: export DISPLAY=:0 In other words normally for xWindows you do something like this to set