[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
There are people on /g/ RIGHT NOW who use Linux and act smug
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 34
Thread images: 9
File: smilee.jpg (26 KB, 245x241) Image search: [Google]
smilee.jpg
26 KB, 245x241
There are people on /g/ RIGHT NOW who use Linux and act smug about it, but have never written a single shell script
>>
File: 1457260501647.jpg (56 KB, 485x459) Image search: [Google]
1457260501647.jpg
56 KB, 485x459
I don't use Linux and act smug about it.
>>
File: 1463128550173.png (699 KB, 622x570) Image search: [Google]
1463128550173.png
699 KB, 622x570
>>54555820
>There are people on /g/ RIGHT NOW who use Linux
>>
File: 1453391034414.gif (2 MB, 500x281) Image search: [Google]
1453391034414.gif
2 MB, 500x281
>>54555820
>There are people on /g/ RIGHT NOW who use Windows and act smug about it, but have never written a single powershell script
>>
>there are people on /g/ that need to write complete scripts instead of one-liners

You're doing unix wrong.
>>
>>54555869
a single for loop broken by semicolons is still a script
>>
>>54555869
>>there are people on /g/ that need to constantly write one-liners instead of scripts

Why don't you just use Windows since you love doing everything manually?
>>
>>54555820
Can't blame them. Sh is a terrible language.

You can script linux in python. You can even write sysV-compatible init scripts in python. There's no reason to use sh anymore now that we have real languages like python and perl.

>muh POSIX
irrelevant, there are only four major unices left and they all have python2 and perl 4.
>>
>>54555922
When I say one-liner, I'm excluding semi colons, and logical operators || and &&

>>54555927
>being unable to do complex operations in a single line

Why don't you just use Windows if unix is too hard for you ?
>>
File: 1456028721187.png (49 KB, 164x289) Image search: [Google]
1456028721187.png
49 KB, 164x289
>>54555820
Good thing I have written a single shell script. Now I can be all smug about using Linux.
>>
>>54555938
What you're describing is a brutal affront to the way sh was designed. Go use perl.
>>
>>54555820
I added screenfetch to my .bashrc I can be smug now :^)
>>
i use stock ubuntu so i can ridicule wangblowz fags, who gives a fuck about that scripting nerdshit?
>>
I think some of you are missing the point of this thread. It's not that sh is good or bad, or whether or not you should use it instead of python. It's just generally considered one of the simplest things one can do in Linux, yet there's people on /g/ - Technology who can't even do that.
>>
File: anime reaction image.png (340 KB, 398x582) Image search: [Google]
anime reaction image.png
340 KB, 398x582
>mfw i have written not one but two shell scripts
>>
>>54555983
>using the smiley with a carat nose
>>
>>54556045
>Not avoiding sh on purpose
>>
I wrote a script to alert me when certain words are posted on /g/ and other boards. Sort of like an rss feed from scratch
>>
>>54556246
You should write one that beeps whenever it encounters "pajeet" or "rajeesh"

Just for laffs
>>
File: devilish.gif (2 MB, 425x481) Image search: [Google]
devilish.gif
2 MB, 425x481
I don't need to write scripts when I can just knick the ones that people have already made.
>>
>>54555929
>There's no reason to use sh anymore now that we have real languages like python and perl.
>now
like it hasn't been there for a decade
>>
>writing shell scripts when python exists
>>
>>54555820
Yesterday I've changed panel opacity in Gnome Shell script. Your statement is invalid.
>>
File: 1439648511159.jpg (116 KB, 469x469) Image search: [Google]
1439648511159.jpg
116 KB, 469x469
>tfw writing shell scripts to automate all of my animu downloading and sorting
>>
There are people on /g/ RIGHT NOW who give a fuck about other's choces and act smug about it, but they don't kill themselves already
>>
>>54555865
B-But muh game, muh game mothafuka
>>
>>54555820
I still don't get what is a shell and I've been using linux to lean C, python and Haskell for 2 years.

Am I missing something?
>>
>>54560284
>what is a shell
The command interpreter that you use in a terminal.
You're more than likely using Bash.
>>
>>54555929
It depends on what you're doing. For small stuff, shell is far more suitable. When your script though gets to 1k lines, it will have been better to use Python or Perl.
>>
>>54559126
what most people here use scripts for
>>
Linux is about freedom, not about smugness.
The smugness comes with the freedom.
>>
File: 1462476328917.gif (1 MB, 234x280) Image search: [Google]
1462476328917.gif
1 MB, 234x280
>>54560305
Ah I have been using it without knowing then, why linux has so many words chill out buddy wew
>>
>>54555820
There are people on /g/ RIGHT NOW who start threads about those who use Linux and act smug about it, but have never written a single shell script
>>
Only wrote it to rename 1.jpg 2.jpg ....jpg into 001.jpg 002.jpg ....jpg since feh is too dumb to know how to count
Thread replies: 34
Thread images: 9

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.