Skip to content

Commit ec1caf1

Browse files
committed
Fix typos, add social links
1 parent 72fc4d3 commit ec1caf1

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

cheatsheet.tex

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ \section*{Tips}
5959

6060
You can navigate through your command history using the up and down arrow keys.
6161

62-
You can press tab to autocomplete a command if there is no ambiguity. Double tapping tab will show a list of possible completions if there is ambiguity
62+
You can press tab to autocomplete a command if there is no ambiguity.
63+
Double tapping tab will show a list of possible completions if there is ambiguity.
6364

6465
Generally, you should try to avoid creating directories with a space character in their names.
6566
This is because arguments passed to a command are separated by spaces.
@@ -79,7 +80,8 @@ \section*{Tips}
7980
You get 9GB in your first year, this is raised by 3GB for each subsequent year of your degree.
8081
To see how much you've got left, use the \texttt{quota} command.
8182

82-
Although it might seem pointless to use the terminal when you have a file explorer like Dolphin available, it doesn't offer as much functionality. Not only that, but over time you'll find that it might be faster to navigate using the terminal...
83+
Although it might seem pointless to use the terminal when you have a file explorer like Dolphin available, it doesn't offer as much functionality.
84+
Not only that, but over time you'll find that it might be faster to navigate using the terminal...
8385

8486
\newpage
8587

@@ -116,6 +118,11 @@ \section*{Commands and Options}
116118
\item \texttt{-f} | Remove files without confirmation, if applicable
117119
\end{itemize}
118120

121+
\Large \texttt{mv <source file> <target file>} \normalsize \\
122+
Move files from one location to another; this is also how you rename them
123+
\begin{itemize}
124+
\item \texttt{-r} | Can move directory contents recursively.
125+
\end{itemize}
119126

120127
\Large \texttt{cp <source file> <target file>} \normalsize \\
121128
Copy files from one location to another

lab.tex

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ \section*{Editing Files}
168168
\qquad \qquad \qquad \texttt{<h1>Hello world!</h1>} \\
169169
\qquad \qquad \qquad \texttt{<p>This is a test page</p>} \\
170170
\qquad \qquad \texttt{</body>} \\
171-
\qquad \texttt{<html>}
171+
\qquad \texttt{</html>}
172172

173173
Once you've done this, you can find your shiny new webpage at:
174174

175-
\qquad \texttt{https://dcs.warwick.ac.uk/~u[your student id]}
175+
\qquad \texttt{https://dcs.warwick.ac.uk/$\sim$u[your student id]}
176176

177177
...or at least you would, if you had the permissions to access it.
178178

@@ -237,9 +237,13 @@ \section*{Changing Permissions}
237237
\bfseries Task 5: \normalfont
238238
Fix the permissions for your web page.
239239
For \texttt{index.html}, give the user read and write permissions, and let the other two permission groups read.
240-
Everything else in the \texttt{public$\_$html} directory (including the directory itself) should be set to \texttt{rwx} for the user, and \texttt{rw} for the other two permission groups.
240+
Everything else in the \texttt{public$\_$html} directory (including the directory itself) should be set to \texttt{rwx} for the user, and \texttt{rx} for the other two permission groups.
241241
Make sure everything is correct afterwards.
242242

243+
Finally, you'll want to add execute permissions in the home directory itself. Type:
244+
245+
\qquad \texttt{chmod a+x .}
246+
243247
Now, time to see our public web page in all of its underwhelming glory! \\
244248
This concludes the main part of the lab.
245249

@@ -272,6 +276,8 @@ \section*{What next?}
272276

273277
This is available at \href{https://warwick.ac.uk/fac/sci/dcs/intranet/user_guide/}{\texttt{https://warwick.ac.uk/fac/sci/dcs/intranet/user$\_$guide/}}
274278

275-
See you around!
279+
If you're interested in joining the Computing society, or want to ask any other questions, we'd be happy to welcome you in our Discord community:
280+
281+
\href{https://discord.uwcs.uk}{\texttt{https://discord.uwcs.uk}} - See you around!
276282

277283
\end{document}

0 commit comments

Comments
 (0)