Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux cat with syntax highlighting

#You can use bat/batcat
# batcat is a cat clone with syntax highlighting and git integration

#Installation
sudo apt install bat

#Using
batcat /the/text-file.txt

#Using alias to cat
alias cat='batcat'
Comment

linux cat with syntax highlighting

alias cat="bat --paging=never -pp --style='plain' --theme=TwoDark $*"
Comment

PREVIOUS NEXT
Code Example
Shell :: view branches not merged with master 
Shell :: terminal mkdir and cd 
Shell :: linux cli chart real time 
Shell :: linux cli chart 
Shell :: git ignore more then 10MB 
Shell :: linux find file 
Shell :: docker based setup 
Shell :: microstack.openstack to openstack 
Shell :: format of functions in bash shell script 
Shell :: stop raid array linux 
Shell :: change permission to connect your SSH instance mac 
Shell :: how to install redux for react native 
Shell :: install scrcpy in ubuntu 
Shell :: configure: error: "curses not found" 
Shell :: create a new repository on the command line github 
Shell :: vscode keyring 
Shell :: xstate install 
Shell :: install jitsi on ubuntu 
Shell :: unrar ubuntu install 
Shell :: how to checkout a remote branch in git 
Shell :: copy file to other location linux terminal 
Shell :: clear git bash command history 
Shell :: append to multiple files bash 
Shell :: git copy changes from one branch to another 
Shell :: shell/bash 
Shell :: terminal theme 
Shell :: spaceship theme zsh 
Shell :: get client secret azure app registration powershell 
Shell :: copying a file from a server to a local folder 
Shell :: windows xp enable remote desktop cmd 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =