特殊:Badtitle/NS100:SwitchingToUbuntu/FromLinux:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux}} | {{From|https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux}} | ||
{{Languages|UbuntuHelp:SwitchingToUbuntu/FromLinux}} | {{Languages|UbuntuHelp:SwitchingToUbuntu/FromLinux}} | ||
#title Switching to Ubuntu from other Linux/UNIX distributions | |||
Many people who use Unix-like Operating Systems make the switch to Ubuntu everyday and even more are considering it. This page shows the Ubuntu equivalents of many traditional Unix applications,and tasks. | Many people who use Unix-like Operating Systems make the switch to Ubuntu everyday and even more are considering it. This page shows the Ubuntu equivalents of many traditional Unix applications,and tasks. | ||
There are also specialized guides for | There are also specialized guides for users of [[UbuntuHelp:SwitchingToUbuntu/FromLinux/RedHatEnterpriseLinuxAndFedora|Red Hat/Fedora]] and [[UbuntuHelp:SwitchingToUbuntu/FromMacOSX|Mac OS X]]. | ||
[[UbuntuHelp:SwitchingToUbuntu/FromLinux/RedHatEnterpriseLinuxAndFedora| | |||
== Performing Administrative Tasks == | == Performing Administrative Tasks == | ||
Ubuntu handles the root user a little differently to most other Linux distributions in that it has the root account disabled by default. Instead Ubuntu uses the "sudo" program to allow users in the 'admin' group to run particular commands as root. Graphical config tools also prompt for your password using a similar system. This has many advantages: | Ubuntu handles the root user a little differently to most other Linux distributions in that it has the root account disabled by default. Instead Ubuntu uses the "sudo" program to allow users in the 'admin' group to run particular commands as root. Graphical config tools also prompt for your password using a similar system. This has many advantages: | ||
第13行: | 第11行: | ||
At first only the user you create during installation will have access to sudo. To allow additional users to use sudo, add them to the ''admin'' group. | At first only the user you create during installation will have access to sudo. To allow additional users to use sudo, add them to the ''admin'' group. | ||
=== Using Sudo === | === Using Sudo === | ||
To run a command with root privileges, simply open a terminal and type: | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo <command> | sudo <command> | ||
</nowiki></pre> | </nowiki></pre> | ||
Replace ''<command>'' with | Replace ''<command>'' with the command you wish to use. Sudo will then ask for your '''normal user password'''; enter it and press ''return'' to run the command. | ||
Sudo also has a graphical mode, if you try to run a program from the menu system (such as Synaptic) that requires root privileges a dialog box will appear asking you to enter your '''normal user password'''. Enter your user password and click ''Continue'' or press the enter button on your keyboard. | Sudo also has a graphical mode, if you try to run a program from the menu system (such as Synaptic) that requires root privileges a dialog box will appear asking you to enter your '''normal user password'''. Enter your user password and click ''Continue'' or press the enter button on your keyboard. | ||
To run a proper root shell you can do the following: | To run a proper root shell you can do the following: | ||
第75行: | 第73行: | ||
Getting file formats restricted by patents or copyright such as movies and music to play on your Ubuntu system is simple (although not as simple as it could be). See RestrictedFormats. [[UbuntuHelp:Java]] is simple too. | Getting file formats restricted by patents or copyright such as movies and music to play on your Ubuntu system is simple (although not as simple as it could be). See RestrictedFormats. [[UbuntuHelp:Java]] is simple too. | ||
== Environment Variables == | == Environment Variables == | ||
See | See [[UbuntuHelp:EnvironmentVariables|Environment Variables]] for a full guide to the use of environment variables in Ubuntu. | ||
== Documentation == | == Documentation == | ||
There are a few good resources you can turn to if you need further help with Ubuntu, these include: | There are a few good resources you can turn to if you need further help with Ubuntu, these include: | ||
* http://help.ubuntu.com - The main source of Ubuntu documentation | * http://help.ubuntu.com - The main source of Ubuntu documentation | ||
* | * Press '''System -> Help and Support''' to access the system documentation | ||
* Man and info pages on your system | * Man and info pages on your system | ||
* [http://www.ubuntuforums.org Forums], [http://lists.ubuntu.com Mailing Lists] and IRC (irc.freenode.net - #ubuntu) | * [http://www.ubuntuforums.org Forums], [http://lists.ubuntu.com Mailing Lists] and IRC (irc.freenode.net - #ubuntu) |
2007年12月3日 (一) 17:58的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/af | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|Afrikaans| [[::SwitchingToUbuntu/FromLinux/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/ar | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|العربية| [[::SwitchingToUbuntu/FromLinux/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/az | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|azərbaycanca| [[::SwitchingToUbuntu/FromLinux/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/bcc | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|جهلسری بلوچی| [[::SwitchingToUbuntu/FromLinux/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/bg | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|български| [[::SwitchingToUbuntu/FromLinux/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/br | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|brezhoneg| [[::SwitchingToUbuntu/FromLinux/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/ca | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|català| [[::SwitchingToUbuntu/FromLinux/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/cs | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|čeština| [[::SwitchingToUbuntu/FromLinux/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/de | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|Deutsch| [[::SwitchingToUbuntu/FromLinux/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/el | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|Ελληνικά| [[::SwitchingToUbuntu/FromLinux/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/es | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|español| [[::SwitchingToUbuntu/FromLinux/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/fa | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|فارسی| [[::SwitchingToUbuntu/FromLinux/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/fi | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|suomi| [[::SwitchingToUbuntu/FromLinux/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/fr | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|français| [[::SwitchingToUbuntu/FromLinux/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/gu | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|ગુજરાતી| [[::SwitchingToUbuntu/FromLinux/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/he | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|עברית| [[::SwitchingToUbuntu/FromLinux/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/hu | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|magyar| [[::SwitchingToUbuntu/FromLinux/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/id | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|Bahasa Indonesia| [[::SwitchingToUbuntu/FromLinux/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/it | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|italiano| [[::SwitchingToUbuntu/FromLinux/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/ja | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|日本語| [[::SwitchingToUbuntu/FromLinux/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/ko | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|한국어| [[::SwitchingToUbuntu/FromLinux/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/ksh | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|Ripoarisch| [[::SwitchingToUbuntu/FromLinux/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/mr | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|मराठी| [[::SwitchingToUbuntu/FromLinux/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/ms | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|Bahasa Melayu| [[::SwitchingToUbuntu/FromLinux/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/nl | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|Nederlands| [[::SwitchingToUbuntu/FromLinux/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/no | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|norsk| [[::SwitchingToUbuntu/FromLinux/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/oc | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|occitan| [[::SwitchingToUbuntu/FromLinux/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/pl | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|polski| [[::SwitchingToUbuntu/FromLinux/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/pt | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|português| [[::SwitchingToUbuntu/FromLinux/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/ro | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|română| [[::SwitchingToUbuntu/FromLinux/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/ru | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|русский| [[::SwitchingToUbuntu/FromLinux/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/si | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|සිංහල| [[::SwitchingToUbuntu/FromLinux/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/sq | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|shqip| [[::SwitchingToUbuntu/FromLinux/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/sr | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|српски / srpski| [[::SwitchingToUbuntu/FromLinux/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/sv | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|svenska| [[::SwitchingToUbuntu/FromLinux/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/th | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|ไทย| [[::SwitchingToUbuntu/FromLinux/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/tr | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|Türkçe| [[::SwitchingToUbuntu/FromLinux/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/vi | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|Tiếng Việt| [[::SwitchingToUbuntu/FromLinux/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/yue | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|粵語| [[::SwitchingToUbuntu/FromLinux/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/zh | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|中文| [[::SwitchingToUbuntu/FromLinux/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/zh-hans | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|中文(简体)| [[::SwitchingToUbuntu/FromLinux/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux | UbuntuHelp:SwitchingToUbuntu/FromLinux | {{#if: | :}}SwitchingToUbuntu/FromLinux}}/zh-hant | • {{#if: UbuntuHelp:SwitchingToUbuntu/FromLinux|中文(繁體)| [[::SwitchingToUbuntu/FromLinux/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:SwitchingToUbuntu/FromLinux|:SwitchingToUbuntu/FromLinux|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :SwitchingToUbuntu/FromLinux/zh | | {{#ifexist: SwitchingToUbuntu/FromLinux/zh | | {{#ifeq: {{#titleparts:SwitchingToUbuntu/FromLinux|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:SwitchingToUbuntu/FromLinux|1|-1|}} | zh | | }}
- title Switching to Ubuntu from other Linux/UNIX distributions
Many people who use Unix-like Operating Systems make the switch to Ubuntu everyday and even more are considering it. This page shows the Ubuntu equivalents of many traditional Unix applications,and tasks. There are also specialized guides for users of Red Hat/Fedora and Mac OS X.
Performing Administrative Tasks
Ubuntu handles the root user a little differently to most other Linux distributions in that it has the root account disabled by default. Instead Ubuntu uses the "sudo" program to allow users in the 'admin' group to run particular commands as root. Graphical config tools also prompt for your password using a similar system. This has many advantages:
- You can't do anything really bad to your system unless you use sudo each time.
- You don't have to remember a root password - sudo only needs your own account's password.
- sudo remembers for a limited time that you used your password, so you won't have to enter your password every time you use it.
At first only the user you create during installation will have access to sudo. To allow additional users to use sudo, add them to the admin group.
Using Sudo
To run a command with root privileges, simply open a terminal and type:
sudo <command>
Replace <command> with the command you wish to use. Sudo will then ask for your normal user password; enter it and press return to run the command. Sudo also has a graphical mode, if you try to run a program from the menu system (such as Synaptic) that requires root privileges a dialog box will appear asking you to enter your normal user password. Enter your user password and click Continue or press the enter button on your keyboard. To run a proper root shell you can do the following:
sudo -i
This will ask for your normal user password, enter it and you will be at the root prompt.
Packaging
For Debian Users
Packages in Ubuntu can be handled the same way as in Debian using apt-get/synaptic/aptitude from the command line, or using the Synaptic or Gnome-app-install graphical installers. Most of the Debian pool is available to Ubuntu users through the extra Universe and Multiverse repositories, which are not enabled on a default install (see AddingRepositoriesHowto to enable them). Optionally you can open /etc/apt/sources.list with your favorite editor and uncomment the relevant lines to enable the extra repositories. Every six months a snapshot of Debian Unstable is made and Ubuntu is created from that. That said, installing packages made for Debian on your Ubuntu system can often cause problems due to the minor differences and tweaking the Ubuntu developers need to do to make Ubuntu stable - use Ubuntu's Universe and Multiverse repositories instead for you extra software needs. See Installing Software for information on installing packages.
Command Line configuration (aliases and inputrc)
This section is written for Mandrake/Mandriva users, but probably applies generally.
Useful Shell aliases
Mandriva defines the following aliases (in /etc/profile.d/alias.sh), which make the shell faster to use. They could also go in your .bashrc
alias ls='ls -F --color=auto' | make ls coloured, and append characters to denote filetype ( eg trailing / on directory names) |
alias l='ls' | short for ls |
alias l.='ls -d .*' | show only hidden files |
alias la='ls -a' | list all files |
alias ll='ls -l' | long format listing |
alias lsd='ls -d */' | list only directories |
alias lx='ls -X' | list, order by extension |
alias p='cd -' | previous directory |
alias s='cd ..' | short for cd .. |
alias cd..='cd ..' | allow omission of space in cd .. |
alias rd='rmdir' | |
alias md='mkdir' |
The following make cp,rm, and mv interactive by default, so you don't overwrite a file by mistake. Most people think this is useful, but some think it makes one careless, as one might come to rely upon the implicit -i, on some other system which doesn't have it.
alias mv='mv -i' |
alias rm='rm -i' |
alias cp='cp -i' |
Tab Completion Enhancements
Mandriva defines the following in /etc/inputrc (it could also go in ~/.inputrc), which makes tab-completion much more pleasant. In Ubuntu/Debian/RedHat, when tab-completion has several possible alternatives, it simply beeps. In Mandriva, it prints the list of options and then repeats the prompt where you were. Furthermore, the system beep is now rarer, and when it does beep, it's meaningful, rather than annoying.
set show-all-if-ambiguous on
Music, Movies, DVD Playback and Java
Getting file formats restricted by patents or copyright such as movies and music to play on your Ubuntu system is simple (although not as simple as it could be). See RestrictedFormats. UbuntuHelp:Java is simple too.
Environment Variables
See Environment Variables for a full guide to the use of environment variables in Ubuntu.
Documentation
There are a few good resources you can turn to if you need further help with Ubuntu, these include:
- http://help.ubuntu.com - The main source of Ubuntu documentation
- Press System -> Help and Support to access the system documentation
- Man and info pages on your system
- Forums, Mailing Lists and IRC (irc.freenode.net - #ubuntu)