Differences between version 15 and predecessor to the previous major change of AdvancedUserTips.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 15 | Last edited on Thursday, October 16, 2003 3:17:58 pm | by StuartYeates | Revert |
Older page: | version 10 | Last edited on Friday, June 13, 2003 8:43:52 pm | by JohnMcPherson | Revert |
@@ -5,27 +5,27 @@
* while we're on the copious debugging information track, try ltrace(1) sometime. it shows all library calls made (consider how often you call strcmp, then ponder how much information this is going to churn out :)
* procinfo(8) gives a nice summary of the kernel information available in the /proc filesystem, such as memory/CPU usage, kernel modules, [IRQ] usage, devices and supported filesystems. See ProcFileSystem
-* netstat(8) shows active connections, including tcp(7), udp(7) and unix(7) socket connections. "
netstat -anAinet"
shows all IP ports that are open on your machine - very handy.
+* netstat(8) shows active connections, including tcp(7), udp(7) and unix(7) socket connections. __
netstat -anAinet__
shows all IP ports that are open on your machine - very handy.
-* depending
on the permissions on certain executables, you can start another X server as a normal user. (default
Slackware lets you, Debian
doesn't). To use virtual terminal 8 (which is normally unused), do "
xinit /usr/bin/X11/xterm -display :1.0 -- /usr/bin/X11/Xwrapper :1.0 vt08"
. Now if you run X programs with display
set to :1 instead of :, they go to the server running on vt 8. see
xinit(1), Xwrapper(1)
+* Depending
on the permissions on certain executables, you can start another X server as a normal user. (Default [
Slackware]
lets you, DebianLinux
doesn't). To use virtual terminal 8 (which is normally unused), do __
xinit /usr/bin/X11/xterm -display :1.0 -- /usr/bin/X11/Xwrapper :1.0 vt08__
. Now if you run X programs with __$DISPLAY__
set to :1 instead of :, they go to the server running on vt 8. See
xinit(1), Xwrapper(1)
-* Store all your data in [CVS]. it
's great. if
you're bored, store /etc in cvs too :)
+* Store all your data in [CVS]. It
's great. If
you're bored, store __
/etc__
in cvs too :)
-* use make
(1
) files
to build everything.
+* Use [Makefiles|MakeFile]
(or [Ant]
) to build everything.
-* learn
m4(1) to write macros in. If you're a programmer, m4 is the language used by autoconf for creating portable configure scripts.
+* Learn
m4(1) to write macros in. If you're a programmer, m4 is the language used by autoconf(1)
for creating portable configure scripts.
-* learn latex(1)
for documentation,
or if you're lazy, use lyx(1
) instead
. You can use pdflatex (which is normally included with the "
tetex"
package that provides latex
for linux distributions) to create PDF files in any style that normal latex
allows you to. This is very handy for making portable slide presentations as well as the "more typical" reports and articles.
+* Learn [LaTeX]
for documentation (
or lyx(1)
if you're lazy). You can use pdflatex(1)
(which is normally included with the __
tetex__
package that provides [LaTeX]
for linux distributions) to create PDF files in any style that normal [LaTeX]
allows you to. This is very handy for making portable slide presentations as well as the "more typical" reports and articles. See PdfLatexNotes for more hints on this
.
-* For pure eye-candy
, your desktop's "background picture" doesn't have to be a picture at all. You can amaze [Windows] users by running one of the xscreensavers
in the root window. I personally like atlantis ; if it's not in /usr/bin, it's probably in /usr/lib/xscreensaver. Start it by%%%
__$ /usr/lib/xscreensaver/
atlantis -root &__%%% If
you have hardware accelerated [OpenGL] graphics, it takes
negligible CPU usage
. If
you don't know where it is, you can try __locate atlantis__ ;
)
+* For pure EyeCandy
, your desktop's "background picture" doesn't have to be a picture at all. You can amaze [Windows] users by running one of the [xscreensaver(1)]s
in the root window. Try
__$ atlantis -root &__ - if
you have hardware accelerated [OpenGL] graphics, it causes
negligible CPU load
. (Try __locate atlantis__ if
you don't know where it is.
) Another favourite for running in the root window is xearth(1).
-* if
you add to /etc/syslog.conf "
*.* /dev/tty9" then everything
will also be logged
to tty9 making it really easy to check
the logs.
+* If
you add a line saying __
*.* /dev/tty9__ to __/etc/syslog.conf__ all log messages
will also be printed
to tty9,
making it really easy to watch
the logs.
-* if your
having issues with resolving intermittantly not working then try adding to /etc/resolv.conf
the line "
options attempts:4"
or "
options timeout:10"
+* If you're
having issues with DNS
resolving intermittantly not working then try adding the line __
options attempts:4__ and/
or __
options timeout:10__ to __/etc/resolv.conf__.
-* to
change your language / key mappings under debian
use dpkg-reconfigure console-common
+* To
change your language / key mappings under DebianLinux
use __
dpkg-reconfigure console-common__
-* If you specify the path to one of your files in a program other than a shell, you can still omit the name of your home directory, if it was your [PWD|pwd(1)] when the program was started
+* If you specify the path to one of your files in a program other than a shell, you can still omit the name of your home directory, if it was your [PWD|pwd(1)] when the program was started.
See also [HowToTipsHOWTO]