Skip to content

SamuelWiqvist/usefulcommands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

List of useful Git and Bash/command lines commands

Git

List of useful:

  • New repo:git init
  • Check status: git status
  • Show current commit git log -1

add more commands here

Bash/command line

List of useful commands:

  • Remove all files with the same extension: find . -name "*.bak" -type f -delete
  • Show all files in folder: ls -all
  • Edit path variables: gksudo gedit /etc/environment
  • Clear terminal windows: clear
  • Create copy of file in same directory: cp bla.txt ./bla2.txt
  • List files in folder as list: ls -1

Mac specific commands

  • Increase font size in terminal "Command + Plus", to decrease use "Command + -"

add more commands here

About

Just a list of some useful commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published