Linux Learning blog
Back to Blog

Linux Learning blog

4 min read
By Tanish Bhandari

How a hipster Mac user got humbled in the library by an Arch Linux user

I am someone who was introduced to linux operating systems when i was a fresher in college

Now fortunately but at that time unfortunately my first computer was a Mac and i was lost

Didnt even knew how to install anything except a browser as it was a straightforward dmg installation. One day i was trying to configure dev env for c so that i can start my prog journey and i failed miserably . I wasnt even able to do it after step by step following the yt videos.

i was doing all this in library and gave up and opened online compiler , a tech genius of my class saw me and asked "why are you writing C on an online compiler when you have a mac already"

i was shocked not because i was doing what he said but i was shocked that why does he think that i am doing it wrong ? i mean the code i write in online compilers used to run fine so what's the problem?

He looked at me like i looked people who were new to badmintion when i was a state player

He took my mac from me , opened a black screen and started typing something , after about 10 mins he handed me over my laptop and told me to verify whether things are working fine in vs code?

At that time i was on top of the world as successfully setting up vs code was the biggest task one could have achieved among freshers. At that time i asked him how do you know all this? He smiled and replied "I USE ARCH BTW" i being the hipster i am asked whats that now?

That was my first introduction to linux, no not arch but linux yes i learned that both are different things , arch is a distro and linux is the underlying kernel on top of which it's built.

Now i had a spare laptop lying around my home , drained of hope as it had very weak configs and was too weak to run windows so he suggested me to put linux on it.

That curiosity sparked something in me from being a complete noob in tech to configuring my PDE , Window manager(aerospace) , terminals , fonts i got too much excited and this excitement didnt died

Now that you know my background , currently i am in my final year and decided to pick devops as my niche i again went to the roots (LINUX)

Mischa van den burg posted a video on yt and said i offer a free linux course so i jumped straight in , today my day 1 of linux ends

Learning 1

Let me dive straight into what i learned , this is me telling only the new things i learnt

Bash
cd -

This command is like alt - tab it allows you to work back and forth in 2 directories

Learning 2

Always use man pages and utilities like find , grep and tree they make you look smarter ha ha sorry they make you faster on the cli

Bash
find /location -name"*.txt"

find . -name "*.txt"

find /var -type d -name "log"

find /var/log -size +10M

Learning 3

Bash
cat <file_name>

Cat command is not useful when it comes to having large files ,

Bash
less 

less command is actually more useful as it has pagination so that you can scroll through the output and search for keywords

Learning 4

Linux although offers very less hand-holding it wont ask you do you really wanna delete this file it just executes so to save you from that u can use a flag for confirmation

Bash
mv -i <>

I conclude my blog here hopefully it helped you learn something new , keep coming back for new blogs bye bye by Tanish Bhandari Devops Engg


T
Tanish Bhandari
DevSecOps Engineer • FieldCISOAdvisoryServices