rahmayasser.hashnode.devHow to structure your go app?There's no official structure to follow when you start coding in go. But there're common practices that can help organizing your code specially if it's not a simple project. Here are some of the common patterns for organizing go app pkg directory He...May 25, 2022·2 min read
rahmayasser.hashnode.devFile system fundamentals in Linux(Virtual file systems) | Part 3Virtual file systems VFS is the file system that resides in memory, having no physical part in disk. You probably get bored from this piece of information that everything in Linux represented by a file :). So virtual file systems is a way of communic...Mar 20, 2022·2 min read
rahmayasser.hashnode.devFile system fundamentals in Linux | Part 2This article introduces some basic concepts related to file systems. Enjoy reading :) Partitioning Any disk has to be partitioned.. why? This enables us to have different file systems on each partition. We can specify the type of file system as nee...Mar 20, 2022·2 min read
rahmayasser.hashnode.devFile System fundamentals in Linux (What is a file?)| Part 1what is a file? Basically in Linux everything is a file, or simulated by files. So it's important to know how it works, how to deal with it. Linux implements a file with 3 main parts: Inode (pronounced i-node) Dentry (pronounced d-entry) Data blocks...Mar 20, 2022·3 min read
rahmayasser.hashnode.devThe idea behind $PATH environment variable and shell commands locationsCommands are executable files, think of them like that. To use a command means you need to run an executable file so you have to provide it's path(where this executable file resides). For example, if I want to use date command I should type /bin/date...Oct 8, 2021·2 min read