Giter VIP home page Giter VIP logo

useful-commands's Introduction

Useful Commands

Unix

  1. tar/untar file
    # tar
    tar czf archive_folder_name.tar.gz [target files]
    # untar
    First, ensure that you have a shell running and cd to the same directory as the downloaded file.
    To unpack a .tar file, say foo.tar, use the following command:
          tar xopf foo.tar
    The newly extracted files will be created in the current directory. If you also wish to see a list of the files as they are    extracted, instead use the command
          tar xopft foo.tar
    
  1. SVN

     svn changelist admin-dashboard
     svn commit --changelist issue1729 -m "Fixing Issue 1729."
     svn changelist --remove atlassian-jira/secure/views/navigator/navigator.jsp
     To remove all files from all changelists, pass the top directory of the repository, like this:
     svn changelist --remove --depth infinity .
    
    
  2. RBT commands

    rbt diff > brandgeek_maintenance_mode.diff
    
    rbt post --diff-filename=my-named-mod.diff --open
    
    rbt post --diff-filename=brandgeek_admin_monitoring_sel.diff --review-request-id=1328
    https://reviewboard.locately.com/
    

Tunneling/DataBase

  1. check process running regarding ssh

     ps -ef | grep s
    
  2. connect to remote postgre database

    psql -U postgres -h localhost -p 5439 siphon
    
  3. under ~/.ssh/config for all configured hosts names

Ipython

  1. autoreload

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.