Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment A simple trick... (Score 1) 2362

... but one that saves time and prevents mistakes.

mkdir -p /usr/local/src/{archive,test,whatever}

will create all directories necessary that don't exist and then expand the stuff in brackets and create them also.

Habitually backing up files before editing them will save you a lot of heartache in the long run too. It's easier if you make an alias to replace your common editor command to automatically back up the file.

Slashdot Top Deals

The brain is a wonderful organ; it starts working the moment you get up in the morning, and does not stop until you get to work.

Working...