The Databar System at DTU - G-Bar Wiki - DTU
The Databar System at DTU - G-Bar Wiki - DTU
The Databar System at DTU - G-Bar Wiki - DTU
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
6 <strong>The</strong> G-<strong>Bar</strong> 15<br />
documents and even more nested folders. <strong>The</strong> structures may, for example,<br />
look something like the sketch in Figure 3 on the facing page, which shows<br />
how a user (here s001234) might have his or her home folder placed in the<br />
global structure of the d<strong>at</strong>abar system.<br />
Immedi<strong>at</strong>ely after logging in, you will be in your own home folder, which<br />
is named according to your individual User ID. <strong>The</strong> user has write access to<br />
his or her own home folder, and thus can place documents and other folders<br />
in it.<br />
In Figure 3 on the preceding page you see an example where the user<br />
s001234 has placed two documents (dok1 and dok2) in the home folder plus<br />
one folder (bib.no.1/), and th<strong>at</strong> folder contains two more documents (brev<br />
and gml.brev).<br />
6.5.2 UNIX commands<br />
As mentioned before, in UNIX your work on a project can be either graphic or<br />
command oriented. <strong>The</strong> big advantage of the command oriented use is th<strong>at</strong> it is<br />
much faster as soon as you get some practice in it. UNIX commands are keyed<br />
in <strong>at</strong> a terminal window (see the section 6.1.2).<br />
UNIX commands are generally written in the following syntax:<br />
command 〈parameter〉 〈filename(s)〉<br />
where the parameter “filename(s)” could also be “foldername”. File names can<br />
include one or more joker characters or wild cards. Two joker characters th<strong>at</strong> are<br />
good to know are * which can stand for any other character or any sequence of<br />
characters, and ? which can stand for a single character (note th<strong>at</strong> the words<br />
“document” and “file” mean the same thing. Sometimes we denote them as<br />
documents, and sometimes as files.)<br />
An example of the ls-command for listing files is<br />
hald(s001234) $ ls -F *tex<br />
which produces a list of all files in a folder the names of which end ‘tex’. <strong>The</strong><br />
parameter ‘-F’ means th<strong>at</strong> you want to see the file type included in the list.<br />
Note: Even if UNIX is very flexible with respect to file and folder names, you<br />
should avoid using blank spaces, slashes (/) and other special characters in<br />
your file and folder names.<br />
<strong>The</strong> most important UNIX commands You can go a long way in command<br />
oriented UNIX if you know the commands listed in table 2. <strong>The</strong>se commands