|
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
|
|
44.
|
|
|
You can change your hostname by editing the file /etc/hostname.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:139
|
|
45.
|
|
|
Use 'dpkg --get-selections > selections.txt' to save a selection and 'dpkg --set-selections < selections.txt && apt-get dselect-upgrade' to restore.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:142
|
|
46.
|
|
|
To deactivate a service at boot, for example, apache2: 'sudo update-rc.d -f apache2 remove'. To activate it: 'sudo update-rc.d apache2 install defaults'.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:146
|
|
47.
|
|
|
Tired of repeatedly pressing 'y' through some shell process (e.g. fsck)? Try the 'yes' command. 'man yes' for more info.
|
|
|
type: Plain text
|
|
|
|
(no translation yet)
|
|
|
|
Located in
ubuntu-server-tips:149
|