When programming it is essential to organize and structure your code, otherwise it will become unwieldy to work with. c# offer a number of ways to structure and and organize our code using: methods classes namespaces Methods are used for storing blocks of codes and each method is designed to perform a specific task (aka […]
Read More
It is always good practice to insert comments into your code so that you (as well as others) can understand what your code is doing. You can place a single line comment after a line of code, or on a line of it’s own using the “//” notation. If you want to insert a multi-line […]
Read More
Here we are going to first show you a simple “hello world” program in the form of an exe file. When you double-click on the exe file, all that will happen is that a console terminal will open a display the message “hello world”, like this: Step 1 -Write the code Open notepad and […]
Read More
You should already be familiar with the following: Variables Conditonal construct, e.g. If statements Conditional Operators, regular expressions wild cards
Read More
C# is a powerfull object oriented program language. It is heavily engineered programming language. In this tutorials you are going to learn all kinds of things. In our tutorials we will show you a lot of things that won’t make a lot of things until much later. That’s why we will show you a lot […]
Read More
Commands: cat nano # This is a text editor. no need to learn this. vim is much better. Config files: n/a Notes: Here are some example using cat (as a text file creator rather than a file content’s outputter): example 1: $ cat <<EOF =>testfile # This lets […]
Read More
Commands: man {command} info {command} pinfo {command} # displays man pages in a slight differently user friendly format. man -k {search term} # Searches all the search terms for the search-term, and lists all the man pages where there is a match. apropros {search term} […]
Read More
In Linux, nearly all day to day tasks are performed inside a command line terminal, aka the bash terminal. There’s a few ways to access it depending on various circumstance. First of it depends on whether you are sitting in front of your Linux machine or you want to access it remotely (e.g. this is […]
Read More
The way you access the linux command line terminal, depends on the scenario: Scenario 1 – Access your Linux desktop machine’s terminal Using the gnome ui, interface, simply go to: Useful Tip: you can create a desktop shortcut to save time. Scenario 2 – Access a remote linux server’s terminal from a windows […]
Read More
## Setting up and assign sudo priveleges The Sudo utility lets you give a users custom privileges so that they can run commands that they are not normally allowed to run. For example, only the root user can run the “Shutdown” command. But if you want give another user permission to run this command, then […]
Read More