recentpopularlog in


« earlier   
Upcase by thoughtbot | Learn Web Development Online
Excelente plataforma com vídeos e cursos sobre programação web, agora disponibilizados gratuitamente.
bash  shell  study  vim  ruby  javascript  learning  dev  rails 
yesterday by repoles
junegunn/fzf: A command-line fuzzy finder
It's an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc.
bash  cli  shell  vim  plugin  tool  textui  search  unix  linux  macosx  opensource  github 
yesterday by ezequiel
shell script - Empty the contents of a file - Unix & Linux Stack Exchange
cp /dev/null filename works.

As for efficient, the most efficient would be truncate -s 0 filename; see here:

Otherwise, cp /dev/null filename or > filename are both fine. They both open and then close the file, using the truncate-on-open setting. cp also opens /dev/null, so that makes it marginally slower.
truncate  bash  linux 
yesterday by tulbox
How to clear bash history completely? - Ask Ubuntu
cat /dev/null > ~/.bash_history && history -c && exit
bash  linux  funny  tips 
2 days ago by po
CLI: improved
some of these are kind of handy but only from a ui perspective
cli  bash  terminal  linux  tools  lists  odd  ui  ux 
2 days ago by po

Copy this bookmark:

to read