insert preceding line’s final parameter
alt–. the most useful key combination ever, try it and see, for some reason no one knows about this one.
press it again and again to select older last parameters.
great when you want to do something else to something you used just a moment ago.
Related Contents:
- How do I split a string on a delimiter in Bash?
- How can I declare and use Boolean variables in a shell script?
- sudo echo “something” >> /etc/privilegedFile doesn’t work [duplicate]
- How to get a password from a shell script without echoing
- How to urlencode data for curl command?
- Get just the filename from a path in a Bash script [duplicate]
- How can I suppress all output from a command using Bash?
- How can I ssh directly to a particular directory?
- Correct Bash and shell script variable capitalization
- Random number from a range in a Bash Script
- How to resolve symbolic links in a shell script
- Test for non-zero length string in Bash: [ -n “$var” ] or [ “$var” ]
- Copy folder recursively, excluding some folders
- How to get the part of a file after the first line that matches a regular expression
- How to tell if a string is not defined in a Bash shell script
- What does `kill -0 $pid` in a shell script do?
- How do I merge one directory into another using Bash?
- What is the difference between double and single square brackets in bash?
- Is there any reason to use bash over zsh? [closed]
- Count line lengths in file using command line tools
- Shell script to capture Process ID and kill it if exist [duplicate]
- Are there any languages that compile to Bash?
- Is there a way to avoid positional arguments in bash?
- Bash or KornShell (ksh)? [closed]
- How do I get just real time value from ‘time’ command?
- Passing arguments by reference
- How to write if statement in .tmux.conf to set different options for different tmux versions?
- source all files in a directory from .bash_profile
- Why equal to operator does not work if it is not surrounded by space?
- Invoke function whose name is stored in a variable in bash
- Extract version number from file in shell script
- Difference between sh and Bash
- How to find whether or not a variable is empty in Bash
- How to assign the output of a Bash command to a variable? [duplicate]
- Command substitution: backticks or dollar sign / paren enclosed? [duplicate]
- Check if string is neither empty nor space in shell script
- How to execute the output of a command within the current shell?
- Ignoring specific errors in a shell script
- What is the Bash file extension?
- backslash at the beginning of a command
- Count number of bytes piped from one process to another
- sudo cat File doesn’t work, sudo su does [duplicate]
- Wait for bash background jobs in script to be finished
- Quick-and-dirty way to ensure only one instance of a shell script is running at a time
- Rename multiple files in shell [duplicate]
- Rename Directory Name Before tar Happens
- Use bash to find first folder name that contains a string
- sh command: exec 2>&1
- generating frequency table from file
- Interrupt sleep in bash with a signal trap