logo_linux.png
Results 81 through 100 of the Linux - general discussion board
How do you check to see if clamav has definitions for a particular virus?
Try: user# sigtool -l | grep foobar You can also check the sig version with: user# sigtool -V which outputs: ClamAV-version/Signature-version/Date-Sig-updated John M.
http://www.rockfloat.com/board/post/?id=51
August 17, 2005 @03:28 (Replies: 0)
How can you generate a report of recent changes in a subversion repository, like a changelog?
Try looking into the following: http://ch.tudelft.nl/~arthur/svn2cl/ http://mpy-svn-stats.berlios.de/ Both format the output of: user# svn --xml -v log The former uses xsl to create a typical changelog, the latter genera [...]
http://www.rockfloat.com/board/post/?id=410
August 05, 2005 @05:27 (Replies: 0)
What are good tools to determine what hardware is installed in a computer?
try dmesg, lshw, and lspci John M.
http://www.rockfloat.com/board/post/?id=20
June 22, 2005 @16:43 (Replies: 0)
What is the significance of 32,767?
32767 = The number if bits the "short" datatype can hold.
http://www.rockfloat.com/board/post/?id=41
June 01, 2005 @20:48 (Replies: 0)
Linux computer time and date drifts even with ntpd running?
Try this: root# rm /etc/adjtime root# date 052104182005 #MMDDhhmmYYYY syntax (Month, Day, hour, minute and Year) root# hwclock --utc --systohc See: http://users.dslextreme.com/~craig.lawson/linux_notes/clock.html John M.
http://www.rockfloat.com/board/post/?id=66
May 21, 2005 @08:18 (Replies: 0)
How do you look up reverse dependencies, like what depends on foobar?
try this: root# equery depends pygtk This will find all packages that depend on pygtk John M.
http://www.rockfloat.com/board/post/?id=64
May 17, 2005 @22:32 (Replies: 0)
Local time zone must be set--see zic
This means you didn't have a valid /etc/localtime at the time you compiled your kernel. root# ln -sf /usr/share/zoneinfo/EST5EDT /etc/localtime and then recompile your kernel John M.
http://www.rockfloat.com/board/post/?id=63
May 16, 2005 @22:33 (Replies: 0)
How do you setup a users directory for maildir?
try something like: user# cd && maildirmake .Maildir or: root# maildirmake /home/user/.Maildir && chown -R user /home/user/.Maildir John M.
http://www.rockfloat.com/board/post/?id=59
May 11, 2005 @03:21 (Replies: 0)
Is it possible to search thru your bash history for a command typed recently?
yep. try hitting ctrl+r and then start typing keywords from the command good stuff. John M.
http://www.rockfloat.com/board/post/?id=55
December 21, 2004 @21:44 (Replies: 0)
How do you scroll up in a standard linux console?
try holding shift and then using page-up/page-down John M.
http://www.rockfloat.com/board/post/?id=29
December 21, 2004 @21:36 (Replies: 0)
How do you get the file size of a file using bash?
try something like this: user# ls foobar.mpeg | awk '{print $1}' or in a bash script us this to set a variable to the size of a directory: int_size=`du -s | awk '{print $1}'` John M.
http://www.rockfloat.com/board/post/?id=54
December 06, 2004 @16:48 (Replies: 0)
How can you force emacs to open without using X
When using emacs over ssh (assuming no X11 forwarding) you could get this: user# emacs foobar.txt emacs: Cannot connect to X server x.x.x.x:0.0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it [...]
http://www.rockfloat.com/board/post/?id=81
November 10, 2004 @22:46 (Replies: 0)
How can you remove duplicates in your bash history?
On gentoo try adding this to your ~/.bashrc file: export HISTCONTROL=ignoredups export HISTSIZE=1000 export HISTFILESIZE=1000 it will make sure that from now on .bash_history only stores unique values John M.
http://www.rockfloat.com/board/post/?id=79
November 08, 2004 @05:09 (Replies: 0)
How can you count the number of files in a directory?
try this if you are using bash: user# ls -l | grep -v ^l | wc -l John M.
http://www.rockfloat.com/board/post/?id=77
October 24, 2004 @02:10 (Replies: 0)
Where does gentoo's portage store all of the installed packages?
Portage keeps a list of everything that's installed in a file called world: # old location: /var/cache/edb/world # new location: /var/lib/portage/world John M.
http://www.rockfloat.com/board/post/?id=76
October 05, 2004 @01:30 (Replies: 0)
what are some really handy programs to have for linux?
here are some really neat applications: x2vnc - http://John M.rik.hubbe.net/x2vnc.html gxmessage -http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage John M.
http://www.rockfloat.com/board/post/?id=74
October 01, 2004 @16:26 (Replies: 0)
Is there a way to have roaming profiles on gentoo, to automatically switch network settings, ect?
try: user# sudo emerge quickswitch <a href="http://muthanna.com/quickswitch">http://muthanna.com/quickswitch</a> John M.
http://www.rockfloat.com/board/post/?id=73
September 30, 2004 @10:51 (Replies: 0)
How can you monitor the health of hardware perc raid on gentoo?
Lucklily if you're using megaraid, the kernel will be aware of what's going on. try something like this: root# cat /proc/megaraid/hba0/raiddrives-0-9 you likely will get something like this: Logical drive: 0:, state: optimal Span depth: [...]
http://www.rockfloat.com/board/post/?id=72
September 29, 2004 @14:34 (Replies: 0)
How do you determine a binary's shared library dependencies
try ldd, it's a pretty cool dependency checker thingy usr# ldd /usr/bin/some-binary John M.
http://www.rockfloat.com/board/post/?id=71
September 22, 2004 @02:57 (Replies: 0)
Re: how do you test sendmail?
here's another quick way to test: user# echo -e "message body" | mail -N -s "subject" test@foobar.com & John M.
http://www.rockfloat.com/board/post/?id=65
April 14, 2004 @22:36 (Replies: 0)
FCGI/WSGI
0.13.3
159.916878 ms