---
name: "File::HomeDir::Unix"
section: "3pm"
platform: "linux"
package: "perl-file-homedir"
version: "1.006-8"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/File::HomeDir::Unix"
---

# File::HomeDir::Unix(3pm)

Find your home and other directories on legacy Unix

## NAME

File::HomeDir::Unix - Find your home and other directories on legacy Unix

## SYNOPSIS

```
  use File::HomeDir;

  # Find directories for the current user
  $home    = File::HomeDir->my_home;        # /home/mylogin
  $desktop = File::HomeDir->my_desktop;     # All of these will...
  $docs    = File::HomeDir->my_documents;   # ...default to home...
  $music   = File::HomeDir->my_music;       # ...directory
  $pics    = File::HomeDir->my_pictures;    #
  $videos  = File::HomeDir->my_videos;      #
  $data    = File::HomeDir->my_data;        #
```

## DESCRIPTION

This module provides implementations for determining common user directories.  In normal usage this module will always be used via File::HomeDir.

## SUPPORT

See the support section the main File::HomeDir module.

## AUTHORS

Adam Kennedy \<adamk@cpan.org\>

Sean M. Burke \<sburke@cpan.org\>

## SEE ALSO

File::HomeDir, File::HomeDir::Win32 (legacy)

## COPYRIGHT

Copyright 2005 - 2011 Adam Kennedy.

Copyright 2017 - 2020 Jens Rehsack

Some parts copyright 2000 Sean M. Burke.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.
