Linux / bash developer tips?

Possible duplicates:
Favorite command line trick
useful linux commands for programmers?
What's your favorite command line trick with Bash?

I recently got used to doing most of my development (in different languages) from the bash shell using command line tools and interfaces. I found it convenient to stay on the command line because you can do a lot of things without leaving that interface, and it's fast.

What tools and tricks do you know about what bash can do (perhaps in combination with a type editor vim

or emacs

) a more powerful IDE to work with?

+2


source to share


4 answers


You've probably done some or all of this, but for the record ...

  • Ctags / ETags
  • plugins for vim and emacs
  • get to know bash! history replacement function (but be careful! :-)
  • if you are using vi (over emacs) find out: line mode
  • you can check the id-utils package
  • when using bash on windows via cygwin use rxvt instead of standard dos window


You also want to tune each instrument in programmer mode. Editors like vi and emacs can use autoindent, show matching parsers, etc. You need to read the help and enable these things. Make sure you run bash in history mode that suits your editing reflexes. The default is emacs, but vi runs set -o vi

.

+1


source


Start with an X11 window manager that works well without the need for a mouse.

  • Awesome
  • xmonad

Thereafter:



  • Screen
  • bash_completion
  • VIM
  • cscope
  • Ctags
  • remake

I rarely need to touch my mouse for anything.

+2


source


First, I use labels heavily . Then I could obviously mention things such as vim

, grep

, tail

, head

, find

, sudo !!

, ... But one thing I really can not live without programmable completion . Of course, this will depend on your habit, but here are some must-haves for me:

+1


source


Oh let's see ... cut, sort, grep, find

-1


source







All Articles