Linux basic commands for SQL SERVER DBA's
As Microsoft started supporting SQL SERVER on other operating systems like Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), and Ubuntu.
As a SQL SERVER DBA we must know some basics of to support other operating systems.
Sudo -
superuser do or switch user do. it allows a user with proper permissions to execute a command as another user, such as super user.
It is same like as our Run as administrator in windows level. or Local Admin to the box.
Example Sudo "username "
Example Sudo "username "
sudo -V | -h | -l | -L | -v | -k | -K | -s | [ -H ] [-P ] [-S ] [ -b ] |
[ -p prompt ] [ -c class|- ] [ -a auth_type ] [-r role ] [-t type ]
[ -u username|#uid ] command
Curl
Curl is a free and open command line tool for transferring files on protocols like Http, Https,FTP,FTPS, SCP, SFT, LDAT, or File.
You can refer the url
https://curl.haxx.se/
Yum
Yum stands for "Yellodog Updater Modified". It is an interactive rpm-based package Manager. It can automatically perform system updates,including dependency analysis and obsolete processing based on "repository" Medadata.
yum [options] [command] [package ...]