That is the question. Well, not to most people. I have some views on sudo that I think are unusual. I like to pretend that I am ‘anti-sudo’, because I’ve been around since before sudo, and when you wanted to do something as root, you became root, dammit. In reality, I think sudo has three […]
Speaking of vi(m) tips, I’m quite fond of search and replace from within vi. The syntax is very similar to sed’s search and replace, and uses regex the same way. To do a simple replacement of all instances of “snoogins” with “snoochieboochies” you would want to type this while in command mode. :%s/snoogins/snoochieboochies/g Like sed, […]
You do not need to install vim in order to highlight syntax. You can do so with the vi command: :syntax on
The following is how to remove multiple files in a file path without having to use multple commands, or changing directories: rm -f /path/to/files/{file1,file2,file3} Example: rm -f /home/beagles/Pictures/{All.jpg,For.jpg,One.jpg}
Here’s a list of bash commands that even a freakin’ newb knows: ll cd rm -rf / head tail Be sure to try all of these at home because they’re super useful!
Seriously it’s gonna be AWESOME!!!
You have no idea how awesome this is going to be.