Skip to content

NetworkHunt

  • EVE-NG
  • How to
    • Linux
      • Debian
      • Kali Linux
      • Ubuntu
    • Eve-ng
  • Interview Questions
  • EVE-NG
  • How to
    • Linux
      • Debian
      • Kali Linux
      • Ubuntu
    • Eve-ng
  • Interview Questions
  • EVE-NG
  • How to
    • Linux
      • Debian
      • Kali Linux
      • Ubuntu
    • Eve-ng
  • Interview Questions

dirname

How to find full path to a file in Linux

How to find full path to a file in Linux

There are several methods to find the full path of a file in Linux, ranging from using simple commands like readlink and realpath to more advanced approaches involving shell scripts and the find command. Table …

Read more

Categories How to, Linux, Networkhunt

Table of Contents
  • Method-1: Using readlink command
  • Method-2 Using realpath command
  • Method-3 (Using dirname command)
  • Method-4 Using a shell script
  • Method-5 Using the find command
  • Method-6 Using ls command

© 2021 Networkhunt.com