initial commit with apps from course repo
This commit is contained in:
11
rhel7-info/info.sh
Executable file
11
rhel7-info/info.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo '--- Host name:'
|
||||
#cat /proc/sys/kernel/hostname
|
||||
hostname
|
||||
echo
|
||||
echo '--- Free memory'
|
||||
free -h
|
||||
echo
|
||||
echo '--- Mounted file systems (partial)'
|
||||
df -h
|
||||
Reference in New Issue
Block a user