Modern command line(for Ubuntu 22.04)

   Á¶È¸ 12935   Ãßõ 0    

http://www.aiocp.co.kr (4656)
https://www.ehostidc.co.kr/cscenter/consulting.php (3719)

현재 많이 사용되고 있는 CLI 명령어들은 작성된 시점이 오래되어 현재 환경에서 사용하기가 불편한점이 있습니다

이를 대체하기 위한 새로운 CLI명령어들 중 몇가지만 간략하게 소개합니다

1)  cat 명령어의 대체 명령어 - bat

기존 명령어(cat)와 비교

root@user:~# apt install bat

root@user:~# batcat /var/log/syslog

  • 우분투 / 데비안 OS는 bat명령어가 아닌 batcat명령어로 실행



2)  ls 명령어의 대체 명령어 - exa

기존 명령어(ls)와 비교

root@user:~# apt install bat

root@user:~# exa -l /var/log/



3)  du 명령어의 대체 명령어 - dust

기존 명령어(du)와 비교

root@user:~# apt install curl

root@user:~# bash -c "$(curl -fsSL https://git.io/JsADh || wget -q https://git.io/JsADh -O -)"

user@user:~$ pacstall -I dust-bin

  • Pacstall은 root 계정으로 사용이 불가능합니다.

root@user:~# dust /var/log/



4)  df 명령어의 대체 duf

기존 명령어(df)와 비교

root@user:~# apt install duf

root@user:~# duf



5)  tree 명령어의 대체 broot

기존 명령어(tree)와 비교

root@user:~# echo "deb [signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian/ bullseye main" | sudo tee /etc/apt/sources.list.d/azlux.list

root@user:~# apt update

root@user:~# apt install broot

root@user:~# broot /var/log/ 또는 br /var/log/





https://www.aiocp.co.kr/ ( 딥러닝,머신러닝 서버 판매 ,컨설팅) https://bigbangcloud.co.kr/ ( GPU 클라우드 서비스) ::: AI 서버의 모든것 ::: 인공지능의 시작~ (주)이호스트ICT


Á¦¸ñPage 6/28
2020-09   11664   µö·¯´×¼­¹ö
2024-09   11673   rpki
2016-06   11719   QS¿ÕÅëŰ¼Õ¡¦
2019-05   11728   eugeneshin
2021-07   11743   µö·¯´×¼­¹ö
2021-09   11758   µö·¯´×¼­¹ö
2016-06   11803   ¹«¾Æ
2016-03   11807   ĵÀ§µå
2019-04   11907   ¸ð½º¿ùµå
2021-08   11910   µö·¯´×¼­¹ö
2022-04   11926   ½ºÄµl¹ÎÇö±â
2021-01   11926   ÀÌÁöÆ÷Åä
2014-05   11951   ÁÖ¿µÁø¿µ¾Æºü
2019-05   11968   Midabo
2024-11   11983   QS¿ÕÅëŰ¼Õ¡¦
2023-12   11984   µö·¯´×¼­¹ö
2014-02   12043   ºü½Ã¿Â
2020-01   12074   »ïÀ°°ø¾ßµå
2020-12   12077   È­Á¤Å¥»ï
2018-12   12159   ȸ¿øK