Top Tweets for #C0D
#C0D #0018
If you are executing a command which contains your password or some other sensitive details and you don't want it logged in command history you can turn off history logging by
$ set +o history
#shell #linuxtips #unix
#C0D #0017
export PROMPT_COMMAND='history -a'
Linux command history is saved by history command but it is dumped to .bash_history only when session is closed gracefully so to avoid history loss we can put above line in .bashrc
#C0D #0016
You can use . to refer to the current line.
1) :g/foo/.,+2d will delete line with text foo and 2 lines after it
2) :g/foo/-3,.d will delete line with text foo and 3 lines before it
3) :g/foo/-1,+1d will delete line with foo, one line before it and one line after it
#C0D #0015
In vim rather than searching for the function definition or variable initialization you can type 'gd' in command mode which will go to the local declaration of the word where cursor is type 'gD' if you want to go to the global declaration.
7γγ«γγ΅γ€γγΌγ’γΏγγ―γγͺγΌγ«γγ«γγͺγΌγγΌγγ« ζιγγο½wοΌMW #C0D #θηγγγγ #PS4share
https://t.co/5Hf8Gw7Y3r
#C0D #0014
To remove all the lines in vim that contains certain string execute:
:g/string/d
To do the opposite i.e remove the lines that does not contains certain string execute:
:v/string/d
#C0D #0013 dd
dd is a command-line utility for Unix and Unix-like operating systems, the primary purpose of which is to convert and copy files.
dd stands for copy and convert (called dd because cc is already in use by C compiler).
#C0D #1012 Special shell parameters.
The shell treats several parameters specially.
These parameters may only be referenced; assignment to them is not allowed.
#C0D #1012
Force save the modified read-only file in vim.
:w !sudo tee %
w - write.
! - use external command.
tee - write to std out and file argument both.
% - variable for opened file in vim.
#C0D #1011
KillallΒ sends a SIGTERM signal (if signal name is not specified explicitly) to all processes running any of the specified commands.
Syntax:
killall [options] command
#C0D #0010 prettify json file in vim
:%!python -m json.tool
Last Seen Hashtags on Sotwe
omegle ()
Seen from United States
cder
Seen from Indonesia
Listen2MyGut
Seen from Korea
nolimit nolimit()*+filter:native_video
Seen from Turkey
momson()()*+filter:native_video
Seen from United States
rebeu #gay
Seen from France
momson() +filter:native_video
Seen from Brazil
ΩΨ§ΩΩ_Ψ§ΩΩΩΩΨ©
Seen from Germany
ΩΩΩΨ³Ω
Seen from Qatar
ΰΈΰΈ₯ΰΈ΄ΰΈΰΈ«ΰΈ₯ΰΈΈΰΈΰΈΰΈ§ΰΈ΄ΰΈΰΉΰΈΰΈΰΈ£ΰΉ
Seen from Thailand
Most Popular Users

Elon Musk 
@elonmusk
241M followers

Barack Obama 
@barackobama
119.2M followers

Cristiano Ronaldo 
@cristiano
111.9M followers

Donald J. Trump 
@realdonaldtrump
111.8M followers

Narendra Modi 
@narendramodi
107M followers

Rihanna 
@rihanna
98M followers

NASA 
@nasa
92.2M followers

Justin Bieber 
@justinbieber
91.2M followers

KATY PERRY 
@katyperry
88.4M followers

Taylor Swift 
@taylorswift13
82.3M followers

Lady Gaga 
@ladygaga
73.8M followers

Virat Kohli 
@imvkohli
71M followers

Kim Kardashian 
@kimkardashian
70.1M followers

YouTube 
@youtube
68.7M followers

Bill Gates 
@billgates
64.3M followers

Neymar Jr 
@neymarjr
63.9M followers

The Ellen Show
@theellenshow
62.4M followers

CNN 
@cnn
61.8M followers

Selena Gomez 
@selenagomez
61.5M followers

X 
@x
60.8M followers


