• 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

einfo: command not found

by Deepika

The “einfo” command is a tool provided by the NCBI’s Entrez Programming Utilities (E-utilities) that allows users to retrieve information about the databases available through the Entrez system. This includes information such as the number of records indexed in each field of a given database, the date of the last update of the database, and the available links from the database to other Entrez databases. When the einfo command is executed, it returns a summary of the database, including its name, description, number of records, and the date of the last update. Additionally, it provides information about the available fields in the database, such as the name, description, and type of each field.

For example, when you execute the command “einfo -d ” it will return a summary of the specified database, including the number of records in the database, the date of the last update, and links to other Entrez databases that can be queried in conjunction with the specified database. Additionally, the einfo command can be used to retrieve information about the links between different Entrez databases. This can be useful for identifying related databases and for constructing complex queries that combine data from multiple databases. It is important to note that the einfo command must be used in conjunction with the other E-utility commands to retrieve and analyze data from Entrez databases. The einfo command is a read-only command and it can be used to retrieve information about the Entrez databases, but cannot be used to perform any action or modification on the database.

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

einfo: command not found

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

Distribution Command
Debian apt-get install ebook-tools-dbg
Ubuntu apt-get install ncbi-entrez-direct
Alpine apk add openrc
Arch Linux pacman -S ebook-tools
Kali Linux apt-get install openrc
Fedora dnf install ebook-tools
OS X brew install ebook-tools
Raspbian apt-get install openrc

einfo Command Examples

1. Print all database names:

# einfo -dbs

2. Print all information of the protein database in XML format:

# einfo -db protein

3. Print all fields of the nuccore database:

# einfo -db nuccore -fields

4. Print all links of the protein database:

# einfo -db protein -links

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to Manage Oracle database Audit File Directory Growth with cron (ASM Instances Only)
  2. Extend the size of /boot partition on virtualized environment (CentOS/RHEL 6)
  3. poweroff Command Examples in Linux
  4. How to grep with color output
  5. deluser: command not found
  6. How to recreate LVM device files under /dev directory using vgmknodes
  7. How to convert text files to all upper or lower case
  8. How to install and configure “setroubleshootd” on CentOS/RHEL
  9. Understanding chroot Jail
  10. gcov: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • batch: Execute commands at a later time when the system load levels permit
  • bat: Print and concatenate files
  • bastet: Clone of the game Tetris in the terminal
  • bashmarks: Save and jump to commonly used directories using 1 character commands

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright