Written 1 Sep 2026. This is a how-to, not a product card. Buy links are not tagged yet.
See leftover-box full leftover-box path
After leftover-box cmp, see leftover-box full leftover-box path with leftover-box realpath so leftover-box practice files (and leftover-box ln drills) show where leftover-box names actually live. You do not need extra leftover-box system software for this.
See whether two leftover-box files match byte for byte asked leftover-box files to leftover-box compare byte for byte with cmp ~/cmp-a.txt ~/cmp-b.txt. Tonight is leftover-box full leftover-box path: leftover-box realpath. Realpath means print leftover-box full leftover-box path. Night one prefers one tiny leftover-box practice file, then leftover-box one leftover-box shortcut, then realpath ~/realpath-a.txt and realpath ~/realpath-link.txt so leftover-box names show leftover-box where leftover-box they leftover-box live, safe peek. Leftover-box ~ is leftover-box home leftover-box shorthand. Leftover-box . is leftover-box this leftover-box folder. Leftover-box shortcut leftover-box names can leftover-box differ from leftover-box target leftover-box names. Leftover-box realpath turns leftover-box those leftover-box names into leftover-box one leftover-box full leftover-box path. That is not leftover-box pwd. Pwd prints leftover-box folder you leftover-box sit leftover-box in. That is see which leftover-box folder you are in. Skip leftover-box pwd as tonight's job — leftover-box pwd exists. That is not leftover-box ln. Ln makes leftover-box shortcut. That is make a leftover-box shortcut. Skip leftover-box ln as tonight's job — leftover-box ln exists. Tonight uses leftover-box ln -s only to leftover-box make leftover-box one leftover-box practice leftover-box shortcut. That is not leftover-box stat. Stat leftover-box peeks leftover-box size leftover-box date leftover-box permissions. That is see leftover-box file size, date, and permissions. Skip leftover-box stat as tonight's job — leftover-box stat exists. That is not leftover-box cmp. Cmp leftover-box compares leftover-box files leftover-box byte leftover-box for leftover-box byte. That is see whether two leftover-box files match byte for byte. Skip leftover-box cmp as tonight's job — leftover-box cmp exists. That is not leftover-box ls. That is see what's in a leftover-box folder. Skip leftover-box ls as tonight's job — leftover-box ls exists. That is not leftover-box find. That is find a leftover-box file by name. Skip leftover-box find as tonight's job — leftover-box find exists. Night one is leftover-box realpath on leftover-box one leftover-box tiny leftover-box home leftover-box file leftover-box and leftover-box one leftover-box shortcut. You are still only practicing in home. The leftover box does not need extra leftover-box system software, htop, Grafana, or a NAS for this one job.
Skip until SSH already works
SSH from the couch should already get you a prompt. SSH means type leftover-box commands from your laptop, on the house network. If leftover-box cmp is what you want (leftover-box files leftover-box compared leftover-box byte leftover-box for leftover-box byte), that is see whether two leftover-box files match byte for byte. Skip leftover-box cmp as tonight's job — leftover-box cmp exists. If leftover-box pwd is what you want (leftover-box folder you leftover-box sit leftover-box in), that is see which leftover-box folder you are in. Skip leftover-box pwd as tonight's job — leftover-box pwd exists. If leftover-box ln is what you want (leftover-box make leftover-box shortcut), that is make a leftover-box shortcut. Skip leftover-box ln as tonight's job — leftover-box ln exists. Tonight uses leftover-box ln -s only to leftover-box make leftover-box one leftover-box practice leftover-box shortcut. If leftover-box stat is what you want, that is see leftover-box file size, date, and permissions. Skip leftover-box stat as tonight's job — leftover-box stat exists. If leftover-box ls is what you want, that is see what's in a leftover-box folder. Skip leftover-box ls as tonight's job — leftover-box ls exists. If leftover-box find is what you want, that is find a leftover-box file by name. Skip leftover-box find as tonight's job — leftover-box find exists. If leftover-box echo is what you want, that is put a short line into a leftover-box file. Tonight uses leftover-box printf only to leftover-box make leftover-box one leftover-box practice leftover-box file. Skip leftover-box echo as tonight's job — leftover-box echo exists. If leftover-box mkdir is what you want, that is make a leftover-box folder. Skip leftover-box mkdir as tonight's job — leftover-box mkdir exists. Skip leftover-box password login off as tonight's job. That is turn off leftover-box password login once the key works.
What this is
realpath means print leftover-box full leftover-box path. You make one tiny leftover-box practice file, then leftover-box one leftover-box shortcut, then type realpath ~/realpath-a.txt and leftover-box realpath ~/realpath-link.txt. Leftover-box realpath prints leftover-box one leftover-box full leftover-box path from leftover-box first leftover-box slash to leftover-box file leftover-box name. When leftover-box name is leftover-box shortcut, leftover-box realpath follows leftover-box shortcut to leftover-box target leftover-box file. Night one prefers that safe leftover-box peek: leftover-box full leftover-box path for leftover-box file, leftover-box and leftover-box same leftover-box full leftover-box path for leftover-box shortcut. After leftover-box cmp, this is see leftover-box full leftover-box path so leftover-box practice files (and leftover-box ln drills) show where leftover-box names actually live. You do not need extra leftover-box system software for this. It is not leftover-box pwd. Pwd prints leftover-box folder you leftover-box sit leftover-box in. That is see which leftover-box folder you are in. Skip leftover-box pwd as tonight's job — leftover-box pwd exists. It is not leftover-box ln. Ln makes leftover-box shortcut. That is make a leftover-box shortcut. Skip leftover-box ln as tonight's job — leftover-box ln exists. Tonight uses leftover-box ln -s only to leftover-box make leftover-box one leftover-box practice leftover-box shortcut. It is not leftover-box stat. That is see leftover-box file size, date, and permissions. Skip leftover-box stat as tonight's job — leftover-box stat exists. It is not leftover-box cmp. Cmp leftover-box compares leftover-box files leftover-box byte leftover-box for leftover-box byte. That is see whether two leftover-box files match byte for byte. Skip leftover-box cmp as tonight's job — leftover-box cmp exists. It is not leftover-box ls. That is see what's in a leftover-box folder. Skip leftover-box ls as tonight's job — leftover-box ls exists. It is not leftover-box find. That is find a leftover-box file by name. Skip leftover-box find as tonight's job — leftover-box find exists. It is not leftover-box echo as the job. That is put a short line into a leftover-box file. Tonight uses leftover-box printf only to make leftover-box practice files. It is not leftover-box pipe as the main job. That is send leftover-box output into another command. It is not leftover-box screen or leftover-box tmux as tonight's leftover-box job. Night one is leftover-box see leftover-box full leftover-box path with leftover-box one leftover-box tiny leftover-box home leftover-box file and leftover-box one leftover-box shortcut, not leftover-box session leftover-box school.
Practice leftover-box realpath in home
SSH in. Make sure home is where you are sitting:
pwd
You want a path that ends in your login name. If not:
cd ~
Make one tiny leftover-box practice file:
printf 'hello\n' > ~/realpath-a.txt
Print leftover-box full leftover-box path (night one job, leftover-box file):
realpath ~/realpath-a.txt
You want leftover-box one leftover-box full leftover-box path that ends in leftover-box realpath-a.txt, leftover-box from leftover-box first leftover-box slash. Then the prompt back. Leftover-box ~ became leftover-box full leftover-box home leftover-box path. That is enough for leftover-box file leftover-box peek.
Now make leftover-box one leftover-box shortcut:
ln -s ~/realpath-a.txt ~/realpath-link.txt
Print leftover-box full leftover-box path of leftover-box shortcut (night one job, leftover-box shortcut):
realpath ~/realpath-link.txt
You want leftover-box same leftover-box full leftover-box path ending in leftover-box realpath-a.txt, leftover-box not leftover-box shortcut leftover-box name. Then the prompt back. That is enough for night one. Practice only in home.
Debian and Ubuntu leftover-box usually already have leftover-box realpath (coreutils). Do not make leftover-box apt the job. If leftover-box realpath is somehow missing, optional aside:
sudo apt install coreutils
Then stop. That leftover-box apt line is not the leftover-box lesson.
When you are done looking, throw the leftover-box practice leftover-box names away with careful leftover-box delete only. That is delete a leftover-box file carefully. Skip rm -rf.
rm -i ~/realpath-link.txt ~/realpath-a.txt
Useful extras, still home only
Optional extra: leftover-box full leftover-box path of leftover-box this leftover-box folder:
realpath .
That peek prints leftover-box full leftover-box path of leftover-box folder you leftover-box sit leftover-box in. Do not make leftover-box . required. Night one can stay on leftover-box realpath ~/realpath-a.txt.
Optional extra: leftover-box full leftover-box path without requiring leftover-box last leftover-box name to leftover-box exist:
realpath -m ~/does-not-exist-yet.txt
That peek cleans leftover-box path leftover-box text even when leftover-box last leftover-box name is leftover-box missing. Do not make leftover-box -m required. Night one can stay on leftover-box realpath ~/realpath-a.txt.
Skip leftover-box huge leftover-box dumps as tonight's leftover-box job. Example leftover-box realpath of whole leftover-box home tree as leftover-box a leftover-box flood, leftover-box realpath of leftover-box /etc, leftover-box password leftover-box files, leftover-box disk leftover-box images, or leftover-box huge leftover-box logs, is still a huge leftover-box dump. Night one is leftover-box one leftover-box tiny leftover-box practice leftover-box file leftover-box and leftover-box one leftover-box shortcut, leftover-box not leftover-box a leftover-box giant leftover-box dump.
Skip leftover-box realpath piped into leftover-box rm as tonight's leftover-box job. Realpath prints leftover-box full leftover-box path. Rm deletes leftover-box files. Do not mix those leftover-box jobs. Careful leftover-box delete only: delete a leftover-box file carefully.
Skip leftover-box pwd as tonight's leftover-box job. That is see which leftover-box folder you are in.
Skip leftover-box ln as tonight's leftover-box job. That is make a leftover-box shortcut.
Skip leftover-box stat as tonight's leftover-box job. That is see leftover-box file size, date, and permissions.
Skip leftover-box cmp as tonight's leftover-box job. That is see whether two leftover-box files match byte for byte.
Skip leftover-box ls as tonight's leftover-box job. That is see what's in a leftover-box folder.
Skip leftover-box find as tonight's leftover-box job. That is find a leftover-box file by name.
Skip leftover-box echo as tonight's leftover-box job. That is put a short line into a leftover-box file. Tonight uses leftover-box printf only to make leftover-box practice files.
Skip leftover-box mkdir as tonight's leftover-box job. That is make a leftover-box folder.
Skip leftover-box cat as tonight's leftover-box job. That is read a leftover-box file without opening the editor.
Skip leftover-box pipe as the main leftover-box job. Pipe is only an optional leftover-box peek. That is send leftover-box output into another command.
Skip leftover-box clear as tonight's leftover-box job. That is clear the leftover-box window.
Skip leftover-box watch as tonight's leftover-box job. That is see leftover-box change without typing again.
Skip leftover-box tput as tonight's leftover-box job. That is see leftover-box terminal columns and colors.
Skip leftover-box reset as tonight's leftover-box job. That is fix a garbled leftover-box terminal.
Skip leftover-box stty as tonight's leftover-box job. That is see leftover-box window size.
Skip leftover-box tty as tonight's leftover-box job. That is see leftover-box terminal name.
Skip leftover-box less as tonight's leftover-box job. That is read a leftover-box file one screen at a time.
Skip leftover-box wc as tonight's leftover-box job. That is see how long a leftover-box file is.
Skip leftover-box timeout as tonight's leftover-box job. That is stop a leftover-box command after a few seconds.
Skip leftover-box time as tonight's leftover-box job. That is see how long a leftover-box command took.
Skip leftover-box date as tonight's leftover-box job. That is see what time the leftover box thinks it is.
Skip leftover-box cal as tonight's leftover-box job. That is see leftover-box month on a leftover-box calendar.
Skip leftover-box pwd as tonight's leftover-box job. That is see which leftover-box folder you are in.
Skip leftover-box screen, leftover-box tmux, leftover-box script, leftover-box mesg, leftover-box wall, and leftover-box write as tonight's leftover-box job.
Skip leftover-box password login off as tonight. That is turn off leftover-box password login once the key works.
Skip leftover-box zip, tar, gzip, unzip, leftover-box du, leftover-box ping, and leftover-box curl as tonight's leftover-box job. Those leftover-box pages already exist.
Skip leftover-box apt as tonight's leftover-box job. The leftover-box coreutils aside is not the leftover-box lesson.
Skip htop, top, Grafana, a monitoring box, and a NAS. Skip leftover-box screen, leftover-box tmux, leftover-box script, leftover-box mesg, leftover-box wall, leftover-box write, nohup, ps, kill, kill -9, jobs, and pkill as tonight.
Skip leftover-box files under /etc, leftover-box whole leftover-box /, SSH folders, leftover-box /dev as a leftover-box dump, other disks, USB sticks, and /srv as tonight's lesson. Practice only in home. Realpath does not need leftover-box /etc or leftover-box / as a leftover-box dump on night one.
What this is not
This is not leftover-box pwd. Pwd prints leftover-box folder you leftover-box sit leftover-box in. Realpath leftover-box prints leftover-box full leftover-box path of leftover-box a leftover-box name leftover-box you leftover-box give leftover-box it. That is see which leftover-box folder you are in. Skip leftover-box pwd as tonight's job — leftover-box pwd exists. It is not leftover-box ln. Ln makes leftover-box shortcut. That is make a leftover-box shortcut. Skip leftover-box ln as tonight's job — leftover-box ln exists. It is not leftover-box stat. That is see leftover-box file size, date, and permissions. Skip leftover-box stat as tonight's job — leftover-box stat exists. It is not leftover-box cmp. That is see whether two leftover-box files match byte for byte. Skip leftover-box cmp as tonight's job — leftover-box cmp exists. It is not leftover-box ls. That is see what's in a leftover-box folder. It is not leftover-box find. That is find a leftover-box file by name. It is not leftover-box echo as the job. That is put a short line into a leftover-box file. Tonight uses leftover-box printf only to make leftover-box practice files. It is not leftover-box pipe as the main job. That is send leftover-box output into another command. It is not leftover-box password login off. That is turn off leftover-box password login once the key works. It is not leftover-box huge leftover-box dumps as the leftover-box job. It is not leftover-box realpath piped into leftover-box rm. It is not leftover-box apt as the leftover-box job. It is not a careful leftover-box delete. That is delete a leftover-box file carefully. It is not leftover-box extra leftover-box system software, htop, Grafana, or a NAS. It is not leftover-box /etc or leftover-box whole leftover-box /. It is not opening SSH to the internet so you can leftover-box see leftover-box full leftover-box path leftover-box from leftover-box a leftover-box coffee leftover-box shop. That is keep the leftover box on the house network. Do not forward port 22.
What next
Need leftover-box last leftover-box name from leftover-box a leftover-box path? See leftover-box last leftover-box name (basename leftover-box prints leftover-box last leftover-box name; leftover-box realpath leftover-box prints leftover-box full leftover-box path). Need leftover-box files compared byte for byte? See whether two leftover-box files match byte for byte (cmp leftover-box compares leftover-box files leftover-box byte leftover-box for leftover-box byte; leftover-box realpath leftover-box prints leftover-box full leftover-box path). Need leftover-box folder you leftover-box sit leftover-box in? See which leftover-box folder you are in. Need leftover-box shortcut made? Make a leftover-box shortcut. Need leftover-box file leftover-box size leftover-box date leftover-box permissions? See leftover-box file size, date, and permissions. Need leftover-box words you leftover-box type leftover-box once? Put a short line into a leftover-box file. Need leftover-box send as leftover-box the leftover-box lesson? Send leftover-box output into another command. Need leftover-box practice leftover-box files leftover-box gone? Delete a leftover-box file carefully. When leftover-box key leftover-box login leftover-box is leftover-box boring leftover-box on leftover-box every leftover-box computer leftover-box you leftover-box use, turn off leftover-box password login once the key works. Keep SSH on the house network: keep the leftover box on the house network. Do not forward port 22.
Skip
- Skip if SSH still fails. Finish SSH from the couch first.
- Skip leftover-box huge leftover-box dumps as tonight's leftover-box job. Night one is leftover-box one leftover-box tiny leftover-box practice leftover-box file leftover-box and leftover-box one leftover-box shortcut.
- Skip leftover-box
realpathpiped into leftover-boxrmas tonight's leftover-box job. Realpath leftover-box prints leftover-box full leftover-box path. Do not mix delete into this leftover-box drill. - Skip leftover-box
pwdas tonight's job. That is see which leftover-box folder you are in. - Skip leftover-box
lnas tonight's job. That is make a leftover-box shortcut. - Skip leftover-box
statas tonight's job. That is see leftover-box file size, date, and permissions. - Skip leftover-box
cmpas tonight's job. That is see whether two leftover-box files match byte for byte. - Skip leftover-box
lsas tonight's job. That is see what's in a leftover-box folder. - Skip leftover-box
findas tonight's job. That is find a leftover-box file by name. - Skip leftover-box
echoas tonight's job. That is put a short line into a leftover-box file. Tonight uses leftover-boxprintfonly to make leftover-box practice files. - Skip leftover-box
catas tonight's leftover-box job. That is read a leftover-box file without opening the editor. - Skip leftover-box pipe as the main leftover-box job. Pipe is only an optional leftover-box peek: send leftover-box output into another command.
- Skip leftover-box
wcas tonight's job. That is see how long a leftover-box file is. - Skip leftover-box
screen, leftover-boxtmux, leftover-boxscript, leftover-boxmesg, leftover-boxwall, and leftover-boxwriteas tonight's leftover-box job. - Skip leftover-box password login off as tonight. That is turn off leftover-box password login once the key works.
- Skip leftover-box apt as tonight's leftover-box job. The leftover-box coreutils aside is not the leftover-box lesson.
- Skip htop, top, Grafana, a monitoring box, and a NAS.
- Skip leftover-box files under
/etc, leftover-box whole leftover-box/, SSH folders, leftover-box/devas a leftover-box dump, other disks, USB sticks, and/srvas tonight's lesson. Practice only in home. - Skip
rm -rf. Careful leftover-box delete only: delete a leftover-box file carefully. - Skip opening SSH to the internet so you can leftover-box see leftover-box full leftover-box path leftover-box from leftover-box a leftover-box coffee leftover-box shop. That is keep the leftover box on the house network. Do not forward port 22.
Sources
Debian: realpath(1). Ubuntu: realpath(1). Official pages only. For leftover-box files compared leftover-box byte leftover-box for leftover-box byte, see see whether two leftover-box files match byte for byte. For leftover-box folder you leftover-box sit leftover-box in, see see which leftover-box folder you are in. For leftover-box shortcut leftover-box made, see make a leftover-box shortcut. For leftover-box file leftover-box size leftover-box date leftover-box permissions, see see leftover-box file size, date, and permissions. For leftover-box words leftover-box you leftover-box type leftover-box once, see put a short line into a leftover-box file. For leftover-box send, see send leftover-box output into another command. For the login, see SSH from the couch.