There are three methods to open a terminal in Ubuntu: the first method (of course, the stupid method) is to open the terminal in turn (Application-attachment-terminal). If it is idle, you can directly add it to the Panel, this is also convenient! In the second method, press Alt and then press F2 to open a runtime box a
.
#: Commands issued
\ $: The prompt character. If it is root, the prompt is: #, and the normal user is: $
========================================================== ============
We can set the PS1 variable to make the prompt color. In ps1, set the Character Sequence color format:\ [\ E [F; BM \]''F'' indicates the font color, ranging from 30 to 30 ~ 37; ''B 'indicates the background color, numbered 40 ~ 47.You can use ''\ e [0m'' to disable color output. In particular, when B is set to 1, the h
)ESC p go to previous markerESC n Go to next marker"Use Regular expression tokens8) Miscellaneous! Execute external commandH Helpo SET optionsC-k Display of accepted cookiesC-c stopC-z Suspend (exit)Q exit (confirmation required)Q Exit without confirmation9) Line edit modeThat is, after entering "U", enter the status of the URL.C-F cursor BackwardsC-b Cursor ForwardC-h Delete previous characterc-d Delete the current characterC-k Delete all content after cursorC-u Delete all content before cursor
Libsox-fmt-all
5. OK, now you can use SOX to play the audio files on our computer.6, for example, to play all the audio files in the system, we can use this command:
Play *mp3
7. If you want to play a particular file, then use this command:
Play File-name.extension
Like what:
Play Aqua_barbie_girl.mp3
You can only play Aqua_barbie_girl.mp3 this MP3.8, when playing, we can press CTRL + C to the end of the current audio playback to go to the next aud
(note: Include files and subdirectories in that directory)Viii. Find Files/directories: Locate (file or directory name)Ix. PWD Displays the current directory, PWD = Print working directoryX. DF Display file system spatial informationDf-h using M and G to display file system spatial information-H means human-readableXi. du displays spatial usage information for a directoryDu-sh/media/floppy-s meaning summary-h meaning human-readable12, Ifconfig display System network13, man shows the manual of a
of 5 kb for soft limit and 10 kb for Zhao in the/home directory.Steps:1. Modify the line containing/home, # vi/etc/fstab, and change it to defaults and usrquota. That is, the usrquota item is added. Save and exit.2. Uninstall the/home directory # umount/home3. Mount/home directory # Mount/home4. Add User Zhao # useradd Zhao5. Change the password # passwd Zhao6. Generate quota information about the/home directory # quotacheck-cmug/home# Quotacheck-vu/home7. View information of all users # repquo
Add "computer" on the desktop ":
Right-click the desktop, create launcher, and enter "my computer" in the name section. In the command bar, enter:/usr/bin/Nautilus COMPUTER.
COMPUTER: // indicates the URI in Nautilus.
Right-click to add "open terminal ":
Many people may switch from a Linux release such as RedHat to Ubuntu. the first common problem is that right-click the desktop and find that there
The whole computer is zoned for Ubuntu.Install software When a clear feeling is a lot of things, with the terminal's command line to do is very easy, with the graphical interface is often very complex, and many times there will be permissions, for Ubuntu user rights, now the only feeling is that permissions in Ubuntu is very important, many operations are corresponding to the corresponding permissionsNow pu
Common ubuntu terminal commands NO classification PS1 command name usage and Parameter Function annotation 1 file management # ls-a list all files in the current directory, including. hidden File Management in the header # ls-l or ll list detailed file information under the current directory file management # pwd view the absolute path of the current directory by file management # cd .. back to the upper-le
Debian is used as an example to describe two methods to modify the terminal daughter In ubuntu. 1. use console-tools to set the console font. 1. select and test the appropriate font and font file: # ls/usr/share/lelefonts/1. 2. test the choice of favorite font files: # consolechars-f/usr/share/consolefonts/lat9w-16.psf.gz # consolechars-f/usr/share/consolefonts/lat2-16.psf.gz 1. 3. save the default console
# Ctrl + L-clear screen. CLear # Ctrl + C-terminates the command. # Ctrl + D-exits the shell as if it could also represent EOF. # Ctrl + R-found from the command history. Reverse-i-search # Ctrl + A-the cursor moves to the beginning of the line. A # Ctrl + E-the cursor moves to the end of the line. End # Ctrl + U-Clears the character of the cursor to the beginning of the line. U # Ctrl + W-clear the cursor before a word. Word # Ctrl + K-clears the character of the cursor to the end of th
An effective solution found on the web is to add a color definition to the. bash_profileExport ls_colors='Di=01;35:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow =34;42:ST=37;44:EX=01;32:*.TAR=01;31:*.TGZ=01;31:*.ARJ=01;31:*.TAZ=01;31:*.LZH=01;31:*.LZMA=01;31:*.TLZ=01;31: *.txz=01;31:*.zip=01;31:*.z=01;31:*. Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31 :*. deb=01;31:*.rpm=01;3
Tags: www color html apt Word command archive apt-get sudo在网上查到的解决办法。使用以下命令安装guake时:sudo Install Guake如果出现错误:E: Unable to get lock/var/lib/dpkg/lock-open(one: resource is temporarily unavailable) E: Unable to lock the management directory (/var/lib/dpkg/), is there another process consuming it?可在终端输入如下代码sudo RM /var/cache/apt/archives/locksudorm /var/lib/dpkg/lockThen type again:sudo Install Guake即可正常安装。Transferred from: https://www.cnblogs.com/fsong/p/5823826.htmlSolution to the problem of usin
My main blog: half an acre of Square pond Telnet to your Mac with the Terminal IDE on your Android phone allows you to remotely work on your Mac anytime, anywhere, especially when you're lying in bed and you can still operate a Mac computer that's open somewhere, In accordance with this method can also remotely telnet to Ubuntu, interested can try, a few simple steps can be achieved: First, need to downlo
The current system used to automatically start the terminal and run scripts or commands in Ubuntu is: Ubuntu 10.04 1. assume that the default directory of the current terminal is:/root; 2. go to the/home/wilson/directory and create the bash file. sh: Date Pwd> aaaa with executable permissions: chmod + x aaaa; 3. in the
Familiar with all kinds of Ubuntu terminal shortcut keys, can improve the efficiency of programming, the following Ubuntu14.04 as a description.
1 Opening/exiting the terminal
CTRL + ALT + t--open Terminal
Ctrl + Shift + q--Close Terminal
2 new
1. terminal- gt; GNOME File Manager Command gnome-open [path] 2. GNOME File Manager- gt; Terminal requires support from the File Manager plug-in Nautilus. Run the following command to download and install Nautilussudoapt-getinstallnautilussudoapt-getinstallnautilus-open-terminal security
1. Terminal-> GNOME File Manag
In Ubuntu, codeblocks changes the debugging terminal and makes the following settings in the environment settings: change the Terminaltolaunchconsoleprograms option to gnome-terminal-t $ TITLE-x. The Parameter Representation of xterm-T $ TITLE-egnome-terminal is different from that of xterm. Code: Blocks detailed intro
press Alt first, then press F2, and a running box is displayed. Enter gnome-terminal to run the command. To install SSH, enter the following content in the command line. The result of sudo apt-Get install OpenSSH-server is as follows:
Klaus @ Ubuntu :~ $ Sudo apt-Get install OpenSSH-server [Sudo] password for Klaus: Reading the package list... the dependency tree of the software package being analyzed is
Ubuntu is installed with the perfect handsome terminal Guake 0.8.1
As a Linux User, if you do not use a terminal, it will be much less fun. Many problems will be solved by using a terminal, and you will find that the command line is so powerful, guake is a drop-down terminal
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.