mintCast 247 – Segments?
247]
News:
- Google beats Oracle—Android makes “fair use” of Java APIs (http://arstechnica.com/tech-policy/2016/05/google-wins-trial-against-oracle-as-jury-finds-android-is-fair-use/)
- Oracle attorney says Google’s court victory might kill the GPL (http://arstechnica.com/tech-policy/2016/05/op-ed-oracle-attorney-says-googles-court-victory-might-kill-the-gpl/)
- Torvalds unhappy with sloppy Unix Millennium Bug patches for Linux kernel (http://www.neowin.net/news/torvalds-unhappy-with-sloppy-unix-millennium-bug-patches-for-linux-kernel)
- 10 more pointless (but awesome) Linux terminal tricks – Bryan Lunduke (http://www.networkworld.com/article/3072648/linux/10-more-pointless-but-awesome-linux-terminal-tricks.html)
Main Topic: Segments?!
- We have put together a couple of new segments called “Toe the Line” and Wazzup!”. Leave a comment or send us an email to let us know what you think about them.
- In “Toe the Line”, Rob talks about the power of the “date” command.
- In “Wazzup!”, Rob talks about recent updates to Linux Mint.
Tips & Websites:
- Isaac read Losing the Signal: The Untold Story Behind the Extraordinary Rise and Spectacular Fall of BlackBerry
- Reglue
- We been getting emails and comments for Patreon and what not, but if you are really wishing you could contribute to MintCast then just redirect that love and money to Reglue.
Pre-Show Music:
- “Yesterday’s Conversation” by Angus Wallace
- “The Red Stone” by Ground & Leaves
Podcast Announcements:
- SouthEast LinuxFest 2016 – June 10-12, 2016, Sheraton Charlotte Airport, Charlotte, NC
- 2016 Ohio LinuxFest October 7-8, 2016
- Texas Linux Fest 2016 – July 8-9, 2016, Austin Convention Center, Austin, TX
- FOSS TALK LIVE 2016 – August 6, 2016, The Harrison, London, UK
- Sold out, but no reason you can’t go to the pub they will be at and have a beer and talk with other FOSS lovers
- List of conferences according to the Linux Foundation
More Information:
Hosts: Rob, Scott, Joe and Isaac
Live Stream every other Sunday 2:00 p.m.(Central): mintcast.org/livestream
Contact Us:
- Forum: forums.linuxmint.com (rarely)
- Email: [email protected]
- Twitter: @mintCast @3dbeef @txhawkins @JoeRessington @stupidcoder @Linux_Mint
- IRC: irc.spotchat.org – #mintcast
- Google+: mintCast
More Linux Mint info: website, blog, forums, community
Credits:
Podcast Entry and exit music provided by Mark Blasco (podcastthemes.com). Podcast bumpers provided by Oscar.
Podcast: Play in new window | Download
Subscribe: RSS
I found an extremely useful command for date. You know when you fill out a stupid $20 mail-in rebate by snail mail and they tell you that you’ll get the rebate in “200 days time”? “date -d “200 days””[enter] -> “Sat Dec 17,” then say, “that’s amazing and very intuitive,” proceed to open up Thunderbird’s Lightning calendar, and set an appointment for 17 Dec and forget about it until such reminder alerts you when your check is due in the mail. That totally beats what I’ve previously done — going to wolfram alpha and input “today + 200 days”. Very nice.
-Keyboard shortcut for terminal is ctrl+alt+t for Mint distro’s.
-64-bit Unix epoch will be: “more than ten times the estimated age of the universe,” although I knew about this when Computerphile made a video on it several years ago: https://youtu.be/QJQ691PTKsA
-In keeping with the unspoken Linux convention of recursive terms, I’d recommend a totally-lame segment called, “segment 2 != segment 1” — also known as “Segment 2NET1”. This segment should cover some more common commands to Linux in general like date, fold, sed (which is absolutely great btw), tail, etc. No need to go particularly diving, just pick out the most intuitive use-cases that you’d use with minimal typing. Very good learning tools.
Ok after listening again, I’m stupid. Instead of 2NET1, how about “Conky of the Week” featuring the latest config from around the web. I hope you guys take this one very deep. Hottest core temp, outside temp, current moon phase with not-stupid-looking moon pics, etc.
I also found out copying quotation marks from that post and pasting them into terminal apparently pastes the wrong quotation marks, they must a different unicode character than what the ” button is on your keyboard. I found out tick marks are better as they act the same way. See if the exact following works in your terminal: date -d ‘200 days’
(the paste shortcut in terminal is: ctrl+shift+v)
Ok, I found copying tick marks from that post also doesn’t work. Just manually type the 2 tick marks using the ‘ key and it should work in terminal.
Are these comments moderated? Or did I not enable sites in noscript?
Yeah, sorry. We moderate the first post by everybody. I hadn’t checked the queue!
What about Commanders of Linux, Commanding Linux or Linux Commanders.
The yes command is not pointless. Like many things in Unix and Linux, it’s designed to assist in automating and scripting. The idea behind yes is to generate continuous output that you can pipe to another command or process. For example, if you need to script a command that asks a lot of interactive questions, and if the answer to those questions is always yes, then you just type “yes | command”. And of course if it’s no or anything else you can pass that as an argument to yes, as mentioned in the slide show[1].
Rob also mentioned visudo, which he figured was useless, since it just appears to open the sudoers file in an editor (usually vi). In reality visudo is very important and on servers I administer, it’s the only way I allowed anyone to edit the sudoers file. The reason is that visudo doesn’t just open the sudoers file in the editor, but when you save and quit, visudo has sudo check the file for syntax errors and if it finds any, it throws you back to the editor to fix those errors. If you were to edit the sudoers file directly, say by doing “sudo vi /etc/sudoers”, and if you make a mistake and save and close the file, sudo will not work at all and on some distributions and OS’s without root passwords such as Ubuntu and OS X, you’ll be locked out of root until you go into single user mode and fix the problem. Ask me how I know this. 😉
[1] I hate slideshows like those on Network World. They are nothing less than shameless attempts to drive up ad revenue.
May have mentioned this before, but Rob and Scott don’t seem to remember that you don’t need to add your username to the sudoers file to use sudo. Distros usually have a group set up for reasonable sudo permissions (fedora = wheel, debian = sudo). You just have to add yourself to that group (using root of course).