From 2404763b4b798a7b828d27fee1528858172e51df Mon Sep 17 00:00:00 2001
From: maggicl
For more detailed explainations on the setup process or on any commands please check out the online version of the man page, which is @@ -47,54 +54,71 @@ surprisingly more readable that most of the man pages for other utilities.
Common pass
commands are shown below. For more information refer
-to the documentation linked above.
+to the documentation linked above.
+
Example: Initialize the password repository with a GPG key with id "0DEADBEEF" +
pass init 0DEADBEEF+
Example: Insert a password for example.com with username bob in the password repository interactively +
pass insert example.com/bob+
Please note that the password name here follows the most common
naming convention in pass
, which is
{website}/{username}
. Passwords can be stored in
hierarchical structures (i.e. in nested folders), but the naming is up to the
-user.
+user.
+
Example: Generate a password for zombo.com of 16 characters and copy it in the clipboard +
pass generate -c zombo.com/bob 16+
Example: Retrieve the password for google.com and copy it in the system
clipboard (-c
flag)
+
pass -c google.com/bob@gmail.com+
Example: Edit the password for facebook.com using the default editor +
pass edit facebook.com/bob+
Edit: Convert the password repository to a git repository for synchronization +
pass git init+
Every git
command on the password repository must be given with
the prefix pass git
(e.g. pass git push
). An
automatic commit is performed whenever a password is created, edited or
deleted.
+
-The cd
command is used to change the working directory
-The name stands for Change Directory.
+The cd
command is used to change the working directory
+The name stands for Change Directory.
The default cd command syntax is:
+
cd [flags] [path]+
Where [flags] are the cd flags, read below for more info,and [path] is the
-path (absolute or relative), of the directory which we want to make as working directory.
+path (absolute or relative), of the directory which we want to make as working directory.
+
cd
in order to change the working directory
+
+Let's see how to use the command cd
in order to change the working directory:
+
pwd @@ -35,10 +40,12 @@ pwd ~/Desktop/multimedia+
As you can see, we changed the working directory from ~ (which stands for HOME),
to "multimedia". Now our Shell will work on the directory "multimedia"
-until a new cd
will occour.
+until a new cd
will occour.
+Notice: If you want to move to a directory which is not contained in the current working directory, you MUST use the absolute path.
diff --git a/site/pages/info/project.html b/site/pages/info/project.html index e6dfe05..8697c58 100644 --- a/site/pages/info/project.html +++ b/site/pages/info/project.html @@ -7,31 +7,25 @@ author: Matteo Omenetti title: About the project --- -
+This is the final project of the course “Software Atelier 1” hosted by the University of Lugano.
For this project, the informatics students of the first year got divided into two groups,
-each made up of 25 students.
-
+each made up of 25 students.
The goal of this project was to put into practice all the skills obtained during the entire
-duration of this course: Latex, HTML, CSS, Unix Shell and SVN.
-
-The students had about 4 weeks to develop, from the ground up, this 100 pages website.
-
+duration of this course: Latex, HTML, CSS, Unix Shell and SVN.
+The students had about 4 weeks to develop, from the ground up, this 100 pages website.
A great coordination was needed to develop
such a big website in such a short time. For this reason some students had to take care of
-specific tasks, such as managing the SVN repository and developing the CSS templates.
-
+specific tasks, such as managing the SVN repository and developing the CSS templates.
Our topic (Unix Shell) got divided into three macro sections, each taking care of a
number of commands based on their advancement level, therefore there is a basic,
-intermediate and advance section commands.
-
+intermediate and advance section commands.
Each macro section had its own leader, that was responsible for overseeing the conduct
of the other team members within his group.
Then each team leader reported back to group leader, that was responsible for the success
-of the entire project.
-
+of the entire project.
The ultimate goal of this website is to provide, to the future first-year students,
a useful and human readable guide that can guide
them through the learning process of this fundamental tool. This website in intended
diff --git a/site/pages/topic/about.html b/site/pages/topic/about.html
index fa67546..534ac70 100644
--- a/site/pages/topic/about.html
+++ b/site/pages/topic/about.html
@@ -2,4 +2,5 @@
layout: topic
category-page: about
title: About
+author: Frontpage team
---
diff --git a/site/pages/topic/cmd/advanced.html b/site/pages/topic/cmd/advanced.html
index 178570d..82204a7 100644
--- a/site/pages/topic/cmd/advanced.html
+++ b/site/pages/topic/cmd/advanced.html
@@ -2,6 +2,7 @@
layout: topic
category-page: advanced
title: Advanced Commands
+author: Advanced commands team
---
diff --git a/site/pages/topic/cmd/basic.html b/site/pages/topic/cmd/basic.html
index 4b82e88..cd8b336 100644
--- a/site/pages/topic/cmd/basic.html
+++ b/site/pages/topic/cmd/basic.html
@@ -2,6 +2,7 @@
layout: topic
category-page: basic
title: Basic Commands
+author: Basic commands team
---
If you are new to the shell or a beginner who just want to refresh his knowledge this is the section for you. Move your first steps in this interface by learning and trying this selection of basic commands which allow you to do routine operations in a different way.
diff --git a/site/pages/topic/cmd/interm.html b/site/pages/topic/cmd/interm.html index e83cd6a..d0e3416 100644 --- a/site/pages/topic/cmd/interm.html +++ b/site/pages/topic/cmd/interm.html @@ -2,6 +2,7 @@ layout: topic category-page: intermediate title: Intermediate Commands +author: Intermediate commands team --- diff --git a/site/pages/topic/fs.html b/site/pages/topic/fs.html index f7abb88..8cdc9a4 100644 --- a/site/pages/topic/fs.html +++ b/site/pages/topic/fs.html @@ -2,6 +2,7 @@ layout: topic category-page: fs title: Filesystem +author: Filesystem team ---The File System (FS) shell includes various shell-like commands that directly interact with the Hadoop Distributed File System (HDFS) as well as other file systems that Hadoop supports, such as Local FS, HFTP FS, S3 FS, and others. The FS shell is invoked by: diff --git a/site/pages/topic/scripts.html b/site/pages/topic/scripts.html index a5b4a41..84507f3 100644 --- a/site/pages/topic/scripts.html +++ b/site/pages/topic/scripts.html @@ -2,6 +2,7 @@ layout: topic category-page: scripts title: Scripting +author: Scripting team --- -
Here we will learn the basic of shell scripting...
+Here we will learn the basic of shell scripting!