LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2017, 08:58 AM   #1
jinp
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
Meaning of "```bash"


Somewhere I saw the commands

```bash
luarocks install cudnn
```
when type the first command it show prompt
>>
second one the same
>>
third one it get back to normal prompt

ls shows no files
need to type exit,
then there are some message and ls shows files

what is the meaning of ```bash?
and what state it entered?

Thanks
 
Old 02-24-2017, 11:05 AM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Xubuntu, Manjaro
Posts: 759
Blog Entries: 3

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
There is no "meaning", it is for stylistical purpose in the markdown language. What you have seen is part of a markdown file: https://github.com/jcjohnson/denseca...54fe03d90eb201

That markdown (.md) file looks like this with formatting:
https://github.com/jcjohnson/densecap

So, ``` "means" syntax highligting in markdown.

Read more here:
https://guides.github.com/features/mastering-markdown/

Last edited by HMW; 02-24-2017 at 11:07 AM.
 
4 members found this post helpful.
Old 02-24-2017, 12:07 PM   #3
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,356
Blog Entries: 11

Rep: Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327Reputation: 2327
Wordpress for example, is notorious for screwing up, I mean Marking Up "--"
 
1 members found this post helpful.
Old 02-24-2017, 09:45 PM   #4
jinp
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks
It is README.md file, did not know what md stands for. So in xterminal no need to enter first and third commands?
 
Old 02-25-2017, 02:15 AM   #5
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,507

Rep: Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890
In the future, instead of saying "Somewhere I saw the commands", which in of it self is useless information, had you of said, "I was reading a README.md file and saw the following:", people reading
your question would know instantly what you are talking about.
 
4 members found this post helpful.
Old 03-01-2017, 12:08 PM   #6
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 558

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by grail View Post
In the future, instead of saying "Somewhere I saw the commands", which in of it self is useless information, had you of said, "I was reading a README.md file and saw the following:", people reading
your question would know instantly what you are talking about.
You're right... Fortunately HMW knew instantly what he was writing about .
 
Old 06-13-2017, 09:19 AM   #7
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 337

Rep: Reputation: 36
I came here because I saw
```bash
cd /path/to/the/project
php init_db.php
```

and I wondered what do they mean by ``` ?

Yes, I was in a README.md but I would not have known that that had any bearing on the question. If I had known there was a relation I wouldn't have had the question. Just saying
 
Old 06-13-2017, 10:32 AM   #8
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 3,160

Rep: Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947Reputation: 947
> and I wondered what do they mean by ``` ?

It means "be prepared, the code starts in the next line"
 
Old 06-27-2017, 06:06 AM   #9
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 558

Rep: Reputation: 187Reputation: 187
https://daringfireball.net/projects/markdown/syntax

(Woops, sorry, didn't saw the earlier answers...)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
what is the meaning of "e" in "double freq = 914.0e6; // frequency" er.poojasahu@gmail.com Linux - Wireless Networking 3 12-17-2013 01:57 AM
What is the meaning of using "__KERNEL__" and "MODULE" macro? nithima Linux - Newbie 1 10-18-2010 08:26 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
C/C++ functions similar to BASH's "cp", "mv", "mkdir", etc? kornerr Programming 10 04-23-2006 09:48 AM


All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration