Skip to main content

Posts

Showing posts from July, 2018

Ubuntu troubles

Problem #1 Using winscp to transfer file from windows machine to Ubuntu It show error: "The server rejected SFTP connection, but it listens for FTP connections." Solution: 1. To install it, open terminal (Ctrl+Alt+T) or log in Ubuntu server and run command: sudo apt-get install openssh-server 2. After that, you should have SSH service enabled in your system, you may check its status by running command: sudo service ssh status Problem #2 Can I add a shortcut to replace a path in Linux? Solution https://askubuntu.com/questions/58814/how-do-i-add-environment-variables vi ~/.bashrc  add below line to end of file .bashrc export MTRUMPY_SRC=/home/thaidao/work/project/mTrumpy/src source ~/.bashrc When you want to go directory MTRUMPY_SRC, just type "cd $MTRUMPY_SRC" https://stackoverflow.com/questions/862966/hide-all-notmatching-lines-in-vim Problem #3 SVN command in use Get latest commit from remote server svn update