
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 …
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 …
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
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 …
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
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 --> …
Idiomatic way of generating a unique filename? - Unix & Linux …
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.$$ …
Usage of dash (-) in place of a filename - Unix & Linux Stack …
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 …
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)
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