diff --git a/site/_includes/header.html b/site/_includes/header.html index 6d3317e..6bc2f98 100644 --- a/site/_includes/header.html +++ b/site/_includes/header.html @@ -5,7 +5,7 @@
The pass command, also known as Password Store, is an entirely offline password manager that uses GPG for encryption with the ability to sync the (entirely encrypted) passwords using git. pass works on MacOS (avaliable via Homebrew), Linux and on Android (with a GUI app). Think of it as an entirely FLOSS -alternative to services like Keypass or Dashlane. +alternative to services like Keypass or Dashlane. +
pass
git
Excluding the initial setup (that requires the creation of a GPG key), pass is very easy and straightforward to use: instead of printing passwords to stdout, pass copies them in the system clipboard, erasing them after a certain number of seconds (usually -45). +45). +
pass has many unofficial GUI clients and migration scripts from other password managers. For more information, check out -the official website. +the official website.
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. +
{website}/{username}
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) +
-c
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. +
pass git
pass git push
-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
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. +
+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.
+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.
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!