Search found 79 matches

by wei2912
Mon Jul 01, 2013 9:33 am
Forum: Scripts & Bash
Topic: Write a script to edit a txt file ?
Replies: 14
Views: 4269

Re: Write a script to edit a txt file ?

Hi there, Another option is awk. Then you don't need so many confusing backslashes. Awk splits the input lines into fields. The default field separator is whitespace, but for this file, set it to : Then each line will just have 2 fields, and you just print them in reverse order. (I'm assuming that ...
by wei2912
Mon Jul 01, 2013 9:31 am
Forum: Newbie Questions
Topic: How to install software on Linux Mint
Replies: 137
Views: 311206

Re: How to install software on Linux Mint

You might want to add a mention of aptitude, as well as a short summary of its advantages over apt-get (namely better dependency management i believe) :)

Adding this link to my link directory.
by wei2912
Tue Apr 09, 2013 6:41 am
Forum: Tutorials
Topic: Linux Newbies Link Directory
Replies: 2
Views: 2678

Linux Newbies Link Directory

I haven't been active on the forums recently. Instead I was helping out at the Mint IRC channels and discoverd that I have been looking for the same links over and over again. With this thread, hopefully I can end this cycle :) Feel free to contribute! Introduction to Linux Introduction to Linux: Ch...
by wei2912
Wed Jun 27, 2012 4:12 am
Forum: Scripts & Bash
Topic: Write a script to edit a txt file ?
Replies: 14
Views: 4269

Re: Write a script to edit a txt file ?

Bad_Dream wrote:yayyyyyy thank you vincent your solution worked! tytyty
Willing to give me some trivia questions for my bot's hangman game? :)

Vincent: You did a great job :D i'm not so good at bash and had a bit of trouble writing that script.
by wei2912
Tue Jun 19, 2012 9:43 pm
Forum: Scripts & Bash
Topic: Write a script to edit a txt file ?
Replies: 14
Views: 4269

Re: Write a script to edit a txt file ?

im trying to figure out how to edit trivia questions to change them from one format to another the questions are in this format : spring:What season is the setting for Shakespeare's A Midsummer Nights Dream ? and i need them in this format: What season is the setting for Shakespeare's A Midsummer N...
by wei2912
Tue May 29, 2012 6:16 am
Forum: Installation & Boot
Topic: Install Linux Mint without usb, cd or partitioning?
Replies: 6
Views: 3329

Re: Install Linux Mint without usb, cd or partitioning?

oobetimer wrote:Clustering is the key word.

http://www.stevekelly.eu/cluster.shtml
Good idea, but I don't have any other computer to combine with.
by wei2912
Tue May 29, 2012 6:12 am
Forum: Installation & Boot
Topic: Install Linux Mint without usb, cd or partitioning?
Replies: 6
Views: 3329

Re: Install Linux Mint without usb, cd or partitioning?

Posted my information in the 1st post, sorry for the lack of information.
by wei2912
Mon May 28, 2012 2:20 am
Forum: Cinnamon
Topic: If you had ONE request for the Cinnamon devs what would it b
Replies: 81
Views: 9555

Re: If you had ONE request for the Cinnamon devs what would

I would want the old mint 11 menu to be implemented in cinnamon by default. :) Its currently known as classic menu, but it is only installable through the CInnamon Extras PPA.
by wei2912
Mon May 28, 2012 12:39 am
Forum: Cinnamon
Topic: Mint 13 + indicator-multiload = :(
Replies: 4
Views: 935

Re: Mint 13 + indicator-multiload = :(

I loaded Mint 13 (Cinnamon, classic "two panel" mode) x64 into vbox and, when I installed indicator-multiload, it displayed it -really- small. I added "Memory" and "Network" and it shrunk smaller (cramming it into one “box” or “space” on the panel). Is there a way to adjust this somehow? I’ve not h...
by wei2912
Sun May 27, 2012 6:33 am
Forum: Installation & Boot
Topic: Install Linux Mint without usb, cd or partitioning?
Replies: 6
Views: 3329

Install Linux Mint without usb, cd or partitioning?

All my thumbdrives no longer worked and my computer doesn't have a CD drive. Fortunately there was a Ubuntu LiveUSB thumdrive which I used to partition my hard drive. However after using frugal install in unetbootin and installing Linux Mint on another partition, I screwed up my system. I managed to...
by wei2912
Tue May 22, 2012 8:22 am
Forum: Community Projects
Topic: Linux Mint Wiki
Replies: 29
Views: 17334

Re: Linux Mint Wiki

Maybe we should just start an unofficial one and then if Mint decide they want a Wiki again, it can be handed over to the official site? Edit: done :D https://sites.google.com/site/mintwiki/ Now it only needs contents! Didn't you have one at wikia? Anyway skipping that part, your wiki looks rather ...
by wei2912
Tue May 22, 2012 7:49 am
Forum: Cinnamon
Topic: Human "field guides" for getting at specific bugs?
Replies: 8
Views: 1623

Re: Human "field guides" for getting at specific bugs?

dalcde wrote:I'm saying that many DEVELOPERS probably do not have dual monitor setups, which leads to these bugs not solved.
They probably only require single monitor setups. Its hard to read your code across a high definition monitor, let alone 2 of them.
by wei2912
Tue May 22, 2012 7:38 am
Forum: Chat about Linux
Topic: The current state of Ubuntu 12.04 LTS
Replies: 71
Views: 12402

Re: The current state of Ubuntu 12.04 LTS

Help! I'm becoming an Ubuntu user again, need the support and guidance of the group :D 12.04 with Cinnamon and Gnome Shell is excellent so far and generally suits me better than Mint 13 with Cinnamon. If only you could have the refinement, polish and dev man hours of Ubuntu and the short distance b...
by wei2912
Mon Apr 23, 2012 12:20 am
Forum: Scripts & Bash
Topic: Software Reinstall Script
Replies: 13
Views: 2255

Re: Software Reinstall Script

Lol, no need to look at my script unless you want to. I'm just posting it in case anyone wants it. Of course I want to see your script. :p My only question is, what is the purpose to using sudo on almost every line that requires root privileges? Why can't the users of the script just run the script...
by wei2912
Fri Apr 20, 2012 7:37 am
Forum: Scripts & Bash
Topic: Software Reinstall Script
Replies: 13
Views: 2255

Re: Software Reinstall Script

Sorry, I'll look at your version of the script next week. I'm going to California and leaving at around 6AM today. Sorry. If I get a chance, I'll look at it while I am in California, but, until then, please be patient with me. Feel free to add on to it even further if you come up with more ideas. L...
by wei2912
Thu Apr 19, 2012 7:55 am
Forum: Scripts & Bash
Topic: Software Reinstall Script
Replies: 13
Views: 2255

Re: Software Reinstall Script

Optimization code: echo "Please answer the following questions in order to give you the best experience." echo "If you are unable to answer the questions, press enter for the default (marked by *)." echo "Example: Red, Green,* Yellow (Yellow is the default)" echo "" echo "Press enter to continue." r...
by wei2912
Wed Apr 18, 2012 7:54 am
Forum: Scripts & Bash
Topic: Software Reinstall Script
Replies: 13
Views: 2255

Re: Software Reinstall Script

Ok, so I did some mucking around with it, and here is the result thus far. ## COPYRIGHT ## ## These scripts are registed under the GNU General Public License v3.0. ## ## Copyright (C) 2012 Devon Day ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of ...
by wei2912
Tue Apr 17, 2012 10:55 am
Forum: Scripts & Bash
Topic: Software Reinstall Script
Replies: 13
Views: 2255

Re: Software Reinstall Script

Moved here by moderator I'd make a few changes, to make it do steps without confirmation and to fully remove packages (including now unneeded dependencies). Perhaps include script header that automatically makes the script run from the terminal if not started from there (and it pauses after complet...
by wei2912
Tue Apr 17, 2012 10:37 am
Forum: Scripts & Bash
Topic: I need help with this script
Replies: 8
Views: 1696

Re: I need help with this script

Might be that summation can't handle the fractional part? Test that by printing the value of $average (and shouldn't that be $sum instead :wink:) inside your loop, to see if it gets updated correctly with each iteration of the loop. Lol, thanks for pointing that out. :D Here's my current code: #!/b...
by wei2912
Sun Apr 01, 2012 6:02 am
Forum: Scripts & Bash
Topic: I need help with this script
Replies: 8
Views: 1696

Re: I need help with this script

Okay, so that is the bit inside the for loop needing some work. How about this; #Gets the previous sentence previous=$(grep "^ Timing buffered disk reads:" log.tmp | sed 's/^.* = //' | sed 's/ .*$//') That command finds a line like: Timing buffered disk reads: 574 MB in 3.01 seconds = 190.88 MB/sec...

Go to advanced search