Big Data Training for Translational Omics Research Computer commands Login to Thinlinc using Firefox. Browse to In a Terminal window on Thinlinc, type: to to a Rice front-end ssh -Y rice From a Rice front-end, type: to start a session on an actual Rice node startnode20 On a Rice node, type to launch additional Terminal windows Terminal & On a Rice node: Type to list files in the current directory ls Type to list files with more detail ls -l Type to list files with even more detail ll Type to see full path to current directory pwd Type to change directories cd dirname Type to go to the parent directory, or to go to the grandparent, etc. cd .. cd ../.. Type to go to your home directory cd ~ Type to go to the main workshop data directory cd /depot/nihomics Your home directory /home/trainNN – Contains data files and scripts used in the workshop (O: drive) /depot/nihomics – Scratch directory where you will be saving output files, scripts /home/trainNN/scratch – (R: drive) SAME PLACE AS ABOVE! /scratch/rice/t/trainNN – Edits gedit filename filename – Moves a file or directory, possibly to a new directory, possibly mv oldname newname – renaming the file or directory in the process Copies files cp oldname newname – Copies olddir and all files and subdirectories within cp olddir newdir –r – removes filename rm filename – creates dirname mkdir dirname – removes but only if is empty dirname, dirname Rmdir dirname –
Big Data Training for Translational Omics Research Computer commands Login to Thinlinc using Firefox. Browse to In a Terminal window on Thinlinc, type: ssh -Y rice to to a Rice front-end From a Rice front-end, type: startnode20 to start a session on an actual Rice node On a Rice node, type Terminal & to launch additional Terminal windows On a Rice node: Type ls to list files in the current directory Type ls -l to list files with more detail Type ll to list files with even more detail Type pwd to see full path to current directory Type cd dirname to change directories Type cd .. to go to the parent directory, or cd ../.. to go to the grandparent, etc. Type cd ~ to go to your home directory Type cd /depot/nihomics to go to the main workshop data directory /home/trainNN – Your home directory /depot/nihomics – Contains data files and scripts used in the workshop (O: drive) /home/trainNN/scratch – Scratch directory where you will be saving output files, scripts (R: drive) /scratch/rice/t/trainNN – SAME PLACE AS ABOVE! gedit filename – Edits filename mv oldname newname – Moves a file or directory, possibly to a new directory, possibly renaming the file or directory in the process cp oldname newname – Copies files cp –r olddir newdir – Copies olddir and all files and subdirectories within rm filename – removes filename mkdir dirname – creates dirname Rmdir dirname – removes dirname, but only if dirname is empty
bigtap-cheatsheet.docx