|
Enable/Disable Mac Widgets Bash Script
|
|
02-08-2010, 12:22 PM
(This post was last modified: 02-09-2010 09:38 AM by codecaine.)
Post: #1
|
|||
|
|||
|
Enable/Disable Mac Widgets Bash Script
It is good to disable widgets to save memory if your computer does not have much.
Code: #!/bin/bash |
|||
|
02-08-2010, 11:46 PM
Post: #2
|
|||
|
|||
|
RE: Enable/Disable Mac Widgets Bash Script
I don't use MAC. But in Windows i have a tool for enabling and disabling services.
We attack any new problem we encounter with techniques we already know, and try small modifications if difficulties turn up. Bram Cohen - Bit Torrent Creator |
|||
|
02-09-2010, 08:02 AM
Post: #3
|
|||
|
|||
|
RE: Enable/Disable Mac Widgets Bash Script
what exactly does "fi" do in bash?
"Character is determined more by the lack of certain experiences than by those one has had." Friedrich Nietzsche |
|||
|
02-09-2010, 09:33 AM
(This post was last modified: 02-09-2010 09:40 AM by codecaine.)
Post: #4
|
|||
|
|||
|
RE: Enable/Disable Mac Widgets Bash Script
end a if statement in bash closing statements is the word spelled backwords unless its a loop then you use done. like for a case statement beginning->case end-> esac
I made a correction to my script I had if [ $# > 1 ]; then instead of if [ $# -gt 0 ]; then what my first statement was doing it justing making a file name 1 in the current directory lol |
|||
|
« Next Oldest | Next Newest »
|





