This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dnf upgrade --refresh | |
dnf install dnf-plugin-system-upgrade | |
dnf system-upgrade download --releasever=26 --best --allowerasing | |
dnf system-upgrade reboot | |
dnf clean packages | |
dnf install NetworkManager-openconnect-gnome openconnect-devel chrome-gnome-shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start -> gpedit.msc | |
Computer Configuration\Administrative Templates\System\Logon | |
"Always use custom login background" -> Enabled | |
C:\Windows\System32\oobe\info\backgrounds\backgroundDefault.jpg (<= 256kB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netsh interface ipv4 show subinterfaces | |
netsh interface ipv4 set subinterface "vpn" mtu=1300 store=persistent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM etc/hosts | |
REM 127.0.0.1 vortex-win.data.microsoft.com | |
REM 127.0.0.1 settings-win.data.microsoft.com | |
wusa /uninstall /kb:3068708 /norestart | |
wusa /uninstall /kb:3022345 /norestart | |
wusa /uninstall /kb:3075249 /norestart | |
wusa /uninstall /kb:3080149 /norestart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yum install tracker-preferences | |
^D | |
$ mkdir ~/.config/autostart | |
$ cp /etc/xdg/autostart/tracker* ~/.config/autostart | |
$ cd ~/.config/autostart | |
$ sed -i 's/X-GNOME-Autostart-enabled=true/X-GNOME-Autostart-enabled=false/' tracker* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# issue | |
$ cat /etc/issue | |
# through rpm | |
$ rpm -E %fedora | |
# fedora/redhat/system/os release | |
$ cat /etc/redhat-release | |
$ cat /etc/fedora-release | |
$ cat /etc/system-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rpm2cpio ./some_package.rpm | cpio -idmv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# chown all files and directories in the current directory | |
find . -exec chown -hv user:group '{}' \; | |
# chmod all files to "rw-------" in the current directory | |
find . -type f -exec chmod 600 '{}' \; | |
# chmod all directories to "rwx------" in the current directory | |
find . -type d -exec chmod 700 '{}' \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo -i | |
# mkdir /mnt/sysimage | |
# cryptsetup luksOpen /dev/XXXX luks-fedora | |
# mount /dev/mapper/fedora-root /mnt/sysimage | |
# mount /dev/YYYY /mnt/sysimage/boot | |
# mount --bind /dev /mnt/sysimage/dev | |
# mount --bind /proc /mnt/sysimage/proc | |
# mount --bind /sys /mnt/sysimage/sys | |
# chroot /mnt/sysimage | |
# grub2-install --target i386-pc --force /dev/YYYY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<frame_geometry name="max" has_title="false" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false"> | |
<distance name="left_width" value="0" /> | |
<distance name="right_width" value="0" /> | |
<distance name="left_titlebar_edge" value="0"/> | |
<distance name="right_titlebar_edge" value="0"/> | |
<distance name="title_vertical_pad" value="0"/> | |
<border name="title_border" left="0" right="0" top="0" bottom="0"/> | |
<border name="button_border" left="0" right="0" top="0" bottom="0"/> | |
<distance name="bottom_height" value="0" /> | |
</frame_geometry> |