#commands
4 posts tagged commands. Clear filter
-
How to Import/Export a Database from One Heroku App to Another Heroku App
Heroku is awesome! Let's say we want to copy a production database to a staging database. We can use the pg:backups:restore command to accomplish this. Here is an example. For the source database...
-
Linux Disk Usage Command Recursive
It's short and sweet! du -hs If you run this command it will tell you the sizes of all the files and folder in the current directory. The -h flag is for human readable format and the -s will give...
-
Using Grep To Find or Match All Links in an HTML Document
You can further reduce to just return the images by piping again. The -r flag is for a recursive directory scan.
-
Uncompress A Bz2 File Using Tar Command
Uncompress a bz2 file using tar command @source http://www.kde.gr.jp/help/doc/kdebase/doc/khelpcenter/faq/HTML/bzip2.html