A lightweight Linux terminal-based file browser. It is designed to provide simple directory browsing and navigation, and provided file is installed, it can also identify and describe a selected file. It is primarily written for use with SHORK Operating Systems like SHORK 486, designed to be minimal and not taxing on 486-era hardware, and is statically linked. But it should work on modern Linux distributions just fine.
shorkdir can produce flickering on some hardware and terminal emulators. This is usually due to its simplistic design and how it 'redraws' the screen after each update. I am working on optimising this to reduce it as much as possible. :)
You just need a C compiler (tested with GCC with either glibc or musl).
Simply run make to compile shorkdir.
Run make install to install to /usr/bin (you may need sudo if not installing as root). If you want to install it elsewhere, you can override the install location prefix like make PREFIX=/usr/local install.
Simply run shorkdir to use. You are technically running a bootstrap shell script, required for changing the current directory once the program exits. shorkdir-exec is binary itself, which can be run directly if changing directory upon exiting is not desired.
-h,--help: Shows help information and exits-nc,--no-col: Disables all coloured output
| Key | Function | Key | Function | Key | Function |
|---|---|---|---|---|---|
| H/A/left arrow | Up directory | J/S/down arrow | Move cursor down | K/W/up arrow | Move cursor up |
| L/D/right arrow | Open directory/file | i | Inspect (if `file` installed) | . | Toggle hidden directories/files |
| h | Show help screen | q | Quit |
| Type | Meaning | Type | Meaning | Type | Meaning |
|---|---|---|---|---|---|
| d | Directory | f | Regular file (non-executable) | x | Regular file (executable) |
| b | Block device | c | Character device | l | Symbolic link |
| s | UNIX domain socket | | | Named pipe (FIFO) | ? | Unknown |
![]() |
![]() |
| Browsing root directory (w/ colour enabled) | Browsing root directory (w/o colour enabled) |
![]() |
![]() |
| Browsing /usr/bin | Help screen |
![]() |
![]() |
| Open screen | Inspect screen (text file example) |
![]() |
![]() |
| Inspect screen (executable example) | Inspect screen (symbolic link example) |







