/help/10.04/basic-commands/starting-terminal.php
PHP | 152 lines | 148 code | 2 blank | 2 comment | 8 complexity | beb6b49e8d2b5562b95b3bdd681fa3f9 MD5 | raw file
- <?php
- //Include wordpress files
- $wp_blog_header_path = '';
- if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'))
- {
- $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php';
- }
- else if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'))
- {
- $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php';
- }
- if($wp_blog_header_path != '') {
- //Include Wordpress
- include($wp_blog_header_path);
- header("HTTP/1.0 200 OK");
- }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="da-DK" xml:lang="da-DK">
- <head>
- <title>Start en terminal</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="theme-color" content="#dd4814" />
- <meta name="robots" content="index,follow" />
- <link rel="canonical" href="/support/" />
- <link rel="stylesheet" type="text/css" href="/wp-content/themes/light-wordpress-theme/style.css" />
- <link rel="pingback" href="/xmlrpc.php" />
- <link rel="alternate" type="application/rss+xml" title="Ubuntu Danmark » Feed" href="/feed/" />
- <link rel="alternate" type="application/rss+xml" title="Ubuntu Danmark » Kommentarfeed" href="/comments/feed/" />
- <link rel="stylesheet" type="text/css" media="print" href="/wp-content/themes/light-wordpress-theme/print.css" />
- <script async="true" type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
- <script async="true" type="text/javascript" src="/wp-includes/js/comment-reply.js?ver=20090102"></script>
- <script async="true" type="text/javascript" src="/wp-content/plugins/google-analyticator/external-tracking.min.js?ver=6.1.1"></script>
- <link rel="EditURI" type="application/rsd+xml" title="RSD" href="/xmlrpc.php?rsd" />
- <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="/wp-includes/wlwmanifest.xml" />
- <link rel="index" title="Ubuntu Danmark" href="/" />
- <link rel="prev" title="Om Ubuntu" href="/om-ubuntu/" />
- <link rel="next" title="Download" href="/download/" />
- <link rel="canonical" href="/support/" />
- <link rel="shortcut icon" href="/wp-content/themes/light-wordpress-theme/images/favicon.ico" type="image/x-icon" />
- <meta http-equiv="X-UA-Compatible" content="chrome=1" />
- <script async="true" type="text/javascript">
- var analyticsFileTypes = ['mp3','pdf','ogg'];
- var analyticsEventTracking = 'enabled';
- </script>
- <script async="true" type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-3824272-1']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- </head>
- <body class="single single-post">
- <div id="wrapper" class="hfeed">
- <div id="header">
- <div id="branding">
- <div id="blog-title">
- <span>
- <a href="/" title="Ubuntu Danmark" rel="home">Ubuntu Danmark</a>
- </span>
- </div>
- <div id="blog-description">Danske brugere</div>
- </div>
- <div id="access">
- <div id="loco-header-menu">
- <ul id="primary-header-menu"><?php
- ob_start();
- dynamic_sidebar('primary-header-menu');
- $primary_header_menu = ob_get_clean();
- $primary_header_menu = str_replace(' menu-item-635', ' menu-item-635 current-menu-item', $primary_header_menu);
- $primary_header_menu = str_replace(' menu-item-637', ' menu-item-637 current-menu-item', $primary_header_menu);
- echo($primary_header_menu);
- ?></ul>
- </div>
- </div>
- </div>
- <div id="secondary-header">
- <div id="secondary-access">
- <div id="loco-search-form">
- <form id="searchform" method="get" action="/help/10.04/search.php">
- <div>
- <input id="s" name="s" type="text" value="" size="32" tabindex="1" />
- <input id="searchsubmit" name="searchsubmit" type="submit" value="Søg" tabindex="2" />
- </div>
- </form>
- </div>
- <div id="loco-sub-header-menu"></div>
- </div>
- </div>
- <div id="main">
- <div id="container">
- <div id="content">
- <div class="page type-page hentry" style="-moz-border-radius: 5px 5px 5px 5px;">
- <h1 class="entry-title">Start en terminal</h1>
- <div class="entry-content">
- <div class="sect1" title="Start en terminal">
- <p>Vælg <span class="guimenu">Programmer</span> → <span class="guimenuitem">Tilbehør</span> → <span class="guimenuitem">Terminal</span> for at åbne en <span class="application"><strong>terminal</strong></span>.</p>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="aside main-aside" id="secondary" style="-moz-border-radius: 5px 5px 5px 5px;">
- <ul class="xoxo">
- <li class="widgetcontainer widget" id="">
- <h3 class="widgettitle">Brug af kommandolinjen</h3>
- <ul>
- <li><a href="using-this-guide.php">Brug af denne vejledning</a></li>
- <li><a href="starting-terminal.php">Start en terminal</a></li>
- <li><a href="files-directories-commands.php">Fil- og katalogkommandoer</a><ul>
- <li><a href="files-directories-commands.php#cd">cd</a></li>
- <li><a href="files-directories-commands.php#pwd">pwd</a></li>
- <li><a href="files-directories-commands.php#ls">ls</a></li>
- <li><a href="files-directories-commands.php#cp">cp</a></li>
- <li><a href="files-directories-commands.php#mv">mv</a></li>
- <li><a href="files-directories-commands.php#rm">rm</a></li>
- <li><a href="files-directories-commands.php#mkdir">mkdir</a></li></ul></li>
- <li><a href="sys-info-commands.php">Kommandoer vedr. systeminformation</a><ul>
- <li><a href="sys-info-commands.php#df">df</a></li>
- <li><a href="sys-info-commands.php#free">free</a></li>
- <li><a href="sys-info-commands.php#top">top</a></li>
- <li><a href="sys-info-commands.php#uname">uname</a></li>
- <li><a href="sys-info-commands.php#lsb_release">lsb_release</a></li></ul></li>
- <li><a href="elevated-privileges.php">Udfør kommandoer med særlige rettigheder</a><ul>
- <li><a href="elevated-privileges.php#add-group">Tilføj en ny gruppe</a></li>
- <li><a href="elevated-privileges.php#add-user">Tilføj en ny bruger</a></li></ul></li>
- <li><a href="options.php">Tilvalg</a></li>
- <li><a href="man-help.php">"Man" og at finde hjælp</a><ul>
- <li><a href="man-help.php#searching-ma">Søg efter man-filer</a></li></ul></li>
- <li><a href="cut-paste.php">Klip og indsæt</a></li>
- <li><a href="other-things.php">Andre nyttige ting</a><ul>
- <li><a href="other-things.php#save-typing">Gem ved skrivning</a></li>
- <li><a href="other-things.php#change-text">Ændr teksten</a></li></ul></li>
- <li><a href="more-info.php">Mere information</a></li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <div id="footer">
- <div id="siteinfo"></div>
- </div>
- </div>
- <script async="true" type="text/javascript" src="/wp-content/themes/light-wordpress-theme/js/ubuntu-loco.js?ver=0.2-light"></script>
- </body>
- </html>