Author:
Muhammad Faizan Khan
(Hackbio '24)
Section 1: Essential Linux Symbols in Command-Line Operations?
- Tilde (~): Used to represent the home directory of the current user.
- Asterisk (*): Acts as a wildcard character that matches any character (of any length) in filenames or commands. For example: ls *.txt lists all file ending with .txt
- Question Mark (?): Represents a single character in a filename or command. For example ls file?.txt will list files like file1.txt, file2.txt, but not file01.txt.??
- Pipe (|): Sends the output of one command as input to another command.?For example grep "gene" file.txt | wc -l counts the number of lines containing "gene"
- Semicolon (;): ?Allows you to execute multiple commands in succession, regardless of their execution status.?For example: cd /var; ls changes the directory to /var and then lists its contents.?
- Ampersand (&): Runs a command in the background?
- Greater Than (>): Redirects the output of a command to a file, overwriting the existing content. For example: echo "Hello World" > file.txt writes "Hello World" to file.txt
- Double Greater Than (>>): Appends the output of a command to a file. For example: echo "Hello again" >> file.txt appends "Hello again" to file.txt??
- Less Than (<): Takes input from a file instead of the keyboard. For example, grep "search" < file.txt searches for "search" in file.txt.
?In the next part, we will discuss the essential commands.
For a practical guided/mentored tour on the use of these commands in solving important problems in bioinformatics, healthcare and data analysis, visit our course page (https://thehackbio.com/courses/25).
Doctorant en Microbiologie de l'Université Gamal Abdel Nasser de Conakry/ Ecole Doctorale de l'IRBAG
9 个月Very important I am a beginner of bioinformatc
Helping to Educate and Train Undergraduate & Post-graduate Students and Professional from Life-sciences Domain in Bioinformatics/Computational Biology Field | Providing Research Consultancy | CEO, Founder BioSol
11 个月Bioinformatics learning is a continuous journey. Keep helping and guiding BioSol
MLS ASCPi l MEDICAL LABORATORY SCIENTIST | CLINICAL LABORATORY SCIENTIST | MEDICAL LABORATORY TECHNOLOGIST
11 个月Thank you HackBio for this opportunity
Biomedical Engineering-Biosensors&AI ||Program Moderator|| Public Speaking|| STEM Advocate|| Student Mentor|| Student at All Nations University
11 个月Mercy Adusei Boatemaa
Bioinformatics Student | Data Scientist in Training | Python Enthusiast | Genomics Research
11 个月Helpful for beginners