• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

unlink: command not found

by admin

The unlink command is similar to the rm command, but can only remove one file at a time and cannot remove directories.

Syntax

The syntax of the unlink command is as follows:

$ unlink filename
$ unlink option

Options

unlink command only has 2 optiosn as follows:

  • –help: Print help information and exit.
  • –version: Print version information and exit.

If you encounter the below error while running the unlink command:

unlink: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
OS X brew install coreutils
Debian apt-get install coreutils
Ubuntu apt-get install coreutils
Alpine apk add coreutils
Arch Linux pacman -S coreutils
Kali Linux apt-get install coreutils
CentOS yum install coreutils
Fedora dnf install coreutils
Raspbian apt-get install coreutils

Filed Under: Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL : Managing password ageing for users using chage (with practical Examples)
  2. CentOS / RHEL : anacron basics (What is anacron and how to configure it)
  3. Rpm: Error While Loading Shared Libraries: Libz.so.1: Cannot Open Shared Object File: No Such File
  4. How to Limit/throttle rsync transfer speed in Linux
  5. tomb Command Examples in Linux
  6. playerctl: command not found
  7. How to resolve the error “-bash: xclock: command not found” in CentOS / RHEL
  8. What are sparse files in Linux
  9. extrace Command Examples in Linux
  10. How To Force User/Group Ownership Of Files On A Samba Share

You May Also Like

Primary Sidebar

Recent Posts

  • “glab repo” Command Examples
  • “glab release” Command Examples
  • “glab pipeline” Command Examples
  • “glab mr” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright