i)
az group list or az
group list | jq “ .[]. name (how many
resource groups are there )
ii)
20 mins didn’t
done anything in shell it will timeout so use this command watch ls so every
2seccond it will run this command automatically so your cloudshell screen won’t
disconnect.
iii)
To clear the
screen ctrl + L
iv)
sudo su -
apt update && apt install -y nginx
it’s a webserver
v)
nano
/var/www/html/index.nginx-debian.html go to H1 tag edit what u want to display
in web browser ctrl + o + enter
vi)
ctrl + x
vii)
tmux terminal
multiplexer
viii)
ctrl + b then
leave them and click again shift + 5 then screen will split if you want to
select left screen Ctrl + b then leave it and press left arrow to select left
side od the split screen or if you want to select right Ctrl + b then leave
then and lick right arrow to select
right side of the split scrren
ix)
to find your ip
address ipinfo.io/ip check
x)
lsblk is used to
check how many storage disks are there.
xi)
Ctrl + Insert is
to copy
xii)
ll to find what
are files in Linux
xiii)
for Remote
desktop cmd à mstsc or mstsc /v:52.191.55.75
windows
server 2016/19 settings for testing cmd → firewall.cpl == turn Off all → Ok and
Server manager → Local Server → IE enhanced comfigaration == off → ok