Hot answers tagged terminal
Your script above is running two different scripts. One is changing the working directory to your user desktop folder (~/Desktop). The other script is downloading www.google.com and putting it in a document in your root directory (/), which doesn't have permissions to do so. You can fix this by reduce it to one statement of do shell script like such: do ...
I currently don't use github for dotfile syncing but I plan to do it. My reasoning is that I would like to have slightly different configs on different machines. To make that possible, you can basically have a master branch, and seperate branches for each device/device group as needed. If you add something new to the master branch, you can merge it with ...
I use GitHub for a few of reasons: It’s where I got the template for a number of dot files I forked my dot files install script from a friend on GitHub It keeps what I use open for others to use I get an “unlimited” history of each file, not just the last 30 days I get to sync to several OSs that don’t Dropbox (e.g. FreeBSD)
This solution works on a single file in Trash or multiple files deleted from within the same directory: If it's not essential for you to use Terminal, you can forget all those bash, zsh, and all other typealot ways to do this. Just navigate to Trash and CMD + Backspace the files you want to put back. If the deleted files come from different folders, then ...
Only top voted, non community-wiki answers of a minimum length are eligible