↓ Skip to Main Content
mickes.info

Main Navigation

  • Home
  • About
mickes.info

Off Canvas Menu

  • Home
  • About

Tag: linux

Create custom fortunes for the fortune command

By Micke Posted on 2019/03/11 Posted in IT Tagged with linux

Open an editor of your choice and add the messages you like to be shown when running the command ‘fortune’. Be sure to add a separate line containing the character % between message. Below is an example I made from …

Create custom fortunes for the fortune command Read more »

Disable ipv6 in Ubuntu 18.04 server

By Micke Posted on 2019/01/07 Posted in IT Tagged with linux, ubuntu

If you want to disable ipv6 in Ubuntu 18.04 server you can do this by editing the file: /etc/default/grub. Add ipv6.disable=1 to the two lines as shown below. After that you need to update grub and reboot the server:

Create or update users in bash

By Micke Posted on 2019/01/04 Posted in IT Tagged with linux, mac

When preparing labs or courses I sometimes need to batch create user accounts. For this I use the command newusers. Since passwords are stored in clear text you might not want to use it in a production environment, but to …

Create or update users in bash Read more »

Mac ssh LC_CTYPE Warning

By Micke Posted on 2016/08/14 Posted in IT Tagged with linux, mac, osx, ssh

When using my MacBook Air to ssh to my linux servers i get the error: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory To get rid of this warning, run sudo vi /etc/ssh/ssh_config and comment …

Mac ssh LC_CTYPE Warning Read more »

Copyright © 2026 mickes.info | Powered by Responsive Theme
Copyright © 2026 mickes.info | Powered by Responsive Theme