---
title: Install shortpwd on Linux | Snap Store
description: Get the latest version of shortpwd for Linux - Prints the current working
  directory trimmed by an ellipsis in the middle.
url: https://snapcraft.io/shortpwd
---

# shortpwd

[Ferdinand Prantl (prantlf)](https://snapcraft.io/publisher/prantlf "View all snaps from Ferdinand Prantl (prantlf)")

* [Ferdinand Prantl (prantlf)](https://snapcraft.io/publisher/prantlf "View all snaps from Ferdinand Prantl (prantlf)")

latest/stable 1.0.3

Install latest/stable of shortpwd

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install shortpwd
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* shortpwd

---

### License

* unset

---

### Last updated

* 20 November 2020 - latest/stable

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/shortpwd#report-snap-modal)

---

* [Description](https://snapcraft.io/shortpwd#tab-description)
* [Security](https://snapcraft.io/shortpwd#tab-security)

#### Prints the current working directory trimmed by an ellipsis in the middle.

Trims the current working directory to a maximum length by putting an ellipsis to the middle of the shortened result. For example:

# cd /home/prantlf/Sources/private/shortpwd
$ shortpwd 5 10
~/Sou...e/shortpwd

---

## Install shortpwd on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/shortpwd/arch)

[### CentOS](https://snapcraft.io/install/shortpwd/centos)

[### Debian](https://snapcraft.io/install/shortpwd/debian)

[### elementary OS](https://snapcraft.io/install/shortpwd/elementary)

[### Fedora](https://snapcraft.io/install/shortpwd/fedora)

[### KDE Neon](https://snapcraft.io/install/shortpwd/kde-neon)

[### Kubuntu](https://snapcraft.io/install/shortpwd/kubuntu)

[### Manjaro](https://snapcraft.io/install/shortpwd/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/shortpwd/pop)

[### openSUSE](https://snapcraft.io/install/shortpwd/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/shortpwd/rhel)

[### Ubuntu](https://snapcraft.io/install/shortpwd/ubuntu)
