Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Grep check

if grep -q 'foo' ~/.bash_history; then
  echo "You appear to have typed 'foo' in the past"
fi
Comment

PREVIOUS NEXT
Code Example
Shell :: Inspecting commands 
Shell :: $FOO, or val if unset (or null) 
Shell :: command to check the status of a system service 
Shell :: How To Edit Log File On Batch Script 
Shell :: how to extract sequential files multiple zip files at once 
Shell :: command to make multiple nested directories 
Shell :: wc exclude . and .. directories and empty or commented lines 
Shell :: comand moves or renames the old file to the new name 
Shell :: Auto-open DevTools on every new tab For cmd on Windows 
Shell :: Ubuntu username format 
Shell :: exiting nano 
Shell :: head and tail command in linux 
Shell :: how to make a function in bash 
Shell :: flutter update packages command 
Shell :: see wifi password 
Shell :: awk command in linux 
Shell :: how to save file in linux 
Shell :: batch concatenate strings 
Shell :: how to push to a new branch in gitlab 
Shell :: git cache credentials 
Shell :: apache uninstall ubuntu ssh 
Shell :: greeper contributor coin 
Shell :: yay see package files 
Shell :: prisjakt 
Shell :: bash: emacs: command not found raspi 
Php :: ajax add edit delete records in database using php 
Php :: php remove last char from string 
Php :: laravel sail alias 
Php :: php filter validate email 
Php :: long text in laravel migration 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =