Table of Contents
- The Teleport command
- Teleport command help
- For basic use, tp is just like cd
- Basic teleporting
- Listing your teleport history
- Teleport by number
- Bash completion with Teleport
- Teleport aliases
- Adding/creating a teleport alias
- Using a teleport alias
- Listing your teleport aliases
- Removing an alias
- Teleport command - summary
- Teleport command - download
Summary: By keeping a history of the directories you've visited, the Teleport command is an improvement on the Unix/Linux
cd command. By having a memory, Teleport lets you jump from one directory to any previously visited directory, easily.
January, 2015 Update: The Teleport command now supports Bash completion. For more details on this, see the Github INSTALL.md file.
Table of Contents
- New Linode Server
- Update Everything
- Ubuntu Firewall
- Add a New User
- Disabling Root Login
- Limit Login Attempts
- Install Nginx
- Adjust Firewall
- Nginx Configuration
- NOT what I used: Let’s Encrypt on Ubuntu 16.04
- (1) Create a cert (openssl)
- (2) Create a strong Diffie-Hellman group
- (3) Configure Nginx to Use SSL
- Adjust the Nginx Configuration to Use SSL
- (Alternative Configuration) Allow Both HTTP and HTTPS Traffic
- Adjust the Firewall
- Enable the Changes in Nginx
- Test in Browser
- Nginx "default_server"
- Can change to a permanent redirect (301)
- More Security: Preventing Information Disclosure
- More Security: Fail2Ban
- Restricting Access by IP Address
- See also
Without any introduction or discussion, here are the notes I made while learning how to get HTTPS working with Nginx. These are just for me, but if something helps you, cool.
I recently “made the switch” from MacOS to Linux Mint, and was lamenting the fact that I didn’t have Alfred on Mint. But then this morning I learned about Cerebro, which, if it’s not Alfred yet, at least it’s Spotlight for Linux. omgubuntu.co.uk has this good intro article on Cerebro.
Cerebro is written as an Electron app, and as a result it’s available not only for Linux, but Windows and MacOS as well.
When I put Linux Mint on a few of my computers recently I quickly encountered the words “suspend” and “hibernate” when attempting to put a laptop to sleep:
“What the heck is the difference between Suspend and Hibernate,” I wondered. “I’m used to just having a ‘Sleep’ option on my MacBook Pro.”
As a quick note, this stackexchange.com page has some good background information on how to install a deb package file from the command line on Debian Linux (which in my case is Ubuntu 16.04). The short answer is that if you have a deb file named google-chrome-stable_current_amd64.deb, you’ll want to run these two commands, one after the other, as shown:
Marius Eriksen has a good article titled Hints for writing Unix tools. Some key points: a) consume input from stdin, produce output to stdout; b) output should be free from headers or other decoration; c) output should be simple to parse and compose. There’s much more to it than that, and it’s a good read (or reminder).
Ubuntu is running great on my old 2008 iMac, but if you’re having Linux performance issues, here’s an ArchLinux page titled “Improving performance.”
This is a link to an article titled, “Optimizing Linux for slow computers.” Note that this article links to this more thorough resource on archlinux.org.
Here are a couple of paragraphs from it:
When tuning a server, you'll really want to tweak for performance and high throughput. That's where most Linux configurations really shine over the competition: they come better tuned to get the most out of server configurations.
Note: I don’t know why, but all of the images for this article have been lost. I’ll replace them when I have some free time (but free time is scarce these days).
There seem to be a few different ways to type “smart quotes” on Ubuntu Linux, including using keys (keystrokes) like AltGr and Compose. In this tutorial I’ll document an approach that works best for me: creating simple macros I can assign to simple keystrokes rather than having to use more-complicated keystrokes.
This is a Bash shell script written for Ubuntu (Linux). I just switched from Mac/MacOS to Ubuntu, and I don't like the default blank screensaver in Ubuntu. I just want a screensaver to rotate my collection of images, so I'm considering using this rather than Xscreensaver. The script comes from jamcnaughton.com.