How to enable telnet on Windows 10 1

How to enable telnet on Windows 10

How to enable telnet on Windows 10 No further Introduction is needed for this tool … Open command line as an administrator and write the following command. Hit enter & your’re done!

 

Libvirtd change default pool storage path 2

Libvirtd change default pool storage path

Listing current pools:

Destroying pool:

Undefine pool:

Defining a new pool with name “default”:

Set pool to be started when libvirt daemons starts:

Start pool:

Checking pool state:

source

Create Windows 10 bootable usb from linux (Ubuntu 18.04) 3

Create Windows 10 bootable usb from linux (Ubuntu 18.04)

Create Windows 10 bootable usb from linux tested on Ubuntu 18.04. Download windows 10 iso from here Install woeusb from source (tested on ubuntu 18.04)

Make it bootable with woeusb

Tip: If woeusb starts to complain for mounted device etc … Unmount and unplug the usb device. Plug the usb and unmount the […]

Find top/largest files and directories on a Linux server 6

Find top/largest files and directories on a Linux server

To find the largest files and directories on a linux server, type the command bellow… and grab a cup of coffee afterwards. Change head -n $top_num to your liking to get the top x files and/or directories.

 

Ubuntu 18.04 disable predictable network names 7

Ubuntu 18.04 disable predictable network names

Cloud-init doesn’t work with predictable network names … So In favor of cloud-init automated network set up disable them. In: /etc/default/grub Change to: GRUB_CMDLINE_LINUX=”net.ifnames=0 biosdevname=0″ source

Find files or directories owned by user/group and permission bits 8

Find files or directories owned by user/group and permission bits

Find files or directories owned by user/group and permission bits   Find all files not owned by user

  Find all files not owned by group

Find all files that don’t have specific permissions

  Examples: Find all files that don’t have 755 permissions

Combine all parameters: Find all python files […]

Find and Delete log files on a linux system 9

Find and Delete log files on a linux system

Find and Delete log files on a linux system. Think before you act.

 

Mount disk and install grub boot loader 10

Mount disk and install grub boot loader

Mount disk and install grub boot loader

 

Delete all lines of a file containing a regex pattern using sed 11

Delete all lines of a file containing a regex pattern using sed

Delete all lines of a file containing a regex pattern using sed. For example you can delete all commented lines of a default configuration file. Take a look on my basic regex cheat sheet