theshell.ch/site/pages/cmd/basic/ls.html

26 lines
533 B
HTML
Raw Normal View History

---
layout: page
category: Basic commands
tags: directory list
author: Claudio Maggioni
title: LS
next-page: pages/cmd/basic/cd.html
---
<p>The ls command is used to list files</p>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Hello</li>
</ul>
{% highlight ruby linenos %}
def show
puts "Outputting a very lo-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-ong lo-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-ong line"
@widget = Widget(params[:id])
respond_to do |format|
format.html # show.html.erb
format.json { render json: @widget }
end
end
{% endhighlight %}