← Home ← Back to /g/

Thread 105810659

23 posts 12 images /g/
Anonymous No.105810659 [Report] >>105810710 >>105812404 >>105812839 >>105813419
>be me
>decide to actually learn the CLI like a real unix enjoyer
>make a daily routine so I stop coping and start leveling up

=== daily routine (5–10 mins max) ===

[monday]
>cd around using tab completion
>ls, tree, or ncdu to inspect your kingdom
>bat ~/.bashrc like a warlock reading runes

>tldr a random command
>grep something in your notes folder
>play with >, >>, 2>, | — redirect like a sigma

[tuesday]
>man some command you use often but don’t actually understand
>echo $(date) just to flex command substitution
>find + xargs to move/delete/count stuff

>rsync a folder with --dry-run
>open a file in vim and make 1 edit, quit without screaming

[wednesday]
>du -h or ncdu to see what’s eating disk space
>curl or wget something (maybe another PDF to the collection)
>use fzf to find and open a random file

>grep -r something dumb like "password" just to feel powerful

[thursday]
>practice piping commands together like a real user
>man find, then use it with xargs to delete logs or junk
>cat + less + tail/head practice

>edit ~/cli-notes.md with 1 new command you learned

[friday]
>reload your shell config with . ~/.bashrc
>echo $PATH and try to actually understand it
>try brace expansion: touch file{1..5}.txt or similar

>try a new alias or small bash function

[saturday]
>write a basic script: backup, rename files, whatever
>run it. break it. fix it.
>add it to ~/bin or /usr/local/bin like a boss

[sunday]
>free day
>review cli-notes.md
>clean your home dir
>rm some crap
>reflect on your progress
>install a new CLI tool you haven’t tried yet

=== rules ===
>no pressure
>just do the reps
>you don't need to memorize everything
>you just need to show up

“Use it until it’s boring. Then it’s yours.”
Anonymous No.105810710 [Report] >>105810839 >>105811462
>>105810659 (OP)
based, this is how you do it
echo "a well_done c" | cut -f 2 -d ' ' | sed 's/_/ /g'
Anonymous No.105810839 [Report] >>105810974 >>105812612
>>105810710
thx anon now i have a virus
Anonymous No.105810974 [Report]
>>105810839
a positive self-esteem virus
Anonymous No.105811462 [Report] >>105811489 >>105812098 >>105812751 >>105812778
>>105810710
>freetards really have to open 3 different processes just to perform elementary text manipulation
KEK
Anonymous No.105811489 [Report]
>>105811462
>elementary text manipulation
>outputs "well_done"
well done
Anonymous No.105812098 [Report]
>>105811462
Please, Rajesh, this is a friendly thread.
Anonymous No.105812404 [Report] >>105812648
>>105810659 (OP)
and yet you're still a frogposter
Anonymous No.105812612 [Report]
>>105810839
>Thought for 25 seconds
Is this Deepseek?
Anonymous No.105812648 [Report]
>>105812404
I can only focus on one deficit at a time, anon
Anonymous No.105812751 [Report]
>>105811462
>well_done
Impressive.
Anonymous No.105812778 [Report] >>105815855
>>105811462
>3 different processes
echo is built in to every modern shell, so it's 2 processes.
Anonymous No.105812804 [Report] >>105812865
You guys actually "learn" how to use the shell? If you're making a curriculum like this, doesn't that mean you already know how to use it? Why not just learn when you need to do something new?
Anonymous No.105812821 [Report] >>105813050 >>105813059
I just play over the wire
Anonymous No.105812839 [Report] >>105813050
>>105810659 (OP)
Anonymous No.105812865 [Report] >>105813050
>>105812804
>Why not just learn when you need to do something new?
Judging by what we see here at /g/ headquarters, not enough anons do learn it when they need to do something new. And you never really "learn" it anyways, you just grow to understand how to chain stuff together and chip away at one-off solutions. So OP is doing himself a great favor by doing what he's doing, because that's how people used to learn it, by fucking around with stuff for some amount of time per day, usually boredom. Eventually you'll come up with useful scripts and that's comfy.
Anonymous No.105813050 [Report] >>105813059
>>105812821
This is a good idea, I forgot about this. Thanks.

>>105812839
Anime is gay

>>105812865
Based rational and positive poster
Anonymous No.105813059 [Report]
>>105812821
>>105813050

By the way are there any other beginner level war games like over the wire?
Anonymous No.105813419 [Report]
>>105810659 (OP)
thanks anon, i didn't know about ncdu
Anonymous No.105813452 [Report]
df -h to check various mounts for free space/used space
also sed -i 's/old_text/new_text/g' filename is nice for replacing shit in text/config files.
Anonymous No.105814723 [Report] >>105814736
These people DRINK URINE, and EAT FECES
Anonymous No.105814736 [Report]
>>105814723
Oops, I thought I was in the Indian thread
Anonymous No.105815855 [Report]
>>105812778
a terminal is anything but a "modern shell"