Make Vi Work on IBM i

Make Vi Work on IBM i

Have you SSHed into your IBM i and tried to edit a file with vi only to be greeted with this? The default TERM for IBM i is currently set to xterm-256color. You can test this by typing echo $TERM: Solution To fix this, simply define your terminal to the proper value, usually just xterm.…

Yum for IBM i

Yum for IBM i

The IBM i finally has Yum! So what is Yum? It’s a Package Manager for RPMs! So what are RPMs? Why should we start using Yum instead of 5733-OPS? I’ll cover these questions and more in this article. What is Yum? No more PTFs? Yum is an automatic updater and package installer/remover for rpm systems.…

Writing Helpful BASH Scripts for IBM i

Writing Helpful BASH Scripts for IBM i

I feel like BASH is sometimes an overlooked tool these days. Writing scripts is simple, and a script can create efficient command line interfaces to achieve tasks that would normally take a lot longer. A great example of this is starting, stopping, and restarting Apache on the IBM i. For those of us not accustomed…

Pretty BASH Configuration with IBM i Helpers

Pretty BASH Configuration with IBM i Helpers

Making BASH Your Default Shell There are (at least) a couple of different ways to achieve having BASH on login. sshd_config – Globally (not recommended) This will make it so anyone that SSHs in will have BASH at login. More information can be found here Editsshd_config (usually found at/QOpenSys/QIBM/UserData/SC1/OpenSSH/etc/sshd_config) to have the following: # $OpenBSD: sshd_config,v…