fc

Open the most recent command and edit it. More information: <https://manned.org/fc>.

Install

All systems
curl cmd.cat/fc.sh
Debian Debian
apt-get install f2c
Ubuntu
apt-get install f2c
Alpine
apk add bash
Arch Arch Linux
pacman -S bash
image/svg+xml Kali Linux
apt-get install f2c
CentOS
yum install bash
Fedora
dnf install bash
Windows (WSL2)
sudo apt-get update sudo apt-get install f2c
OS X
brew install bash
Raspbian
apt-get install f2c
Docker
docker run cmd.cat/fc fc powered by Commando

Open the most recent command and edit it. More information: <https://manned.org/fc>.

  • Open in the default system editor:
    fc
  • Specify an editor to open with:
    fc -e 'emacs'
  • List recent commands from history:
    fc -l
  • List recent commands in reverse order:
    fc -l -r
  • List commands in a given interval:
    fc '416' '420'

© tl;dr; authors and contributors