Skip to content
The Unix Tips
cat /vishal/brain > theunixtips.com
  • About
  • Contact Me

Tag: filename

Perl

perl : Extract filename from full path

Posted on May 26, 2010 by Vishal Jain

Use substr and rindex to extract the name of file from full pathname. Or use basename provided by File::Basename.

Bash/Unix Admin

bash : brace expansion for automatic substitution

Posted on April 21, 2010 by Vishal Jain

Bash expands a list of strings separated by commas with in braces to a list of strings separated by spaces. This can be used to process files without whole lot ...

Recent Posts

  • OTTO – Automate C/C++ CMake for Large Repositories
  • How to persist iptables settings on debian
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • HP Spectre x360 convertible and Linux
  • HOWTO Develop Apache Module in C++

Top Posts

  • xming : Client 4 rejected from IP
  • perl : Extract filename from full path
  • bash : Self redirect of Script's output to a file
  • VirtualBox : Use Raw Disk to load Windows under Linux
  • perl : find if IP address is in Network range
  • mimikatz : Export non-exporteable Private certificate from Symantec PKI
  • Create Post Excerpt Intelligently in Jekyll
  • HP Spectre x360 convertible and Linux
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • How to find number of CPUs on unix system

Recent Posts

  • OTTO – Automate C/C++ CMake for Large Repositories
  • How to persist iptables settings on debian
  • How to Change Console Fonts In Ubuntu for 4K Screen
  • HP Spectre x360 convertible and Linux
  • HOWTO Develop Apache Module in C++

Follow Me

  • LinkedIn
  • GitHub
© 2021 The Unix Tips
Powered by WordPress | Theme: Graphy by Themegraphy