Zursion Insights
  • Informational
  • Gadgets
  • News
  • Security
  • Tools
No Result
View All Result
Zursion Insights
  • Informational
  • Gadgets
  • News
  • Security
  • Tools
No Result
View All Result
Zursion Logo
No Result
View All Result

How to set nano as editor in Linux terminal

August 17, 2023
in Informational
Reading Time: 2 mins read
A A
Terminal Banner

Terminal Banner

Share on FacebookShare on TwitterShare on LinkedIn
ADVERTISEMENT

Earlier today I’ve been tasked to do something that was long gone on my memory. This is building cron jobs on a CentOS server. Creating cron scripts has been easy since I am only tasked on visiting a specific lnik, and the schedule for cron is made by readily available tools you could find up on the internet.

However, it became time consuming when the default editor is set to vim. Or at least that was vim as far as I know. For a breif moment, I was confused. How to save, how to exit, literaly the whole thing. If I get lost, I just simply close the terminal. Gladly I remembered an editor which was default on another environment I’ve set up before. Here, is where the nano editor comes in.

RelatedPosts

7 Top Selling Antivirus Software in the Philippines on Shopee

ChatGPT Getting Crowded? These 14 AI Alternatives Could Still Help You Out

Is Getting a Second-Hand Gadget from CompAsia Worth the Risk?

Based on its web page, GNU nano is a text editor for Unix-like computing systems or operating environments using a command line interface.

So to swith to nano editor, you could simply do the following in a terminal:

ADVERTISEMENT

export VISUAL=nano;

After setting that, running a crontab -e will automatically open it on a nano editor.

Other sequence could also be through:

export VISUAL=nano; crontab -e

Of course, if you ever need to go back to vim, you could simply set the VISUAL to vim just like this example below:

export VISUAL=vim; crontab -e

It’s not really much but I hope this could be of help to others as well. As ths is something that I did not stumble upon by myself, here is the guide that helped me came through this awesome rediscovery: https://www.garron.me/en/bits/specify-editor-crontab-file.html

Tags: CentOSCRONEditorLinuxNano
ShareTweetShare
ADVERTISEMENT
Previous Post

Asus ROG Phone 7 – Specs and Pricing

Next Post

Game-Changing Announcement: Chromebooks Shift to Decade-Long Updates

Related Posts

No Content Available
Next Post
Chromebook 10 Years

Game-Changing Announcement: Chromebooks Shift to Decade-Long Updates

Windows-8

Microsoft Closes the Door on Free Windows Upgrades for Windows 7/8 Users

Discussion about this post

Signup and Get Informed

Recommended

How to Access your Philippine National ID

How to access your Philippine Digital National ID

June 14, 2024
POCO F5 Pro

POCO F5 Pro Specs and Pricing

June 5, 2023
Cherry Aqua GR Specs and Price in the Philippines

Cherry Aqua GR Specs and Price in the Philippines

April 17, 2024
OPPO Reno 11 Pro 5G

OPPO Reno11 Pro 5G Specs and Price in the Philippines

April 3, 2024

Categories

  • Gadgets
  • Informational
  • News
  • Others
  • Security

Home Grown Tools

Unleash your inner powerhouse! Explore our curated tools to quickly accomplish tasks & elevate your designs.

Code faster, manage time like a pro, & achieve more. Check it at Zursion

Disclaimer

Insights, a cornerstone of Zursion, serves as our dedicated blog platform, providing a comprehensive hub for thought-provoking articles and engaging blog posts. Delving into a diverse array of topics, Insights offers valuable perspectives and insights that empower readers to navigate the complexities of the modern world.

  • Home
  • Tools
  • Contact
  • Privacy Policy

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Informational
  • Gadgets
  • News
  • Security
  • Tools
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.