Ubuntu 18.04 LTS
Finding a directory or a file
In order to successfully find a directory/folder or a file in Ubuntu, you can easily use the find command.
Command syntax:
scp -pr /your-folder-or-file-location/ destinationuser@IP-or-host:/destination-location/
Real example:
scp -pr /vmfs/volumes/datastore1/Vista-32/ root@192.168.2.224:/vmfs/volumes/ds-sata/
- Install PowerShell.
- Paste the code below into a new file.
- Save the script as your-file.ps1 (don’t forget to put the .ps1 extensidon; otherwise, the script will not execute).
- Run the script by running PowerShell and executing the following command:
I came across a lot of situations where I needed to know the exact version of the OS I was using. Mainly, because of the dependencies involved (Python, PHP, MySQL, etc).
So, open up a terminal and use the following commands in order to view the exact version of your Linux operating system.
Windows 10 Pro/Enterprise/Education
- Press the Windows key.
- Type: “Turn Windows features on or off” and open it.
Turn Windows features on or off
- Select/deselect “Hyper-V” from the list.
- Click “OK”.
- Reboot.