A simple guide to usage of Python for Unix/Linux system admins.
ls.py - run ls -l
command
get_cwd.py - get current working directory
netstat.py - run netstat -tulpn
command
pysysinfo.py - generate system info (scripts/ uname and df command)
ss.py - run ss
command
check_file.py - check if a file is inside the folder or not
check_string.py - check if a string is inside the file or not
file_path.py - print absolute path of a file
memory_usage.py - print memory usage in percentage
cpu_usage.py - print cpu usage