The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 1,095     Votes:  2 
Tags: command-line   shortcut-keys  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1136115
Title: Is there any shortcut for parent folder in console?
ID: /2019/04/22/Is-there-any-shortcut-for-parent-folder-in-console_
Created: April 22, 2019    Edited:  April 22, 2019
Upload: December 22, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Create this file /home/$USER/.inputrc with the following:

# ~/.inputrc - complements /etc/inputrc - global inputrc for libreadline
# April 15, 2019
# See readline(3readline) and `info rluserman' for more information.

$include /etc/inputrc

# Insert key to togged overwrite-mode
"\e[2~": overwrite-mode

# April 22, 2019 AU Q&A: https://askubuntu.com/q/1135306/307523
# Make Shift-tab act like "cd ../" (move to parent directory)
"\e[Z": "cd ../"

Save the file and open a new terminal.

Now you can use Shift+Tab to send cd ../ to the terminal.

Also included in the settings you can press Insert key to toggle between character overwrite (replace) mode and insert mode.

⇧ Can't reset my JAVA_HOME to new Open JDK 11 Java installation Shell Script : Focus already open terminal tab from second terminal tab  ⇩