<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by AMADOU DIALLO on Medium]]></title>
        <description><![CDATA[Stories by AMADOU DIALLO on Medium]]></description>
        <link>https://medium.com/@jallohsadjo?source=rss-21a12225e091------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UVNkkdGa-pj4Buv_63TXyg@2x.jpeg</url>
            <title>Stories by AMADOU DIALLO on Medium</title>
            <link>https://medium.com/@jallohsadjo?source=rss-21a12225e091------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 05:14:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jallohsadjo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[This document will explain the process when you type ls -l in the shell.]]></title>
            <link>https://medium.com/@jallohsadjo/this-document-will-explain-the-process-when-you-type-ls-l-in-the-shell-2ef6b65e6a3d?source=rss-21a12225e091------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ef6b65e6a3d</guid>
            <category><![CDATA[terminal]]></category>
            <dc:creator><![CDATA[AMADOU DIALLO]]></dc:creator>
            <pubDate>Mon, 21 Oct 2019 16:26:37 GMT</pubDate>
            <atom:updated>2019-10-21T16:26:37.542Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xnphNZ7LNJebCdz8LwaGgw.jpeg" /></figure><p>First of all it is good idea to know “what the <strong>shell </strong>is” before diving into what it does? Below is the Diagram of the interaction between shell kernel, users and application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*H9XD2IWbCgZnvXP98-ujlQ.png" /></figure><p>In fact the shell is a program that runs in the user-space. It takes commands from the keyboard and send them to the operating system to execute.</p><p>Also, Knowing the shell requires an understanding of what the <strong>kernel</strong> is. To define it, it is the part of the operating system that runs in privileged mode. Whenever the user type in commands, the shell asks the kernel to execute it.</p><p>Typing <strong>ls</strong> in the shell command prompt prints the files in the current directory <strong>.</strong>The flag<strong>-l gives </strong>is a way of asking the computer to print the different files of the current directory in a long format(owner, permission, date of creation).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*3ja0XCLO5v3XeOnhcvVrKQ.png" /></figure><p>There are three major steps for this process which are:</p><p>Read: The current screen on the shell asks the user to enter the command. After the command <strong><em>ls -l </em></strong>is typed and enter pressed, the shell reads the command.</p><p>The shell does three basic things:</p><p><strong>1-initialize:</strong> the configuration files will be read and executed.</p><p><strong>2-interpret:</strong> read the command from standard input interactively or from file.</p><p>After typing ls -l, the shell checks if the command is an alias, if it is it will be replaced by the value it has. If it is not an alias it checks if the file is not built-in. If it is an alias it is assumed to be the name of an executable file. The shell search the program list a file called <strong>ls </strong>from the shell. The variable $PATH contains a list of directories to be explored when a request is submitted. If the file cannot be found in PATH directories the shell displays the message: “can’t find command”.</p><p><strong>3-terminate: </strong>When the ls -l<strong> </strong>command successfully executed, the shell shutdown, frees memory allocated, and exits.</p><p><strong>Sources:</strong></p><p><a href="https://brennan.io/2015/01/16/write-a-shell-in-c/">https://brennan.io/2015/01/16/write-a-shell-in-c/</a></p><p><a href="http://linuxcommand.org/lc3_lts0010.php">http://linuxcommand.org/lc3_lts0010.php</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ef6b65e6a3d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When you type gcc main.c]]></title>
            <link>https://medium.com/@jallohsadjo/when-you-type-gcc-main-c-f813dd4097a5?source=rss-21a12225e091------2</link>
            <guid isPermaLink="false">https://medium.com/p/f813dd4097a5</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[AMADOU DIALLO]]></dc:creator>
            <pubDate>Mon, 21 Oct 2019 16:23:00 GMT</pubDate>
            <atom:updated>2019-10-21T16:23:00.797Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*Tj3S4oQW9-gR-OpPCuICPw.jpeg" /></figure><h4>Humans and computers have different languages despite the fact that humans built them. The compiling process has different types of programming languages that are making the transition between both easier. The higher the language the easier humans understand .</h4><p>When you type under <strong>unix </strong>command line <strong>gcc main.c</strong>, the compilation process is initiated . First the file main.c (source file) will be read by the command gcc to browse its content (execute it). The c instructions in that file will be processed.</p><p>1-The preprocessor analyses the statements before the C program. It gives the ability to include the header files, macro expansions, conditional compilations.</p><p>2-A <strong>compiler</strong> analyses the program written in a particular computer language then translate it in a form that will be executable on the user’s computer system.From a technical standpoint the compiler checks for errors and then continues translating into assembly language.</p><p>3-The program is then translated to an equivalent <strong>assembly</strong> language and then to a machine language, the libraries are available</p><p>4-This process from compiling to linking is called <strong>building</strong>. The extension of a built file in window is .exe</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f813dd4097a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[C static libraries]]></title>
            <link>https://medium.com/@jallohsadjo/c-static-libraries-1d45bce17d7a?source=rss-21a12225e091------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d45bce17d7a</guid>
            <dc:creator><![CDATA[AMADOU DIALLO]]></dc:creator>
            <pubDate>Sun, 07 Oct 2018 21:42:14 GMT</pubDate>
            <atom:updated>2018-10-07T21:51:30.667Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>….Member the C compilation process??</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*Tj3S4oQW9-gR-OpPCuICPw.jpeg" /></figure><ul><li><strong>Why use libraries:</strong></li></ul><p>The main purpose of library usage is that they contain definition of functions that are often used in different sections of a project to help the programmer save time and reduce the bugs in the work. These files are examples of libraries: <strong>libc.a</strong>, <strong>libm.dll</strong>, <strong>libman.lib</strong>, <strong>libman.so</strong> etc. There are two main types of Libraries:</p><p>1-Static that is this form : <strong>lib*** .a</strong> (for linux), <strong>lib***.lib</strong> (for windows)</p><p>2-Dynamic that is this syntax: <strong>lib***.so</strong> (for linux), <strong>lib***.dll</strong> (for windows)</p><p>Libraries are stored in a file that can be invoked(simultaneously or not) in different parts of a program or project.</p><ul><li><strong>How doe a static library work?</strong></li></ul><p>After running a c file we get an object file that is a binary file (0 and 1) that contains the functions called in the c program files. See the image below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9GGTHNs_q4GUeuu_T3gXoQ.jpeg" /></figure><p>That binary file of extension <strong>.exe</strong> (in windows) and <strong>a.out</strong> (in linux)that are generated will change only if we update the static library and recompile it. The new generated executable file contains the updates of the library. Every-time we run it we are using the same function which is in our disadvantage. That <strong>recompilation</strong> constraint is the difference between the static and dynamic libraries.</p><ul><li><strong>How to create them:</strong></li></ul><p>To create a library we should first use the command <strong>gcc -c prog1.c -o prog1.o </strong>to create an object file: <strong>prog1.o</strong> for the c file <strong>prog1.c</strong> containing functions other than the main function in order to be able to use those functions in the main function.</p><p>Then we should use the command <strong>ar </strong>and the option<strong> r </strong>to insert new files in the library if they were previous file with the same name and then use the <strong>v</strong> option to print the name of the inserted files after the name of the library <strong><em>libsam.a.</em></strong></p><p><strong><em>ar -rv libsam.a prog1.o</em></strong></p><ul><li><strong>How to use them:</strong></li></ul><p>To compile a source file <strong>prog.c </strong>calling a library <strong>lib***</strong> from the path, <strong>path1</strong> we use the command as follows:</p><p><strong><em>gcc prog.c -Lpath1 -lib*** -o prog</em></strong></p><p>To view the full content of the library we need to add the option <strong>-t.</strong></p><p><strong>ar -t libsam.a</strong></p><p>To view the symbols in our library we use the command <strong>nm </strong>followed by the name of the library</p><p><strong>nm libsam.a</strong></p><h3><strong>The end.</strong></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d45bce17d7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My name is Amadou Diallo and I’m originally from Guinea.]]></title>
            <link>https://medium.com/@jallohsadjo/my-name-is-amadou-diallo-and-im-originally-from-guinea-4f76413907b7?source=rss-21a12225e091------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f76413907b7</guid>
            <category><![CDATA[going-to-holberton]]></category>
            <dc:creator><![CDATA[AMADOU DIALLO]]></dc:creator>
            <pubDate>Sat, 12 May 2018 18:44:40 GMT</pubDate>
            <atom:updated>2018-05-12T18:44:40.861Z</atom:updated>
            <content:encoded><![CDATA[<p>My name is Amadou Diallo and I’m originally from Guinea. My passion for problem-solving dates from my childhood, which is why I spent part of my early years building a variety of machines using LEGO toys. When I got older I also created mechanical fans and LEDs with dynamos, wires, batteries, and bulbs. In this way I frequently made myself valuable to my family. They loved the fact that I was mechanically inclined and could solve common household problems with my inventions.</p><p>I’m proud of the fact that my father used to call me “inventor” and “engineer” because of the way I kept building things around the house for my family. As a reward and motivation, he bought me a VTECH computer when he came back from a business trip to Switzerland. This opened a whole new world for me.</p><p>I began performing different math exercises with the VTECH, and this activity made me very curious how a computer is built. I started opening it using a set of small screwdrivers so that I could explore the inside architecture, but even this wasn’t enough to satisfy my curiosity. At this point I borrowed computer books from the library and read everything I could find about computers and software.</p><p>My lack of financial resources and the scarcity of advanced technical literature in Guinea made my progress slow but did not discourage me from my ultimate goals. I continued my studies in high school. After graduation I was fortunate to have the opportunity to study computer networking, which made me realize that I was passionate about software engineering. Within a short time I knew that I wanted to specialize in this field.</p><p>Because of my interest in a computer career, I moved to the United States in 2015. I attended CUNY hackathons for the first time in 2018 and I loved it. I had a great experience talking with coders from IBM, Google, and Apple. I was also exited to learn about various new programming languages, such as Python and Ruby, which made me keen to know more about them. I also read a lot of articles to learn more about software engineering jobs.</p><p>I want to attend Holberton School because I consider it a topnotch institution for software engineering. I know that technology is growing at an exponential rate, and what I learn at Holberton will make me part of a highly skilled workforce.</p><p>Self-centered learning with hands-on-tools has always been the best method for me to understand key concepts and become an expert in the engineering world; that is the core principle of learning at Holberton School. During my work experience as tech support in a mining company in Guinea, I always focused on problem-solving approaches to troubleshoot any type of system. I succeeded in gradually learning new skills on the job. I would like to continue this style of hands-on learning at Holberton School.</p><p>I’ve been told by both employers and teachers that I’m a people person, and that I possess strong creative and leadership skills. I expect to rely on these skills as a software engineer. These traits can positively impact and significantly help the companies I hope to be working for in the near future. Even in college I have enjoyed leading small groups both in class and in my extracurricular activities. It should come as no surprise that I consistently put an emphasis on teamwork, which can guarantee more productivity in academic, business, and commercial environments.</p><p>I’m convinced that at Holberton School I will learn “how to learn” to solve the engineering challenges I am enthusiastic to take on. Full stack software engineering, which I eagerly expect to learn from Holberton School, is a collaborative work to design, write, test, implement, maintain, and secure computer programs from front to backend. Holberton School is an outstanding intuitive learning platform, and I believe it will challenge me and equip me as a skilled engineer. Also, the school’s peer and project-based learning is exactly the type of methodology I would like to engage in. I am ready to go in the direction of making the world a better place, and I’m confident that Holberton School is the right place to make that happen.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f76413907b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>