Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • osian/sucs-site
  • kais58/sucs-site
  • imranh/sucs-site
  • foshjedi2004/sucs-site
  • gigosaurus/sucs-site
  • matstn/sucs-site
  • ripp_/sucs-site
  • eggnog/sucs-site
  • sucssite/sucs-site
  • elbows/sucs-site
  • realitykiller/sucs-site
  • crox/sucs-site
  • vectre/sucs-site
  • welshbyte/sucs-site
  • paperclipman/sucs-site
15 results
Show changes
<p>Another useful command is the <b>man</b> command. If you type man followed
by another command, then the instructions for that command is displayed. The
man command uses the <b>more</b> program that you used earlier and so you use
the same keys to control this program. Try the following:
</p>
<pre>man man
man who</pre>
<p>The output from the manual program often seems daunting to the beginner, but
if you learn how to interpret it, it is very useful.</p>
\ No newline at end of file
<p>There are a number of circumstances under which it is useful to be able to move the same session between computers or leave commands running in the background then come back to them later. <tt>screen</tt> is ideal for this.</p>
<p>The command is initially invoked with the following command:</p>
<pre class="console">$ screen</pre>
<p>This will start a new <tt>screen</tt> session in which you can do anything you can do in a normal session. The only difference is that it takes over <i>Ctrl-a</i> as an escape character to run its own commands. If you want to use <i>Ctrl-a</i> (Home) normally, you will need to press <i>Ctrl-a a</i>. Help is available with the key-combination <i>Ctrl-a ?</i>.</p>
<p>You can also make <tt>screen</tt> run a command directly, without going to the shell. For example, to start <a href="/wiki/milliways">Milliways</a>, you would type:</p>
<pre class="console">$ screen mw</pre>
<p>Once you are running a command, you can detatch the session with <i>Ctrl-a d</i>. If you want to end the session that you opened <tt>screen</tt> from as well, use <i>Ctrl-a DD</i>.</p>
<p>When you want to reattach the session, you can use:</p>
<pre class="console">$ screen -r</pre>
<p>If you left the screen attached and want to close that terminal and reconnect it in your current session, use:</p>
<pre class="console">$ screen -Dr</pre>
<p>You can also reattach the session without closing it elsewhere. The command for this is:</p>
<pre class="console">$ screen -x</pre>
\ No newline at end of file
<p>There is a number of important things to know about the way files work in a UNIX environment, particularly if you are used to the way Windows handles files.</p>
<p>Firstly, it is important to note that filenames are <span style="font-weight: bold;">case sensitive</span>. This means that <tt>filename</tt> is not the same as <tt>Filename</tt> and <tt>FILENAME</tt> is different again. This may take some getting used to as in Windows, any of the names would refer to the same file.</p>
<p>All files have a number of attributes associated with them. To view these, you use the <tt>-l</tt> flag with the <tt>ls</tt> command like so:</p>
<pre class="console">$ ls -l<br />total 8<br />-rw-r--r-- 1 dez users 1928 Dec 24 15:59 wibble</pre>
<h3>Permissions</h3>
<p>The <tt>-rw-r--r--</tt> section denotes the permissions of the file. The first indicates the type of file (- for normal, l for link, d for directory (folder)). The other nine are in three groups of three - user, group and world (or other). In each group the three characters represent the same properties: read, write and execute (r, w and x respectively). So in the example above, the user can read from and write to the file, members of the group can only read from it, as can others (i.e. anyone who isn't the user or in the group). Permissions can be altered using the <tt>chmod</tt> command.</p>
<h3>User and Group</h3>
<p>The following two columns specify the name of the user and group the file belongs to. The user will be the name you log in with (and you can see this by typing <tt>whoami</tt>); the group could be any of the groups of users that exists. To see which groups you are a member of, type <tt>groups</tt>. As a new user, you are likely to only be in the group "users" but you may be added to others if necessary. For example, if you were working on a team project, you might get a group set up for the members of the team, allowing you all to edit the files for the project while not allowing anyone else to. File ownership can be changed with the <tt>chown</tt> command, and file group with <tt>chgrp.</tt></p>
<h3>Size, Date and Filename</h3>
<p>The last three columns show the size of the file in bytes, the date and time the file was last modified and the name of the file. There's not really much to be said about these. :-)</p>
\ No newline at end of file
This guide is intended to help those of you who are familiar with Windows to get cosy with Linux.<br /><br />Based on my experience, this isn&#39;t so easy unless you either have:<br /><ol><li>A friendly guide to help you (Luckily for you, you&#39;re reading one!)</li><li>A lot of time, and incredibly long attention span.</li><li>Lots of helpful old timers (But only if you have a sensible question that cannot be answered by, for example, a simple <a href="http://www.google.co.uk">Google</a> search!)</li></ol>And with that, we begin!<br />If you really want an amazing guide, which is not written in terms of Windows applications, then I suggest you either go <a href="../../../../undefined//Knowledge/Help" title="Help Guide">here</a> (SUCS help, probably where you just came from) or <a href="http://www.cs.swan.ac.uk/~csandy/cs-244/linux/" title="Andy Gimblett&#39;s Linux Course site">here</a> (course notes from Andy Gimblett for CS244 (Linux and C programming))<br />So, onward...<br /><br /><span style="font-weight: bold">Contents<br /></span><ol><li><a href="Windows%20to%20Linux/How%20Windows%20login%20differs">Logging in, and the advantages of Linux Login</a><br /></li><li><a href="Windows%20to%20Linux/Email%20Setup">Setting up e-mail</a></li><li>Using the Internet</li><li>Word processing/Office equivalent applications</li><li>Basic functions (file handling)</li><li>Printing</li><li>Scanning</li><li>CD/DVD Burning</li><li>Setting up your webspace</li></ol>This is still in the workings, so if you have any ideas for anything to add I shall do my best to seek out answers; simply email me (<a href="mailto:stringfellow@sucs.org" title="Email Stephen Pike">stringfellow@sucs.org</a>)<br />
Email; We all use it somehow or other and so it is one of the important things to be able to use straight away in Linux (as far as I was concerned anyway; its a bit like losing your mobile in the computing world)<br /><br />So, there are various ways we can use email, and most of which you will probably already be familiar with. We&#39;ll start with the easiest...<br /><h3>WebMail</h3>OK, so WebMail... there really isn&#39;t much to say about this- <br /><blockquote>You need a browser (see <a href="win2lin.web" title="Using the Web">Using the Web)</a><br />Then, if you use Hotmail, Yahoo etc you can use this as normal.<br />If you want to access your university mail go to: <a href="http://email.swan.ac.uk">http://email.swan.ac.uk</a><br /></blockquote><h3>Using a Client</h3>Mail Clients save a lot of time, they can retrieve mail automatically, filter it, get mail from different accounts all at once and manage your contacts.<br />In Linux (or, on our systems at least) you have a choice between Evolution Mail and Thunderbird. My personal preference being the latter, as its easily available and widely used under Windows too (honest- <a href="http://www.mozilla.org/products/thunderbird/" title="Thunderbird Mail Client">look here</a>).<br />So how do you use it?<br /><ol><li>Either open a terminal, or browse to Thunderbird (probably located under Internet in the Applications list)</li><li>Select the option to set up a new email account<br /></li><li>Enter your name as you would want it to appear in the &#39;From&#39; line of your emails, and your SUCS email address (username@sucs.org) in the Email Address box</li><li>After clicking next, you need to select IMAP (As opposed to POP) and enter &#39;sucs.org&#39; in the Incoming Server box (Don&#39;t put the &#39;s in!), click next.<br /></li><li>In the next screen, ensure your username is in the User Name box&nbsp; and click next.</li><li>You can set the account name to whatever you wish, this is just to identify it.</li><li>Confirm the details and the SUCS account will be created. We need to tweak it a little to make it work because we like security here on our server. <br /></li><li>So, go to account settings (by right clicking the name, or in the main window)</li><li>Go to &#39;Server Settings&#39; and tick the box that says &#39;Use secure connection (<a href="http://en.wikipedia.org/wiki/Secure_Sockets_Layer" title="Technical Info!">SSL</a>)&#39;</li><li>You may also wish to turn HTML formatting off in Composition settings, as some people dislike it and will simply not read emails written in HTML format (don&#39;t ask why, I don&#39;t know).</li><li>OK, now it should all be ready to go. Click on the account and click read mails. You should be prompted for your password.</li><li>If nothing appears to happen, try closing it and re-opening. <br /></li></ol>Setting up <a href="http://en.wikipedia.org/wiki/Post_Office_Protocol" title="Technical Info!">POP</a> mail is a similar process. For those who don&#39;t know what POP mail is, you probably aren&#39;t using it (except maybe for University mail). But, POP can be used to access your WebMail which is outlined below... (or will be when i get round to it)<br /><sub><br />Questions/suggestions about this page: <a href="mailto:stringfellow@sucs.org" title="Email Steve P">stringfellow@sucs.org</a></sub><br />