Blog Archives

Quit Bash Shell Without Saving Bash History (5 Methods)

Sometimes it is very useful to delete / remove Bash history partially or completely when log out. Here is my favourite methods howto log out / quit / exit Bash shell without saving Bash history. Remove Only Current Session Bash

Tagged with: , , , , ,
Posted in How To, One Liners

BASH SCRIPTING

CREATE INFINITE WHILE LOOP WITH EMPTY EXPRESSION================================================== #!/bin/bash while :do echo “infinite loops [ hit CTRL+C to stop]”done OR #!/bin/bash chekpt=5 while [ “$chekpt” -lt 6 ]do echo “infinite loops [ hit CTRL+C to stop]” done CREATE A FILE WITH

Tagged with: , , , , ,
Posted in shell scripting
  • An error has occurred; the feed is probably down. Try again later.
  • An error has occurred; the feed is probably down. Try again later.
  • An error has occurred; the feed is probably down. Try again later.