Home
Life Zero Blog
Cancel

Input Output and Redirection

Input Output and Redirection What is File Descriptor? In Unix and related computer operating systems, a file descriptor (FD) is an abstract indicator used to access a file or other input/outp...

File and Directory Permissions

File and Directory Permissions After executing the command ls -l we have the following: drwx—— 35 ubuntu ubuntu 1120 Dec 27 19:54 Desktop -rwxrw-r– 65 ubuntu ubuntu 1120 Dec 28 18:36 test.txt l...

Links and Shortcuts in Linux

Links and Shortcuts in Linux commands: ln - create a hard link ln -s - create a symbolic (Soft) link (the same as Shortcuts in Windows) Hard links Vs Symbolic links Hard links and symb...

Working with Directory

Working with Directory Linux Special Directories: . - The Current Directory .. - The Parent Directory / - The Root Directory ~ - The Current User’s Home Directory Absolute Path vs Rela...

Basic Linux Command

Basic Linux Command ls - List Directories Content (in windows we call these as a folders) cd - Changes the current directories pwd - Displays the present working direct...

The Shell Theory

The Shell Theory What is The Shell ? A Shell provides you with an interface to the Unix system. It gathers input from you and executes programs based on that input. When a program finishes ex...

Linux Directory Structure

Linux Directory Structure / – root Every single file and directory starts from the root directory. Only root user has write privilege under this directory. Please note that /root is root us...

OpenCV 4.2.0 with CUDA 10.2 and Qt support

OpenCV 4.2.0 with CUDA 10.2 and Qt support Install dependencies sudo apt update sudo apt upgrade sudo apt install build-essential cmake pkg-config unzip yasm git checkinstall sudo apt install l...

Debug technique in C++ programming

Debug technique in C++ programming Brian Kernighan famously said, “Everyone knows that debugging is twice as hard as writing a program in the first place. So if you’re as clever as you can be when...