Setup a Linux Server

Setup a Linux Server

Month: May 2022

Replace a single string in a large number of files in Unix

If you have Perl installed on your system With Perl, you can make the replacement from the Unix command line prompt. At the prompt, enter: perl -pi -e ‘s/old_string/new_string/g’ file_pattern Replace old_string with the string you want to replace and new_string with the replacement string. Replace file_pattern with the files you want to modify. This can be a shell wildcard, such as *.html. The […]

Creating a Ubuntu Desktop Virtual Machine on macOS with QEMU

This tutorial will show you how to create a Ubuntu Desktop virtual machine and run it on macOS with QEMU and hardware acceleration. Before we begin, I suggest you create a folder on your Mac to store the virtual machine disk image, the Ubuntu ISO and startup script. You don’t have to do this but […]

Scroll to top