Skip to main content


Showing posts from January, 2015

How to Use SVN Command Line Tools in Ubuntu

You have SVN (Subversion) server where your project files will be stored. It also can be installed on same computer where you make your project.You have installed Subversion on local computer where your project is saved. These are some steps you can do.
Checkout.  You must set a directory (your project directory) in local computer which files will be stored in SVN repository.
$ svn checkout /home/user/myproject
It will create a ".svn" directory inside "/home/user/myproject/" and make "/home/user/myproject" as working copy.Import. This step will copy files from your local project directory to SVN repository.
$ svn import /home/user/myproject or Commit. Update will download changes from SVN repository. Commit will upload files to SVN repository. Update will sync updated files to working copy. For more advance use, you can visit this site ht…

Transfer File Among Linux Servers Using Terminal (Command Line)

When you operate some servers, sometime you need to transfer or copy some files from one server to another. There is command line tool that you can use like SCP.

$ scp <file> <username>@<IP address or hostname>:<Destination>
for example:

$ scp "file.txt"
If you want to copy file from remote server to local server just change the command.

$ scp <username>@<IP address or hostname>:<Source> <LocalDestination>
"LocalDestination" can be set to '.' to assign the file to current working directory. '-r' parameter can be set to copy directory recursively.

Another tool you can use is SFTP. It maintain session so you can move files interactively between servers.

$ sftp