Fixing Display Settings to 4K for ParrotOS

alt+c in nano will show the line numbers

https://gtfobins.github.io/#vi

Bashrc


To refresh .bashrc to enable any new changes use the following

. ~/.bashrc
 

or

source ~/.bashrc
 

to add a command that will mkdir and cd into add the following into .bashrc

# ~/.bashrc
function mkcd {
  if [ ! -n "$1" ]; then
    echo "Enter a directory name"
  elif [ -d $1 ]; then
    echo "\`$1' already exists"
  else
    mkdir $1 && cd $1
  fi
}

cat -n will add line numbers to cat