for Redhat Linux
- list all the repositories
Common Linux
- find current folder size
1 | findmnt /tmp -o SOURCE,FSTYPE,SIZE,USED,AVAIL,USE%,TARGET |
- check current user group
1 | $ groups username |
- check RAM and CPU information
1 | cat /proc/cpuinfo |
subscription-manager
1 | subscription-manager repos --disable '*Hortonworks*' |
- find port 7000 is used by which process
1 | fuser 7000/tcp |