|
34.
|
|
|
You can edit your network configuration in /etc/network/interfaces and enable your changes by issuing the command sudo /etc/init.d/networking restart.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:109
|
|
35.
|
|
|
If the empty file ~/.hushlogin exists on the server, login to the server will be super quiet. Only the bash prompt is displayed.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:112
|
|
36.
|
|
|
To find a package which name or description contains a keyword use: 'apt-cache search <keyword>'. 'apt-cache showpkg <packagename>' to get details.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:116
|
|
37.
|
|
|
If you need to compile a piece of software, you may need to install the build-essential package. Use 'sudo apt-get install build-essential'.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:119
|
|
38.
|
|
|
You can use the text-based web browser w3m to browse the Internet in your console screen. e.g 'w3m http://ubuntu.com'
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:122
|
|
39.
|
|
|
The free command tells you the status of your memory and swap, how much you have used and how much you have left.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:125
|
|
40.
|
|
|
If you know you typed a command or password wrong, you can use ctrl + u to delete the whole line or ctrl + w to delete just a word.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:128
|
|
41.
|
|
|
Typing 'dmesg | tail' after you plug in usb storage will give you its partition name (ex: /dev/sdb1) simplifying the mounting process.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:131
|
|
42.
|
|
|
The column allows you to format output neatly. ex: 'mount | column -t' will reformat mount's messy output. See 'man column' for more info.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:134
|
|
43.
|
|
|
Use awk to quickly filter columns from some command output. e.g.: ls -l | awk '{print $3 " " $9}'
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:137
|