Skip to main content

Posts

Featured

Text Editing in Ubuntu Cloud Environment Within a Powershell Environment

Sorry about the headline; it's mostly a bunch of keywords to help it be found when I need it again. The Problem I have an Ubuntu container in a cloud environment managed by Virtuozzo (on Reclaim Cloud). I access it either using the built-in SSH Console or by using ssh within PowerShell. I need to set the crontab, which means I need to use the built-in editor in the Ubuntu environment. The problem is that the Ubuntu has minimal text-editing capabilities, and when I try to edit either way I just get a blank or janky screen in which nothing appears to work. I tried changing the editor using 'select-editor' but it displayed nothing. So I couldn't edit crontab. The Solution Rebuilding terminal editing support in the Ubuntu container. First, logged in as root, I installed vim, using the following commands:     apt-get update     apt-get install vim The first refreshed the apt-get function, and the second does the actual install. Instructions here . Then, I ran select-editor:

Latest posts

Accessing Reclaim Cloud Containers by SSH and SFTP using Public and Private Keys

On the Sentiment of Rationality

21 Answers