PageRenderTime 43ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/help/10.04/basic-commands/starting-terminal.php

https://github.com/AJenbo/ubuntudanmark.dk
PHP | 152 lines | 148 code | 2 blank | 2 comment | 8 complexity | beb6b49e8d2b5562b95b3bdd681fa3f9 MD5 | raw file
  1. <?php
  2. //Include wordpress files
  3. $wp_blog_header_path = '';
  4. if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'))
  5. {
  6. $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php';
  7. }
  8. else if(file_exists($_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php'))
  9. {
  10. $wp_blog_header_path = $_SERVER['DOCUMENT_ROOT'].'/'.'wp-blog-header.php';
  11. }
  12. if($wp_blog_header_path != '') {
  13. //Include Wordpress
  14. include($wp_blog_header_path);
  15. header("HTTP/1.0 200 OK");
  16. }
  17. ?>
  18. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  19. <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="da-DK" xml:lang="da-DK">
  20. <head>
  21. <title>Start en terminal</title>
  22. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  23. <meta name="theme-color" content="#dd4814" />
  24. <meta name="robots" content="index,follow" />
  25. <link rel="canonical" href="/support/" />
  26. <link rel="stylesheet" type="text/css" href="/wp-content/themes/light-wordpress-theme/style.css" />
  27. <link rel="pingback" href="/xmlrpc.php" />
  28. <link rel="alternate" type="application/rss+xml" title="Ubuntu Danmark » Feed" href="/feed/" />
  29. <link rel="alternate" type="application/rss+xml" title="Ubuntu Danmark » Kommentarfeed" href="/comments/feed/" />
  30. <link rel="stylesheet" type="text/css" media="print" href="/wp-content/themes/light-wordpress-theme/print.css" />
  31. <script async="true" type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
  32. <script async="true" type="text/javascript" src="/wp-includes/js/comment-reply.js?ver=20090102"></script>
  33. <script async="true" type="text/javascript" src="/wp-content/plugins/google-analyticator/external-tracking.min.js?ver=6.1.1"></script>
  34. <link rel="EditURI" type="application/rsd+xml" title="RSD" href="/xmlrpc.php?rsd" />
  35. <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="/wp-includes/wlwmanifest.xml" />
  36. <link rel="index" title="Ubuntu Danmark" href="/" />
  37. <link rel="prev" title="Om Ubuntu" href="/om-ubuntu/" />
  38. <link rel="next" title="Download" href="/download/" />
  39. <link rel="canonical" href="/support/" />
  40. <link rel="shortcut icon" href="/wp-content/themes/light-wordpress-theme/images/favicon.ico" type="image/x-icon" />
  41. <meta http-equiv="X-UA-Compatible" content="chrome=1" />
  42. <script async="true" type="text/javascript">
  43. var analyticsFileTypes = ['mp3','pdf','ogg'];
  44. var analyticsEventTracking = 'enabled';
  45. </script>
  46. <script async="true" type="text/javascript">
  47. var _gaq = _gaq || [];
  48. _gaq.push(['_setAccount', 'UA-3824272-1']);
  49. _gaq.push(['_trackPageview']);
  50. (function() {
  51. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  52. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  53. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  54. })();
  55. </script>
  56. </head>
  57. <body class="single single-post">
  58. <div id="wrapper" class="hfeed">
  59. <div id="header">
  60. <div id="branding">
  61. <div id="blog-title">
  62. <span>
  63. <a href="/" title="Ubuntu Danmark" rel="home">Ubuntu Danmark</a>
  64. </span>
  65. </div>
  66. <div id="blog-description">Danske brugere</div>
  67. </div>
  68. <div id="access">
  69. <div id="loco-header-menu">
  70. <ul id="primary-header-menu"><?php
  71. ob_start();
  72. dynamic_sidebar('primary-header-menu');
  73. $primary_header_menu = ob_get_clean();
  74. $primary_header_menu = str_replace(' menu-item-635', ' menu-item-635 current-menu-item', $primary_header_menu);
  75. $primary_header_menu = str_replace(' menu-item-637', ' menu-item-637 current-menu-item', $primary_header_menu);
  76. echo($primary_header_menu);
  77. ?></ul>
  78. </div>
  79. </div>
  80. </div>
  81. <div id="secondary-header">
  82. <div id="secondary-access">
  83. <div id="loco-search-form">
  84. <form id="searchform" method="get" action="/help/10.04/search.php">
  85. <div>
  86. <input id="s" name="s" type="text" value="" size="32" tabindex="1" />
  87. <input id="searchsubmit" name="searchsubmit" type="submit" value="Søg" tabindex="2" />
  88. </div>
  89. </form>
  90. </div>
  91. <div id="loco-sub-header-menu"></div>
  92. </div>
  93. </div>
  94. <div id="main">
  95. <div id="container">
  96. <div id="content">
  97. <div class="page type-page hentry" style="-moz-border-radius: 5px 5px 5px 5px;">
  98. <h1 class="entry-title">Start en terminal</h1>
  99. <div class="entry-content">
  100. <div class="sect1" title="Start en terminal">
  101. <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>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. <div class="aside main-aside" id="secondary" style="-moz-border-radius: 5px 5px 5px 5px;">
  108. <ul class="xoxo">
  109. <li class="widgetcontainer widget" id="">
  110. <h3 class="widgettitle">Brug af kommandolinjen</h3>
  111. <ul>
  112. <li><a href="using-this-guide.php">Brug af denne vejledning</a></li>
  113. <li><a href="starting-terminal.php">Start en terminal</a></li>
  114. <li><a href="files-directories-commands.php">Fil- og katalogkommandoer</a><ul>
  115. <li><a href="files-directories-commands.php#cd">cd</a></li>
  116. <li><a href="files-directories-commands.php#pwd">pwd</a></li>
  117. <li><a href="files-directories-commands.php#ls">ls</a></li>
  118. <li><a href="files-directories-commands.php#cp">cp</a></li>
  119. <li><a href="files-directories-commands.php#mv">mv</a></li>
  120. <li><a href="files-directories-commands.php#rm">rm</a></li>
  121. <li><a href="files-directories-commands.php#mkdir">mkdir</a></li></ul></li>
  122. <li><a href="sys-info-commands.php">Kommandoer vedr. systeminformation</a><ul>
  123. <li><a href="sys-info-commands.php#df">df</a></li>
  124. <li><a href="sys-info-commands.php#free">free</a></li>
  125. <li><a href="sys-info-commands.php#top">top</a></li>
  126. <li><a href="sys-info-commands.php#uname">uname</a></li>
  127. <li><a href="sys-info-commands.php#lsb_release">lsb_release</a></li></ul></li>
  128. <li><a href="elevated-privileges.php">Udfør kommandoer med særlige rettigheder</a><ul>
  129. <li><a href="elevated-privileges.php#add-group">Tilføj en ny gruppe</a></li>
  130. <li><a href="elevated-privileges.php#add-user">Tilføj en ny bruger</a></li></ul></li>
  131. <li><a href="options.php">Tilvalg</a></li>
  132. <li><a href="man-help.php">"Man" og at finde hjælp</a><ul>
  133. <li><a href="man-help.php#searching-ma">Søg efter man-filer</a></li></ul></li>
  134. <li><a href="cut-paste.php">Klip og indsæt</a></li>
  135. <li><a href="other-things.php">Andre nyttige ting</a><ul>
  136. <li><a href="other-things.php#save-typing">Gem ved skrivning</a></li>
  137. <li><a href="other-things.php#change-text">Ændr teksten</a></li></ul></li>
  138. <li><a href="more-info.php">Mere information</a></li>
  139. </ul>
  140. </li>
  141. </ul>
  142. </div>
  143. </div>
  144. <div id="footer">
  145. <div id="siteinfo"></div>
  146. </div>
  147. </div>
  148. <script async="true" type="text/javascript" src="/wp-content/themes/light-wordpress-theme/js/ubuntu-loco.js?ver=0.2-light"></script>
  149. </body>
  150. </html>