当前位置:网站首页>Imgcat usage experience

Imgcat usage experience

2022-07-06 12:04:00 Caojia xiaoyuanbao

imgcat There are many ways of using

  • Can be in python Use in command line ( install pip package , It is omitted here )
  • You can use commands directly , Here is an introduction

When connecting to the server remotely , I didn't root jurisdiction , But you often have to look at the pictures on the server , So choose imgcat.
The installation command is as follows :
First download imgcat file , And give authority

curl "https://iterm2.com/utilities/imgcat" > imgcat
chmod +x imgcat

Add your own... To the environment variable imgcat file location , and source once

vim ~/.bashrc
export PATH = $PATH:/home/yourname/binpath
source .bashrc

So you can use it directly :imgcat xxx.jpg Check the pictures on the terminal

原网站

版权声明
本文为[Caojia xiaoyuanbao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060913306805.html