[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: computerpepe.png (212 KB, 710x842)
212 KB
212 KB PNG
i turned the lyrics of rap god into a shell script so now every word of the song is a command alias

right now the commands are super boring, you just mkdir and cd into the directory whose name is the word of the song.

what are some fun commands for words

like faggot is one of the words, what command should faggot be aliased to
>>
File: fitapu.jpg (94 KB, 750x1000)
94 KB
94 KB JPG
>>107880811
OP here again. i willl attempt to merge my .zsh_history with the script, i was trying to do it with sed, but it said too many arguments when i did for line in "$(cat ~/bashgod)"
>>
File: chinapepe.jpg (143 KB, 1011x1280)
143 KB
143 KB JPG
fuuuuuuuck
>>
>>107880854
whoops meant to use a different pic
>>
>>107880811
hi
>>
>>107880974
hi
>>
>>107880866
>frogposter
>retarded
It checks out

>for line in $(cat...)
You fucked up here. Do cat ... | while read line...
>>
>>107881092
Oh, and if you're trying to modify a file in place, you need to either use sed's -i flag or use the sponge utility or something.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.