Very useful Linux tips for a desktop Ubuntu user.

Write an ISO to a thumb drive easily with the etcher utility https://etcher.io/. Download this utility from the Github site. Then unpack the zip file to a empty folder, or to your desktop. Then make it executable. jason@Yog-Sothoth » Desktop » $ chmod +x etcher-electron-1.4.4-x86_64.AppImage Then run the AppImage to…

Read More

C program to write a string to a file.

I think I may have posted this before, but this is a little program I am working on that writes a text string to a file. I have got it to work perfectly and it compiles without errors using gcc -Wall. /* * This program is free software; you can…

Read More

The simplest hello world program you can write in C.

This is a very simple Hello World program that you can write in C. int main (void) {   write (1, "Hello World\n", 14); return 0; }int main (void) { write (1, "Hello World\n", 14); return 0; } Just compile the program like this: localhost% cc minimal.c -o small minimal.c:…

Read More