About 743,000 results
Open links in new tab
  1. Which is correct: "Filename", "File Name" or "FileName"?

    Nov 22, 2010 · Filename is in my experience the most common and in my opinion the best looking. File name is also acceptable, but I would only use it rarely, perhaps in a parallel construction such as the …

  2. filename and pathname of a file - Unix & Linux Stack Exchange

    Jul 28, 2014 · The filename tim is itself the name of an entry in the directory whose pathname is /home; this file happens to be a directory. tim.pdf is also a pathname: any filename is a pathname that …

  3. How to use variables in a filename? - Unix & Linux Stack Exchange

    How to use variables in a filename? Ask Question Asked 8 years, 2 months ago Modified 4 years, 4 months ago

  4. Grabbing the extension in a file name - Unix & Linux Stack Exchange

    If the file name is file-1.0.tar.bz2, the extension is bz2. The method you're using to extract the extension (fileext=${filename##*.}) is perfectly valid¹. How do you decide that you want the extension to be …

  5. bash - Extract part of filename? - Unix & Linux Stack Exchange

    Jun 20, 2021 · Extract part of filename? Ask Question Asked 4 years, 6 months ago Modified 3 months ago

  6. Where are filenames stored on a filesystem?

    Jun 2, 2015 · 6 Filenames are stored in the directory data structures, which have the filename (a string) and the corresponding inode number. directory is responsible for mapping filename --> inode. and …

  7. Idiomatic way of generating a unique filename? - Unix & Linux Stack ...

    Apr 27, 2025 · 3 The true idomatic way (in Unix) to generate a unique temporary filename is to use the current process ID to form the name. For example in a shell script: touch tmpfile.$$ There can only …

  8. Usage of dash (-) in place of a filename - Unix & Linux Stack Exchange

    For a command, if using - as an argument in place of a file name will mean STDIN or STDOUT. But in this example, it creates a file with the name -: echo hello > - How can I make - in this example

  9. Remove file path and extension, and just leaving the file name

    Nov 3, 2020 · 6 This question already has answers here: How to get only filename using sed (5 answers)

  10. Unzipping a batch of files - Unix & Linux Stack Exchange

    When I try unzip filename.zip it works. However, I need to unzip a series of zip files. Why are: find . -name "*.zip" -print0 | xargs -0 unzip or ls *.zip | xargs unzip not working? In both