![Forrest logo](/images/logo.png)
ipfs:tldr:07ed7
The command "ipfs pin ls" is used to list all the hash IDs of files or directories that are currently pinned in the IPFS (InterPlanetary File System) node.
In IPFS, pinning is a concept used to ensure that certain content remains available in the local IPFS node, even if it is not being actively used. Pinning prevents the garbage collector of IPFS from automatically deleting the data from the local node.
When you execute the command "ipfs pin ls", it queries the IPFS node and provides a list of all the pinned content. This list includes the hash IDs of the pinned files or directories, which uniquely identify them on the IPFS network.
By using this command, you can check which content is currently pinned on your IPFS node and ensure that it is persistently stored and accessible.