~/bGZo/notes

Home

❯

Skills

❯

devops

❯

linux

❯

Command line

❯

cut

Aug 11, 20241 min read

拿到文件的后缀

basename $file | rev | cut -d . -f 1- | rev
via: https://wangchujiang.com/linux-command/c/cut.html

Graph View

Created with Quartz v4.5.1 © 2025

  • About
  • GitHub
  • CC-BY-SA