• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4251 shaares
 
Filters
7 results tagged bash

linux - How to reverse-i-search back and forth? - Super User

QRCode

I use reverse-i-search often, and that's cool. Sometime though when pressing Ctrl+r multiple times, I pass the command I am actually looking for. Because Ctrl+r searches backward in history, from n...

The one-sentence answer: Run stty -ixon in your terminal, and then use Ctrl+S to change the search direction from backward to forward.

https://superuser.com/questions/472846/how-to-reverse-i-search-back-and-forth
January 10, 2024 at 8:00:52 PM EST *
linux terminal bash
FILLER

Shell Script Best Practices — The Sharat's

QRCode

This article is about a few quick thumb rules I use when writing shell scripts that I’ve come to appreciate over the years. Very opinionated....

https://sharats.me/posts/shell-script-best-practices/
October 31, 2022 at 10:30:46 AM EDT *
bash
FILLER

Ten Things I Wish I’d Known About bash – zwischenzugs

QRCode
diff <(grep somestring file1) <(grep somestring file2)
:h

I use this one a lot too. If you put it after a filename, it will change that filename to remove everything up to the folder. Like this:

grep isthere /long/path/to/some/file/or/other.txt
cd !$:h
  1. Startup Order
    https://blog.flowblok.id.au/2013-02/shell-startup-scripts.html
https://zwischenzugs.com/2018/01/06/ten-things-i-wish-id-known-about-bash/
March 22, 2021 at 10:43:31 AM EDT *
bash linux
FILLER

Seven Surprising Bash Variables

QRCode

1) PROMPT_COMMAND
2) HISTTIMEFORMAT
3) CDPATH
See comment:
https://unix.stackexchange.com/questions/456866/how-can-i-suppress-printing-the-full-path-to-subdirectories-when-using-cdpath/456867#456867
4) SHLVL
5) LINENO
6) REPLY
7) TMOUT

https://zwischenzugs.com/2019/05/11/seven-surprising-bash-variables/
May 20, 2019 at 9:49:55 AM EDT *
linux bash
FILLER

A guide to learn bash

QRCode
https://github.com/Idnan/bash-guide
April 5, 2017 at 7:32:55 PM EDT *
bash linux tutorial
FILLER

AskApache - Crazy Advanced Web Development

QRCode
http://www.askapache.com/
April 14, 2010 at 9:09:31 AM EDT *
linux bash apache mod_rewrite
FILLER

bash: redirect and append both stdout and stderr - Stack Overflow

QRCode
http://stackoverflow.com/questions/876239/bash-redirect-and-append-both-stdout-and-stderr
September 16, 2009 at 10:15:18 AM EDT *
linux bash
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community