DEV Community

loading...

Discussion on: Bash commands I have been using every day as a developer

Collapse
abregman profile image
Arie Bregman

git:

git blame [file]
git log
git rebase -i
git checkout HEAD~1 -- [file]

ls:

alias ll="ls -lh"
ls -ltr #also useful sometimes

clear:

worth to mention you can use ctrl+l instead of typing the command

vim:

vi [file] +20 # this will open the file and get you to line 20
vi -u NORC # Open vim with no plugins activated
vi +/some_word [file]
Collapse
singh1114 profile image
Ranvir Singh Author

Awesome commands will definitely try a few of them. Thanks for sharing.