This 3th slide deck of the training 'Introduction to linux for bioinformatics' gives a broad overview of the file system structure of linux. We very gently introducte the command line in this presentation.
Part 6 of "Introduction to linux for bioinformatics": Productivity tipsJoachim Jacob
This is part 6 of the training "Introduction to linux for bioinformatics". Here we show basic tips to become rapidly more efficient on the command line. Interested in following this training session? Please contact me at http://www.jakonix.be/contact.html
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...Joachim Jacob
This is part 5 of the training "introduction to linux for bioinformatics". Here we introduce more advanced use on the command line (piping, redirecting) and provide you a selection of GNU text mining and analysis tools that assist you tremendously in handling your bioinformatics data. Interested in following this training session? Contact me at http://www.jakonix.be/contact.html
Part 4 of 'Introduction to Linux for bioinformatics': Managing data Joachim Jacob
This is part 4 of the training session 'Introduction to Linux for bioinformatics'. We shows basics of data management, and tips for handling big data effectively. Interested in following this training session? Please contact me at http://www.jakonix.be/contact.html
This 1st presentation in the training "Introduction to linux for bioinformatics" gives an introduction to Linux, and the concepts by which Linux operates.
BITS: Introduction to Linux - Text manipulation tools for bioinformaticsBITS
This slide is part of the BITS training session: "Introduction to linux for life sciences."
See http://www.bits.vib.be/index.php?option=com_content&view=article&id=17203890%3Abioperl-additional-material&catid=84&Itemid=284
Part 6 of "Introduction to linux for bioinformatics": Productivity tipsJoachim Jacob
This is part 6 of the training "Introduction to linux for bioinformatics". Here we show basic tips to become rapidly more efficient on the command line. Interested in following this training session? Please contact me at http://www.jakonix.be/contact.html
Part 5 of "Introduction to Linux for Bioinformatics": Working the command lin...Joachim Jacob
This is part 5 of the training "introduction to linux for bioinformatics". Here we introduce more advanced use on the command line (piping, redirecting) and provide you a selection of GNU text mining and analysis tools that assist you tremendously in handling your bioinformatics data. Interested in following this training session? Contact me at http://www.jakonix.be/contact.html
Part 4 of 'Introduction to Linux for bioinformatics': Managing data Joachim Jacob
This is part 4 of the training session 'Introduction to Linux for bioinformatics'. We shows basics of data management, and tips for handling big data effectively. Interested in following this training session? Please contact me at http://www.jakonix.be/contact.html
This 1st presentation in the training "Introduction to linux for bioinformatics" gives an introduction to Linux, and the concepts by which Linux operates.
BITS: Introduction to Linux - Text manipulation tools for bioinformaticsBITS
This slide is part of the BITS training session: "Introduction to linux for life sciences."
See http://www.bits.vib.be/index.php?option=com_content&view=article&id=17203890%3Abioperl-additional-material&catid=84&Itemid=284
Part 2 of 'Introduction to Linux for bioinformatics': Installing softwareJoachim Jacob
This is part 2 of the training session 'Introduction to Linux for bioinformatics'. We explain different ways how software can be installed. Interested in following this training session? Please contact me at http://www.jakonix.be/contact.html
Part 1 of 'Introduction to Linux for bioinformatics': IntroductionJoachim Jacob
This is part 1 of the training session 'Introduction to Linux for bioinformatics'. We explain in very general terms what Linux is and stands for, and how we can get access to it. Interested in following this training session? Please contact me at http://www.jakonix.be/contact.html
A beginners guide to get familiar with the Linux and learn the most commonly and frequently used commands. Most of the commands are expected to run across all well known Linux distributions. Plus, there are a few commands for the advanced users as well.
here you will get basic idea about TERMINAL. you learn some basic commands. with the help of that commands you can make new folder(directory), new file with .txt or any other extension.you will learn HOW to make multiple folder in just one second. you will find Important information about the Linux terminal.
Unix , Linux Commands
Unix, which is not an acronym, was developed by some of the members of the Multics team at the bell labs starting in the late 1960's by many of the same people who helped create the C programming language.
BITS - Comparative genomics on the genome levelBITS
This is the third presentation of the BITS training on 'Comparative genomics'.
It reviews the basic concepts of sequence homology on the gene
Thanks to Klaas Vandepoele of the PSB department.
Part 2 of 'Introduction to Linux for bioinformatics': Installing softwareJoachim Jacob
This is part 2 of the training session 'Introduction to Linux for bioinformatics'. We explain different ways how software can be installed. Interested in following this training session? Please contact me at http://www.jakonix.be/contact.html
Part 1 of 'Introduction to Linux for bioinformatics': IntroductionJoachim Jacob
This is part 1 of the training session 'Introduction to Linux for bioinformatics'. We explain in very general terms what Linux is and stands for, and how we can get access to it. Interested in following this training session? Please contact me at http://www.jakonix.be/contact.html
A beginners guide to get familiar with the Linux and learn the most commonly and frequently used commands. Most of the commands are expected to run across all well known Linux distributions. Plus, there are a few commands for the advanced users as well.
here you will get basic idea about TERMINAL. you learn some basic commands. with the help of that commands you can make new folder(directory), new file with .txt or any other extension.you will learn HOW to make multiple folder in just one second. you will find Important information about the Linux terminal.
Unix , Linux Commands
Unix, which is not an acronym, was developed by some of the members of the Multics team at the bell labs starting in the late 1960's by many of the same people who helped create the C programming language.
BITS - Comparative genomics on the genome levelBITS
This is the third presentation of the BITS training on 'Comparative genomics'.
It reviews the basic concepts of sequence homology on the gene
Thanks to Klaas Vandepoele of the PSB department.
BITS - Protein inference from mass spectrometry dataBITS
This is the fifth presentation of the BITS training on 'Mass spec data processing'.
It reviews the problems of determining protein sequences of mass spec data, how to deal with it, with an overview of useful tools.
Thanks to the Compomics Lab of the VIB for their contribution.
This is the last presentation of the BITS training on 'Comparative genomics'.
It reviews tthe Contra tool for detecting common transcription factor binding sites in sequences.
Thanks to Stefan Broos of the DMBR department of VIB
RNA-seq for DE analysis: detecting differential expression - part 5BITS
Part 5 of the training sesson 'RNA-seq for differential expression analysis' considers the algorithm used for detecting differential expression between conditions. See http://www.bits.vib.be
This is the first presentation of the BITS training on 'Comparative genomics'.
It reviews the basic concepts of sequence homology on different levels.
Thanks to Klaas Vandepoele of the PSB department.
RNA-seq for DE analysis: the biology behind observed changes - part 6BITS
Part 6 of the training sesson 'RNA-seq for differential expression analysis' considers gene set analysis for inferring biology from RNA-seq data. See http://www.bits.vib.be
RNA-seq for DE analysis: extracting counts and QC - part 4BITS
Part 4 of the training sesson 'RNA-seq for differential expression analysis' considers extracting the count table from a mapping, and performing QC to detect sample biases. See http://www.bits.vib.be
AGRF in conjunction with EMBL Australia recently organised a workshop at Monash University Clayton. This workshop was targeted at beginners and biologists who are new to analysing Next-Gen Sequencing data. The workshop also aimed to provide users with a snapshot of bioinformatics and data analysis tips on how to begin to analyse project data. An introduction to RNA-seq data analysis was presented by AGRF Senior Bioinformatician Dr. Sonika Tyagi.
Presented: 1st August 2012
BITS - Comparative genomics: gene family analysisBITS
This is the second presentation of the BITS training on 'Comparative genomics'.
It reviews the different methods of investigating sequence homology on the gene family level.
Thanks to Klaas Vandepoele of the PSB department.
Projekt sociala ekonomin i motala - slutrapport 2015Jonas Lagander
Rekommendationer till Motala Kommun om strategier för stöd till sektorn social ekonomi. Detta ur ett brett perspektiv men med fokus på arbetsträning och socialt företagande.
Mer info på www.motala.se/socialekonomi
BITS: Introduction to Linux - Software installation the graphical and the co...BITS
This slide is part of the BITS training session: "Introduction to linux for life sciences."
See http://www.bits.vib.be/index.php?option=com_content&view=article&id=17203890%3Abioperl-additional-material&catid=84&Itemid=284
Linux Administration in this basic commands are there & also advanced commands are also there,It will be very use full for everyone who are all intrested in learning Linux,Which means everyone learn Linux esaliy.
BITS - Overview of sequence databases for mass spectrometry data analysisBITS
This is the fourth presentation of the BITS training on 'Mass spec data processing'.
It review sequences databases and their flaws in light of mass spectrometry data analysis.
Thanks to the Compomics Lab of the VIB for their contribution.
This is the third presentation of the BITS training on 'Mass spec data processing'.
It reviews the methods for matching mass spectrometry data with protein sequences, with review of useful tools.
Thanks to the Compomics Lab of the VIB for contribution.
This is the second presentation of the BITS training on 'Mass spec data processing'.
It reviews the methods for separating protein mixtures prior to further analysis.
Thanks to the Compomics Lab of the VIB for contribution.
BITS - Introduction to Mass Spec data generationBITS
This is the first presentation of the BITS training on 'Mass spec data processing'.
It reviews the basic concepts of mass spectrometry data generation.
Thanks to the Compomics Lab of the VIB for contribution.
These is the second part of the lecture slides of the BITS bioinformatics training session on the UCSC Genome Browser.
See http://www.bits.vib.be/index.php?option=com_content&view=article&id=17203990:orange-genome-browsers-ucsc-training&catid=81:training-pages&Itemid=190
These are the lecture slides for the BITS training session "Introduction to programming in Bioperl".
See for more material: http://www.bits.vib.be/index.php?option=com_content&view=article&id=17203793:bioperl-additional-material&catid=84&Itemid=610
This is the presentation of the BITS training session on "Essential statistics".
View more material on http://www.bits.vib.be/index.php?option=com_content&view=article&id=17203865:essential-statistics&catid=81:training-pages&Itemid=190
These are the first lecture slides of the BITS bioinformatics training session on the UCSC Genome Browser.
See http://www.bits.vib.be/index.php?option=com_content&view=article&id=17203990:orange-genome-browsers-ucsc-training&catid=81:training-pages&Itemid=190
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
2. Meet your Linux system
We'll see how a Linux system is organised
– into folders
– into files
– into partitions
3. Meet your Linux system
Follow a along: open
on the desktop.
('Computer' is specific for Linux Mint, won't find it on other Linuxes)
Read the contents of a CD/DVD
Read the hard disk
4. The root directory
The disk on your computer, which runs Linux is called /
or also referred to as the root directory.
It is the start of the file system. Enter the folder home.
5. The home folder
One of the folders under root is called home. Starting
from the root directory, the path to home is /home.
/home contains one or more folders: one for every
user on the system. Double-click on your home folder.
6. Permissions in your home
The complete path to your home folder is …..................
Linux is very secure. Only in your home folder you can
create files and folders, usually not anywhere else.
7. Create the folder bin in your home
Use the mouse (right-click), or press ctrl+shift+n, or,
go via the File menu.
Later, we will put scripts in this folder.
Create
this
folder
8. Visualize the tree structure
Go back to the root directory. Change the view to 'List'.
9. Visualize the tree structure
Clicking on the '+' expands the contents of that folder.
Below is the path visualized:
/home/joachim/Downloads/clustalw_2.1+lgpl-2_amd64.deb
15. Everything is a file in Linux
/dev/sda
/proc/meminfo
/dev/mouse1
/dev/input1
“Everything is a file in linux”: devices, and their
statuses are accessible by reading the contents of
the paths to the respective files.
Note: only text files can be displayed in human
readable format in text editors.
http://tldp.org/LDP/intro-linux/html/sect_03_01.html
http://en.wikipedia.org/wiki/Everything_is_a_file
16. Configurations are in plain text files
The text file
/etc/passwd
contains info
about the users
on your system
17. Natural fit of bioinformatics and Linux
Because of this amount of text, Linux comes with a lot
of command line tools to manipulate / search /
analyse text files.
Similarity with Bioinformatics,
which stores data also
pre-dominantly in large text
files.
18. Using the terminal as a solution
Before the rise of the nice desktops, users had only this:
Press ctrl + alt + F1
This means – users needed to navigate around on
their computers, read files, create files, print, run
programs, play games,... all from the command
line.
And yes, this is possible.
19. Using the terminal as a solution
Before the rise of the nice desktops, users had only this:
Press ctrl + alt + F1
(Lesson one in using Linux. Tux is friendly, but strict.)
Press ctrl + alt + F7
20. Access to a terminal
●
Open a terminal program using the menu:
Connect to a terminal over the internet, e.g. using Putty
installed on a Windows machine.
●
http://www.putty.org/
21. Your first steps in a terminal
We end up with this:
A terminal accepts only input from the keyboard, the
command line. You can only type. What you type gets
interpreted by the program Bash, which will then do
what you ask.
http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29
22.
23. Few important things
A command line is always positioned somewhere in the
file system.
● What you type is case-sensitive
● The prompt line can be customized, but by default it
shows:
● Username
● @
● Machinename
● Current location ('working directory'),
●
24. Check where your shell is positioned
...
After typing your command,
press <enter> to execute
a command.
pwd = print working directory
25. Navigating in the file system
The result is that the prompt
has changed position from:
ls = list contents of current directory
cd = change to this directory
The word after 'cd' matches a directory.
We tell 'cd' to go to this directory. This
Additional word is called an argument.
What will happen if we type 'ls' now?
26. Navigating in the file system
The result is that the prompt
has changed position from:
27. Running a command on a file
In a working directory, we can provide a file name as an
argument to a command. In the Downloads directory, we can
for example check a file type with the command file.
Argument points to a file
file = shows the file type of the file passed as argument
28. You never walk alone
A Linux system comes with batteries included: only they
are called man-pages (manual).
The program man displays the manual for the program
provided as argument.
For example: the manual of ls.
http://www.thegeekstuff.com/2013/09/man-command/
29. You never walk alone
Execute the program 'man'
with argument 'ls', meaning:
show me the manual of ls
31. Usage tips for the program man
and
PgUp
PgDown or space
< and >
/
n
q
scroll up and down
previous page
next page
begin and end of the text file
search (forward)
next search hit
to exit
( The command man uses less under the hood to display the manual page.)
32. Fine-tuning commands behaviour
Reading man pages you can find how to use the
arguments and options.
Setting these influences the way commands behave.
Options precede arguments, and are separated from the
command (and from each other) by spaces. They usually
start with '-' or '--'.
For example:
$ ls -l /bin
Program (first
thing you type
should always be
a program)
From now on this will be the
notation for command line
instructions as a normal user
Option: you want
'ls' to change default
behaviour: -l adds
more info ('long').
Argument: on what
content (file,
directory,...) should
ls operate.
33. Help! The most used option
Another way to get help, besides the man pages,
is to invoke the option '--help'. Nearly every
command has this option.
34. Short and long options
Some options have two names: a short and a long
name. Short are one character long, and start with a '-'.
Long options are usually a word, and are preceded by
'--'.
35. Short options peculiarities
You can add multiple options to the command.
(the given order is seldom important)
$ ls -l -t /bin
$ ls -t -l /bin
Using short options allow you to combine several
options in one string.
$ ls -r -l -t
$ ls -rtl
36. Long options
'Long' options consist of -- (two dashes) followed
by the name of the option (string):
$ ls -–recursive
Long options cannot be combined like their
'short' counterparts
37. Options can also have arguments
For example, show the contents of the
directory, sorted by size of the files.
We use the option --sort for this: the argument
to sort must follow the option:
$ ls --sort=size /bin
the '=' sign is optional
An example of an argument to a short option:
–
●
$ ls -w 80 /bin
the space between option name and argument
is optional
38. Different combinations of options
$
$
$
$
ls
ls
ls
ls
-lr -w 80 /bin
-rlw 80 /bin
-wrl 80 /bin
# NOK
-w80 /bin -lr
39. Some basic commands
Command
Explanation
pwd
Print working directory
ls
Print content of directory
cd
Change directory
cat
Print the contents of a file
cp
Copy a file
mv
Move a file
rm
Remove a file
less
Read the contents of a file
clear
Clear the terminal screen
head
Show the first 10 lines of a file
tail
Show the last 10 lines of a file
nano
Text editor, to modify text files
wget
Download a file from an URL
http://wiki.bits.vib.be/index.php/Linux_Beginner%27s_Cheat_page
41. Paths and the working directory
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
42. Paths and the working directory
~ $ cd Downloads
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
43. Paths and the working directory
~/Downloads $ cd ..
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
44. Paths and the working directory
~ $ cd ../../usr
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
45. Paths and the working directory
/usr $ cd local/bin
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
46. Paths and the working directory
/usr/local/bin $ cd ../../../home/james
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
47. Relative paths
The argument – the path to the directory in this case is relative to the current working directory.
In other words: which steps do we take from the
current directory to reach the destination.
/usr/local/bin $ cd ../../../home/james
/usr $ cd local/bin
~ $ cd ../../usr
~ $ cd Downloads
~/Downloads $ cd ..
48. Absolute paths
Sometimes it is more convenient to point to the
complete – or absolute - path of the directory,
starting from the root directory.
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
/home/james/Downloads
bin
sbin
share
local
bin
sbin
share
49. Paths and the working directory
~ $ cd /home/james/Downloads
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
50. Paths and the working directory
~/Downloads $ cd /home/james
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
51. Paths and the working directory
~ $ cd /usr
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
52. Paths and the working directory
/usr $ cd /usr/local/bin
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
53. Paths and the working directory
/usr/local/bin $ cd /home/james
/
bin
boot
dev
etc
home
media
root
sbin
tmp
usr
var
james
Downloads
bin
sbin
share
local
lib
log
mail
run
spool
tmp
bin
sbin
share
54. Relative versus absolute paths
Relative ↔ absolute (starts always with / - the root)
/usr/local/bin $ cd ../../../home/james
/usr/local/bin $ cd /home/james
/usr $ cd local/bin
/usr $ cd /usr/local/bin
~ $ cd ../../usr
~ $ cd /usr
~ $ cd Downloads
~ $ cd /home/james/Downloads
~/Downloads $ cd ..
~/Downloads $ cd /home/james
55. Hidden directories
●
Compare the output of ls versus ls -a
●
Check with the file manager your home.
●
Hidden files and folders start with '.'. They are
not shown by default.
56. Moving data around
●
Copy files:
$ cp <what> <to where>
●
Move files:
$ mv <what> <to where>
●
Remove files:
$ rm <filename>
Absolute or relative paths to the files
57. Moving data around
If we have following directory structure...
Downloads/
~
Annotation/
Rice/
Projects/
Butterfly/
Sequences/
58. Moving data around
If we have following directory structure...
Downloads/
~
Annotation/
Rice/
Projects/
Sequences/
Butterfly/
~ $ mkdir -p Projects/{Rice/{Annotation,Sequences},Butterfly}
~ $ cd ~/Downloads
~ $ wget http://dl.dropbox.com/u/58174806/Linuxsample.sam
59. Moving data around
Sample directory structure
Downloads/alignment.sam
~
Right
Rice/ click
Projects/
Annotation/
Sequences/
Butterfly/
~ $ mkdir -p Projects/{Rice/{Annotation,Sequences},Butterfly}
~ $ cd ~/Downloads
~ $ wget http://dl.dropbox.com/u/58174806/Linuxsample.sam
60. Moving data around
If we have following directory structure...
Downloads/Linuxsample.sam
~
Annotation/
Rice/
Projects/
Sequences/
Butterfly/
~ $ mkdir -p Projects/{Rice/{Annotation,Sequences},Butterfly}
~ $ cd ~/Downloads
~ $ wget http://dl.dropbox.com/u/58174806/Linuxsample.sam
61. Moving data around
Rename the downloaded Linuxsample.sam
Downloads/alignment.sam
Current working dir
~
Linuxsample.sam
Annotation/
Rice/
Projects/
Sequences/
Butterfly/
~/Downloads $ pwd
/home/joachim/Downloads
~/Downloads $ ls
Linuxsample.sam
~/Downloads $ mv Linuxsample.sam alignment.sam
62. Moving data around
Move the sam file
Downloads/alignment.sam
Current working dir
~
Annotation/
Rice/
Projects/
Sequences/
Butterfly/
~/Downloads $ mv alignment.sam ../Projects/Rice/Annotation/
63. Moving data around
Copy the sam file
Downloads/
Current working dir
~
Annotation/alignment.sam
Rice/
Projects/
Sequences/
Butterfly/
~/Downloads $ cp
../Projects/Rice/Annotation/alignment.sam
../Projects/Butterfly/
64. Moving data around
Copy the complete directory
Downloads/
Current working dir
~
Annotation/alignment.sam
Rice/
Projects/
Sequences/
Butterfly/alignment.sam
~/Downloads $ cp -R ~/Projects/Rice/Annotation/
../../Butterfly/
65. Reading files
Downloads/
Current working dir
~
Annotation/alignment.sam
Rice/
Projects/
Butterfly
Sequences/
alignment.sam
Annotation/alignment.sam
What kind of file is .sam?
66. Reading files
Downloads/
Current working dir
~
Annotation/alignment.sam
Rice/
Projects/
Butterfly
Sequences/
alignment.sam
Annotation/alignment.sam
$ cat : display the content of the file at once
$ less : display the content page by page
$ nano : edit the content of the file
69. Reading files
Display first or last lines of a text file, with head or
tail.
~/Projects/Butterfly $ head alignment.sam
~/Projects/Butterfly $ tail alignment.sam
70. Question
How can I display the first 20 lines of a text file?
~ $ head --help
...
-n, --lines=[-]K
...
print the first K lines instead of the first 10;
with the leading `-', print all but the last
K lines of each file
71. Using the terminal efficiently
1. use arrow keys
http://z-dark.deviantart.com/art/Tux-Kids-desktop-22363967
72. Using the terminal efficiently
The program 'history' keeps track of the last ~500
commands you have typed.
Use arrows to select previously typed commands
74. Using the terminal efficiently
Autocompletion, aka tab expansion: type the first letters
of the program or file, and then press <tab> key.
$ cd /h<tab>
$ cd /home/
However
$ cd /b<tab> gives you audible feedback:
there is no expansion possible
there is more than one way to expand
$ cd /b<tab><tab> shows suitable expansions
bin/ boot/
$ cd /bo<tab>
$ cd /boot/
75. Using the terminal efficiently
1. use arrow keys
2. use tab expansion
3. use shorthand notations
76. Using the terminal efficiently
AUse shorthand notations for common directories:
●
~ is your home directory
●
.
●
.. is the directory one level up
is the current directory
To execute a previous command cmd again you can
use:
$ !cmd
e.g. $ !cd