• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Search

shell

GCP Cloud Shell Format

September 18, 2023

If you are getting funky formatting in GCP Cloud Shell, run this to set the format.

gcloud config set accessibility/screen_reader False

gcloud config set accessibility/screen_reader False

Filed Under: Cloud Tagged With: cloud, format, gcp, set, shell

SSSD Override Shell

July 25, 2021

If you have SSSD running and the default shell is ksh even with the default shell set to bash.

Here’s the fix to override the default shell in /etc/sssd/sssd.conf. Add override_shell.

default_shell = /bin/bash
override_shell = /bin/bash

default_shell = /bin/bash override_shell = /bin/bash

To check which shell you are using.

echo $SHELL
/bin/bash

echo $SHELL /bin/bash

Filed Under: Linux Tagged With: default, override, shell, sssd

GCP Cloud Shell Vim Settings

March 10, 2021

I had an issue with using the backspace in Vim in GCP’s Cloud Shell. Every time I’m in the insert mode and I want to edit using backspace, it doesn’t delete the characters. It shows these characters “^?” instead. Well, it turned out to be a backspace setting that you can set within .vimrc. So, here’s my working setup.

colo desert
syntax on
set backspace=indent,eol,start
set nocompatible

colo desert syntax on set backspace=indent,eol,start set nocompatible

  • The first line uses the desert theme.
  • The second line turns on syntax highlighting. It’s on by default.
  • The third line fixes the backspace issue I mentioned above.

Filed Under: Cloud Tagged With: backspace, cloud, gcp, shell, vim, vimrc

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »
  • Home
  • About
  • Search

Copyright © 2023