Giter Site home page Giter Site logo

mer2024's Introduction

Marine Resources Genomics 2024

Introduction to GNU/Linux

Load an interactive mode in Arina cluster

interactive -n 4 -p vfast -r mer1

Exercise 1

  1. Open your terminal
  2. What's the path to your current directory?
  3. How many folders does this directory contain?
  4. Navigate to /home/username/MER2024/ehu_genomic_data
  5. Navigate to your home directory
  6. Make a new directory called "linux_intro"
  7. Navigate into the "linux_intro" directory
SOLUTION

pwd
ls
cd /home/username/MER2024/ehu_genomic_data
cd
mkdir linux_intro
cd /linux_intro

Exercise 2

  1. Create a textfile called "delete_me.txt"
  2. Create a directory called "delete_me"
  3. Move "delete_me.txt" to "delete_me"
  4. Delete the directory
SOLUTION

touch delete_me.txt
mkdir delete_me
mv delete_me.txt delete_me
rm -r delete_me

Exercise 3

  1. Save the first line of the file "WatsonCrikck1953.txt" as "papertittle.txt"
  2. Save the remaining lines as "mainbody.txt"
SOLUTION

head -1 WatsonCrick1953.txt > papertitle.txt
tail -n +2 WatsonCrick1953.txt > mainbody.txt

Exercise 4

  1. How many values are in "numbers.list" file?
  2. How many unique values are in "numbers.list" file?
SOLUTION

wc -l numbers.list
sort -u numbers.list | wc -l

mer2024's People

Contributors

ljchueca avatar

Watchers

 avatar  avatar

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.