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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. Xine Multimedia Software – Play audio and video files in Ubuntu Linux
  2. How to Stop Audit Log Entries Written to System Logs in CentOS/RHEL 6
  3. login Command Examples in Linux
  4. CentOS / RHEL : How To Check FC Brocade HBA Firmware
  5. logname Command Examples in Linux
  6. Permission Table for a File/Directory And File System Users Types
  7. locale-gen: command not found
  8. Linux OS Service ‘anacron’
  9. logrotate Command Examples in Linux
  10. pacman –sync Command Examples

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright