• 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

etckeeper Command Examples in Linux

by Deepika

etckeeper is a tool that tracks changes made to the configuration files in the /etc directory using a version control system (VCS) such as Git. It allows you to keep a history of changes made to the configuration files and easily revert to a previous version if necessary. The tool automatically commits changes to the repository on a regular basis, such as when the package manager updates packages, or when the system is shut down. It also includes some additional features such as hooks that can be used to automatically run scripts before or after a commit. By using etckeeper, you can easily track and manage the changes made to your system configuration, making it easier to rollback or understand changes made over time.

etckeeper Command Examples

1. Search the pubmed database for selective serotonin reuptake inhibitor:

# esearch -db pubmed -query "selective serotonin reuptake inhibitor"

2. Search the protein database using a query and regexp:

# esearch -db protein -query 'Escherichia*'

3. Search the nucleotide database for sequences whose metadata contain insulin and rodents:

# esearch -db nuccore -query "insulin [PROT] AND rodents [ORGN]"

4. Display [h]elp:

# esearch -h

Filed Under: Linux

Some more articles you might also be interested in …

  1. blkid: command not found
  2. awk Command Examples in Linux
  3. xargs: command not found
  4. CentOS / RHEL : Resize (reduce) non-root EXT3/4 filesystem on non-LVM device (hard disk partition)
  5. Mac Terminal vi[m] Editor Commands
  6. CentOS / RHEL 7 : How to configure kdump
  7. gradle: command not found
  8. deluser Command Examples in Linux
  9. lvscan Command Examples in Linux
  10. coredumpctl: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • fprintd-delete Command Examples in Linux
  • fprintd-delete: command not found
  • foreman: command not found
  • foreman Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright