|
tehfox0r posted:I wish to create a startup script to run these (as root) every time my system boots. That would eliminate the need for me to go through the circle-jerk of using the terminal every time I start my computer to get my internet working properly. How can I do this? The simplest way is to put the commands in /etc/rc.local, or create another script that rc.local will execute. You might want to read about system startup while you're at it.
|
# ¿ Apr 8, 2007 22:55 |
|
|
# ¿ May 4, 2024 16:50 |
|
hallik posted:hopefully this is the right thread. I am trying to search all files in a directory for a certain string within the files, tell me the file name and line they are on. This only gives me, (standard input): Line#:string Like this: code:
EDIT: -R is for recursion within the directory, and can be removed if you just want the current directory and nothing below it. muskrat fucked around with this message at 02:07 on Apr 9, 2007 |
# ¿ Apr 9, 2007 01:59 |
|
shizen posted:So plan to make the switch to debian from vista, as lifetime windows user. Is there anything tips to make this a smooth process? Found this link where seems like be incredibly easy to make transition http://www.goodbye-windows.com/debian/vista/ I suspect you'll want to get flash player working as soon as possible. http://wiki.debian.org/FlashPlayer You'll also want to read up about various desktop environments (XFCE, LXDE, KDE, Gnome) and try them out. Also do some research on your video card and whether you'll need to do anything special to get it working in Linux.
|
# ¿ Nov 22, 2009 03:44 |
|
Carthag posted:I'm trying to set up exim4 so that either of the following can send mail: I do this. All of my servers are whitelisted. Mail clients (i.e., real users) have virtual accounts using userdb. Not sure what distro you're using, but here's the relevant part of my config. code:
|
# ¿ Aug 3, 2011 00:42 |
|
PotatoJudge posted:I'm not familiar with Bash scripts, but I've got one that was auto-generated with tons of bugs and I'm trying to fix it. It is supposed to download some data from the Census website on a state-by-state basis but it is failing at several points. First is on the wget command it is using to attempt to download the data. Put the URL after all of your options. Should work then.
|
# ¿ Sep 22, 2011 21:51 |
|
PotatoJudge posted:Nope, doing that re-creates the directory structure except now 11_DIST... is an html file. Oops, forgot I had tested by using tigerline.census.gov: code:
All of the zip files seem to be hosted on tigerline.census.gov, not www2.
|
# ¿ Sep 22, 2011 22:15 |
|
JHVH-1 posted:I haven't tried it, but this is the kinda crazy thing that might be cool http://www.fudgie.org/ Wow, awesome. Tried logstalgia on a production server log; very cool program and idea.
|
# ¿ Sep 23, 2011 19:29 |
|
bimmian posted:Any suggestions for a syslog web frontend? Try LogZilla (formerly php-syslog-ng): http://www.logzilla.pro/ Splunk is also popular, though I think it's a bit more of a complete package as opposed to just a frontend -- a bit more "enterprise" for better or worse... http://www.splunk.com/download
|
# ¿ Oct 4, 2011 18:02 |
|
fletcher posted:
You'll get more detailed information if you use "dpkg -l" (for installed packages) or "dpkg-query -l": code:
This is probably because the library doesn't change significantly between small GnuTLS releases (e.g., 2.8.5 to 2.8.6), so there's no need to bump the library version number. They usually only do that when incompatibilities are introduced I think.
|
# ¿ Feb 29, 2012 21:27 |
|
Bob Morales posted:Any ideas on a tool or script to watch /var/maillog? I feel for you with the spam bullshit :| You might want to look into tenshi though I don't know if it's still maintained: http://www.inversepath.com/tenshi.html That said, I highly recommend having these guys do your external mailing (if you're sending out newsletters or whatever): http://sendgrid.com/
|
# ¿ May 15, 2012 23:36 |
|
bobua posted:When I plug my camera into an ubuntu box, it's mounted and shows up on the taskbar thing. I have to right click and eject it before something like gphoto can use it, but I can't seem to figure out how to 'eject' it from the command line, only the gui. It doesn't show up when using the mount or eject command. Tried 'umount'? E.g.: code:
|
# ¿ Jun 13, 2012 00:52 |
|
standardtoaster posted:Other than learning how to use the terminal, is there a simple source that will explain what the gently caress I'm doing with Linux. Like what the file system is, how to install things, where to find them after I install, or how to extract and install a .trz file? If you haven't picked a distribution, visit their websites, check out their documentation, forums, etc. and pick one you like. Read the guides for the distribution you pick. They all explain how to install, and what to do after you've finished the install.
|
# ¿ Jun 16, 2012 01:16 |
|
Maluco Marinero posted:Anyone have a preferred method / application for automated mySQL database backups? I'll want to push them off to another server (got ssh access), as well as probably collect them on to my dev computer as well every week or so. This depends on the type of tables. Usually mysqldump is fine (if your backup scheme is simple, probably just a custom script you write or find online). Filesystem snapshots can work too if you have LLVM or ZFS. If you have a slave, you can do backups without affecting site traffic (e.g., take the slave offline, copy files, restart it). Overview: http://dev.mysql.com/doc/refman/5.1/en/backup-methods.html Also have a look at Percona XtraBackup: http://www.percona.com/software/percona-xtrabackup/
|
# ¿ Aug 20, 2012 19:29 |
|
CHEF!!! posted:Hopefully I did not miss what is blindingly obvious due to searching for the wrong phrases on Google, but is it possible to block an entire subnet (Class C 192.168.1.0/24) in iptables but leave access to two or three IPs within that subnet open? These three are all over the place so I can resort to a few range entries and not do hundreds of entries, thank God, but it'd be nice if I could basically say "block access to this /24 except for these..." Iptables rulesets are evaluated in order, and first match wins. Just put the exceptions first, e.g.: code:
|
# ¿ Oct 18, 2012 21:34 |
|
SuperNuts posted:I need to set up a cron job and I've never set one up before. I read over the command and syntax, basically every day I want to move the log file into a directory. I can probably figure that part out, however can wildcards be used? I'd like it to mv $file.log -> $month\$file.$day.log, is this possible? There are no environment variables (what you called wildcards) built-in for month/day, etc. but you can just use command substitution to get that information. Here's how you would do that. code:
That said, this task is better solved with a log rotation program (they're designed to do exactly this). They vary from system to system, but logrotate is a common one. Your system will have one already installed.
|
# ¿ Dec 16, 2012 08:56 |
|
|
# ¿ May 4, 2024 16:50 |
|
Thermopyle posted:I'd like to install an application (Everpix) via Wine. Unfortunately my Googlin' leads me to believe that programs distributed as a ClickOnce .application won't work. So, if that's wrong and someone can tell me how to do that that'd be cool. I don't do any heavy lifting with it, but I haven't run into many problems with VirtualBox on Debian (running Windows inside a vbox).
|
# ¿ Dec 19, 2012 22:02 |