Nmcli
Nmcli
Nmcli
2 ls
3 clear
4 ls
5 clear
6 cat /etc/redhat-release
7 yum repolist
8 rpm -qa | grep subd
9 rpm -qa | grep subs
10 rpm -qc subscription-manager-1.23.8-35.el8.x86_64
11 vi /etc/rhsm/rhsm.conf
12 ls
13 rpm -qc subscription-manager-1.23.8-35.el8.x86_64
14 vi /etc/dnf/plugins/subscription-manager.conf
15 lsblk
16 mount /dev/sr0 /mnt/
17 cd /mnt/
18 ls
19 cd ..
20 ls
21 lsblk
22 poweroff
23 ping 4.2.2.2
24 ip a s
25 lsblk
26 mount /dev/sr0 /mnt/
27 cd /mnt/
28 ls
29 cd AppStream/
30 ls
31 pwd
32 cd /etc/yum.repos.d/
33 ls
34 vi abc.repo
35 cat /etc/yum.repos.d/
36 cat /etc/yum.conf
37 ls
38 cat abc.repo
39 yum repolist
40 ls
41 rm -fr redhat.repo
42 yum clean all
43 yum repolist
44 ls
45 cd /etc/dnf/plugins/
46 ls
47 vi subscription-manager.conf
48 yum clean all
49 yum repolist
50 cd /etc/yum/
51 ls
52 cd pluginconf.d/
53 ls
54 cat subscription-manager.conf
55 vi subscription-manager.conf
56 vi /etc/dnf/plugins/subscription-manager.conf
57 yum repolist
58 vi /etc/dnf/plugins/subscription-manager.conf
59 yum clean all
60 yum repolist
61 vi /etc/dnf/plugins/subscription-manager.conf
62 yum repolist
63 ls
64 cd /etc/yum.repos.d/
65 ls
66 mv * /root/
67 cd
68 yum clean all
69 yum repolist
70 ls
71 vi /etc/rhsm/rhsm.conf
72 ping 4.2.2.2
73 subscription-manager status
74 subscription-manager --help
75 subscription-manager register
76 subscription-manager register --username=pavel.jonjalipara
77 subscription-manager status
78 subscription-manager list
79 subscription-manager list --available
80 subscription-manager attach --auto
81 subscription-manager list
82 subscription-manager status
83 subscription-manager list --available
84 subscription-manager repos --list
85 yum repolist
86 cd /etc/yum.repos.d/
87 ls
88 cat redhat.repo
89 subscription-manager repos --disable=*
90 yum repolist
91 ls
92 cat redhat.repo
93 vi redhat.repo
94 yum repolist
95 vi redhat.repo
96 yum repolist
97 #subscription-manager repo --enable=rhel-8-for-x86_64-highavailability-rpms
98 subscription-manager repo list
99 subscription-manager repo --enable=rhel-8-for-x86_64-highavailability-rpms
100 subscription-manager repos --enable=rhel-8-for-x86_64-highavailability-rpms
101 yum repolist
102 yum install pacemaker
103 subscription-manager --help
104 subscription-manager list --consumed
105 subscription-manager status
106 subscription-manager unregister
107 subscription-manager clean
108 subscription-manager status
109 ls
110 clear
111 nmcli c s
112 clear
113 man nmcli
114 rpm -qa | grep bash-completion
115 yum repolist
116 yum install bash-completion
117 cd
118 yum install bash-completion
119 nmcli device show
120 nmtui
121 #connetion profile >>> interface >> ip/subnet/gateway/dns
122 nmcli connection show
123 clear
124 ls
125 clear
126 nmcli connection show
127 nmcli connection delete enp1s0
128 nmcli connection show
129 nmcli connection delete Wired\ connection\ 1
130 nmcli connection show
131 ls
132 nmcli connection show
133 nmcli device
134 ifconfig -a
135 yum install net-tools -y
136 ifconfig -a
137 ip a s
138 lshw
139 ls
140 lscpu
141 lspci
142 lsmem
143 lsblk
144 lshw
145 lshw -sort
146 lshw -short
147
148 lshw -class network
149 lshw
150 lshw -short
151 lshw -class disk
152 lshw -class disk -short
153 lshw -class network -short
154 vi
155 vi asd
156 nmcli connection show
157 nmcli connection add con-name mylan
158 nmcli connection add con-name mylan type ethernet
159 #nmcli connection add con-name mylan type ethernet ifname enp1s0
160 ls -l /etc/sysconfig/network-scripts/
161 ls
162 ls -l /etc/sysconfig/network-scripts/
163 nmcli connection add con-name mylan type ethernet ifname enp1s0
164 ls -l /etc/sysconfig/network-scripts/
165 ls
166 nmcli connection show
167 nmcli connection show mylan
168 nmcli connection show mylan | grep -i dhcp
169 ls
170 ip a s
171 route -n
172 ip route
173 ping 4.2.2.2
174 pin ww.google.com
175 ping ww.google.com
176 cat /etc/resolv.conf
177 ip
178 ip a s
179 cat /etc/resolv.conf
180 ip route
181 nmcli connection show mylan
182 cd /etc/sysconfig/netw-
183 cd /etc/sysconfig/network-scripts/
184 ls
185 cat ifcfg-mylan
186 ls
187 reboot
188 nmcli connection show
189 nmcli connection down mylan
190 ip a s
191 nmcli connection show
192 nmcli connection up mylan
193 nmcli connection show
194 ip a
195 nmcli connection down mylan
196 nmcli connection show
197 ip a s
198 systemctl restart NetworkManager
199 nmcli connection show
200 cd /etc/sysconfig/network-scripts/
201 ls
202 vi ifcfg-mylan
203 ls
204 nmcli connection modify mylan autoconnect no
205 vi ifcfg-mylan
206 nmcli connection show
207 nmcli connection down mylan
208 nmcli connection show
209 nmcli connection up mylan
210 nmcli connection show
211 nmcli connection down mylan
212 nmcli connection show
213 systemctl restart NetworkManager
214 nmcli connection show
215 nmcli connection up mylan
216 nmcli connection show
217 systemctl restart NetworkManager
218 nmcli connection show
219 reboot
220 nmcli connection show
221 nmcli connection modify mylan autoconnect yes
222 reboot
223 history
224 history > nmcli.txt