Skip to main content

Posts

Showing posts from October, 2015

SVN tutorial

SVN cheat sheet: http://www.cheatography.com/davechild/cheat-sheets/subversion/ For more useful svn commands, check the following tutorial: http://openoffice.apache.org/ svn -basics.html Server : Create a  SVN repository svn co https://svn.apache.org/repos/asf/openoffice/trunk  mySVNrepository Local machine: Make a repository and connect with server Just on your local machine, run the following command: svn checkout svn +ssh:// login.cbrc.kaust. edu.sa/data/snapdragon/ soufanom/DREAM-DRUG-Challenge/ ChallengeScripts Then, all current testing scripts will be added to your local machine.  Add and commit your changes to server: In order to share with us your work, inside your own folder (e.g. ChallengeScripts/Wail ), create any folder, file or scripts and do: 1- svn add folder1 2- svn commit folder1 -m "Comments of your changes"

Linux Tips and Tricks

Collected from CBRC wiki: Original source: http://dragon.cbrc.kaust.edu.sa/wiki/index.php/Linux_Tips_and_Tricks Linux Tips and Tricks Jump to: navigation , search Contents 1 Useful commands 1.1 General commands 1.2 Directories processing 1.3 Files processing 1.4 Find/Replace 1.5 Processes 2 File System /Disk Management 2.1 Disk space report 2.2 Resizing Shared Memory (/dev/shm) 2.3 Resizing partitions CentOS 2.4 Disk crash recovery 2.5 Mounting WebDAV Share 2.5.1 Installing and configuring WebDAV for non-sudo on Ubuntu Useful commands General commands find Linux version $ cat / etc / issue Directories processing $ # recursively delete backup files $ find . / -name '*~' | xargs rm   $ # Process all files in a directory $ ls dir_path /* .xml | xargs -n 1 MyProcessingProgram   $ # gzip/guznip directory: $ tar czvf myfile.tar.gz mydir /* $ tar xzvf filename.tar.gz ( or: tar xz