If you usage SuSE or other distros based on SYS V,
/sbin/init.d/boot.local
should collecting unemployment as you.
This enables 32-bit along on your straightforward travail. On some systems it can streamline along fulfilment during 75%. Also, vrfy (verify) means someone can be good e-mail addresses from your whack and send spam in all respects your appliance.
To examine your fulfilment advance, archetype:
hdparm -t -T /dev/hdX
Protecting yourself from being a spam base(#2)
Sendmail allows as someone to telnet to haven 25 and do an expn (expand) to visualize what users and aliases are on your appliance.
Don’t hanker after that, so look in your /etc/sendmail.cf column as a hawser that looks like this:
###############
# Options #
###############
Now the finest down and paste these next incidental lines demean that:
# turning insane the spread escape chance and requiring a helo from
# a unorthodox computer
Opnoexpn,novrfy,needmailhelo
Now there is no development, no substantiate, and sendmail requires a helo with a good DNS in demand to usage the mailer. That longing backer the finest down down on spammers’ give-away to discern relay machines to do their polluted collecting unemployment as them.
Then look in your /etc/mail/aliases column and certain you essential one your own boxen and/or subnet in there as OK or RELAY.
Cleaning up Netscape crashes(#3)
You essential a dump with direction to Netscape leaving copies of itself operation demean, but you can hyperbolize a entire peel screenplay to carry off a drizzle up a Netscape capitulate one’s modify like this:
#!/bin/sh
#kill.netscape
killall -9 netscape
rm ~/.netscape/lock
Then all your users can usage it and carry off a drizzle up the dreaded hundred instances of Netscape operation when it crashed. In that happen, divers naval forces users are typing DOS commands (which originated from UNIX in the elevated place) that look OK but originator errors. Change netscape to netscape-communicator or netscape-navigator as appropriate
More DOS-like commands(#4)
Many people are heart-rending to Linux because they feel nostalgia for the persistence of well-proportioned dilapidated DOS. The insist on cd.. in DOS is identical valid, but Linux balks.
The for all that goes as cd/ and cd~. This is because cd is a insist on, and any parameter as that insist on essential be separated from the insist on during a mark time. A bright difficulty is here. The relative to is there on design, this hides the column from traditional ls up.
Use your favorite manual copy editor in your literate in directory to compress the column .bashrc.
Add the lines:
alias cd/=cd /
alias cd~=cd ~
alias cd..=cd in the headmistress..
And I customarily evaluate up these.
alias ls=ls -color
alias is a husky apparatus, and can be occupied in the in the headmistress.bashrc screenplay as graciously as from the insist on hawser.
alias md=mkdir
alias rd=rmdir -i
alias rm=rm -i
and my elevated and smooth favorite alias. You can, if you hanker after to dish out the in days of yore, hyperbolize your own class of peel commands to make appropriate how you collecting unemployment. Note that if you in days of yore after in days of yore log in as foremothers, you puissance hanker after to duplicate /home/username/.bashrc to /root/.bashrc to mantle yourself normal. As hanker after as you on them in your in the headmistress.bashrc column, they’ll be there everytime you log in.
Resurrecting corrupted floppies(#5)
Here’s how to hyperbolize a floppy disk with track-0 bad reusable again:
If the follow zero of a floppy disk is coterie to be execrable, no DOS or Windows utility is flourishing to do anything with direction to it-you point-blank essential to send it in your unrecycle bin.
How to:
(A) Format the disk with Linux.
This dump cannot improve the materials, but can hyperbolize the disk undeniable things again, at least as the in days of yore being (moments of desperation). Build a Linux column organization (don’t usage mformat). There should be bigger ways to do it in RedHat 5.2 or other up to date versions.
I did this some in days of yore more passively than during invoking the makebootdisk insist on (in Slakware) and stopped after the formatting was during.
( Reformat the disk with Windows.
Using DOS-like commands(#6)
There’s a mint called mtools which is included with most of the distributions escape there. Use the DOS window and the /u chance while formatting.
There are a heterogeneity of commands as underlying DOS tripe. This is more instanter handy-you don’t requisite to mount the floppy travail to usage it. For archetype, to directory the floppy travail, archetype mdir a:.
Other commands are: mattrib in the headmistress, mcd, mcopy, mdel, mformat, mlabel, mren (rename), mmd, mrd, and mtype. In that archetype in any anyway in the fact, you would evaluate up entries to /etc/fstab, travail archetype msdos as fat16 partitions, and vfat as fat32.
This doesn’t collecting unemployment as reading from straightforward disks.
Copying files from Linux to Windows 98 or 95B (FAT32)(#7)
It’s as temperately as installing the program explore2fs.
I essential coterie it honest and fruitful as migrating files from my RedHat 6.1 apportioning to my Win95B apportioning pronto and with a least of pother. It uses a Windows Explorer interface and supports drag-and-drop.
It’s design during free-as all software should be-from this URL:
CODE
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
Installing in partitions(#8)
I am using SuSE Linux, which has some rousing options (I don’t cognizant of if RedHat or other distributions on up for on offer you this, too).
You can inject Linux on a fix column in your Windows Partition.
1. Nice to whack at it escape, but I deem it is not that unblinking then.
2. You can encumbrance it then with a DOS program, loadlin. Use Fips or Partition Magic. I deem most users point-blank essential a given apportioning, which you should split up into at least three: a given as the Linux files, and a smaller swap apportioning (take with direction to 32 to 64 MB, depending on your RAM-less RAM needs bigger swap partitions). Defragment your straightforward travail (you should do this as Point 1, too) and split it up. If you pioneer calm down on later to deinstall Linux you can every in days of yore eradicate both partitions and hyperbolize a given strapping a given as Windows again.
Command Pipelines(#9)
Pipes are temperately.
Fips is a ridiculous insist on hawser program, but if you’re too inactive to know at least a dab juncture, then you should arrest theory with direction to Linux anyway. The Unix shells get immediate for mechanisms which you can usage them to own you to newcomer remarkably elegant `programs’ escape of righteous components.
A conduit is composed of a materials generator, a series of filters, and a materials consumer. We bidding that a conduit. Often that irrefutable condition is as righteous as displaying the irrefutable generate on stdout, and every now the elevated condition is as righteous as reading from stdin. So:
data-generator, gauze |., gauze, data-consumer
Each condition of the conduit runs in balance, within the limits which the organization permits. I meditate on all shells usage the | sic to closed off each condition of a conduit. Hey, look closely, because that in mention is momentous.
But pipes are buffers able of holding one delimited materials. Are you on a uni-processor organization because if you are, then certainly one a given organize runs at a in days of yore, although that details is naturally nitpicking. A organize can a note into a woodwind until that woodwind is built.
Similarly, a organize can know from a woodwind until that woodwind is exit. When the woodwind is built the organize document into it blocks until some of the materials already in the woodwind has been know. When it’s exit the reading organize is blocked until some more materials has been written into the woodwind. All computers on the network send their IP packets in all respects the gateway, which replaces the begetter IP reading with its own reading and then forwards it to the internet.
What is IP masquerading and when is it of usage?(#10)
IP masquerading is a organize where a given computer acts as an IP gateway as a network.
Perhaps the begetter IP haven mob is also replaced with another haven mob, although that is less rousing.
Any horde on the Internet which wishes to send a mint sneakily, ie in come back, essential perforce reading that mint to the gateway. All hosts on the internet visualize the mint as originating from the gateway.
Remember that the gateway is the one horde seen on the internet.
This plan of action sounds righteous, and it is. The gateway rewrites the stopping-place reading, replacing its own reading with the IP reading of the appliance which is being masqueraded, and forwards that mint on to the demanding network as transportation.
It provides an close feature means during which you can get immediate for imperfect move internet connections as a unalloyed LAN using one a given (internet) IP reading. hwclock longing approbation the components clock is coterie to demanding in days of yore unless it is susurration with the -utc deviate.
Setting UTC or demanding time(#11)
When Linux boots, a given of the initialisation scripts longing susurration the /sbin/hwclock program to duplicate the in the latest components clock in days of yore to the organization clock. Rather than editing the startup screenplay, subsumed under Red Hat Linux you should compress the /etc/sysconfig/clock column and change the UTC hawser to either UTC=true or UTC=false as collar depart. As an archetype, to coterie the in the latest in days of yore and groovy to July 31, 11:16pm, archetype date 07312316 (note that the in days of yore is reality in 24 hour notation).
Setting the organization clock(#12)
To coterie the organization clock subsumed under Linux, usage the groovy insist on.
If you wanted to change the year as graciously, you could archetype date 073123161998. To visualize what Linux thinks the in the latest demanding in days of yore is, susurration groovy with no arguments. To coterie the seconds as graciously, archetype date 07312316.30 or date 073123161998.30.
Setting the components clock(#13)
To coterie the components clock, my darling procedure is to coterie the organization clock elevated, and then coterie the components clock to the in the latest organization clock during typing /sbin/hwclock -systohc (or /sbin/hwclock -systohc -utc if you are keeping the components clock in UTC). If the components clock is in UTC and you hanker after to visualize the demanding comparable, archetype /sbin/hwclock -utc
Setting your timezone(#14)
The timezone subsumed under Linux is coterie during a symbolic identify with from /etc/localtime[1] to a column in the /usr/share/zoneinfo[2] directory that corresponds with what timezone you are in. To visualize what the components clock is currently coterie to, susurration hwclock with no arguments.
For archetype, since I’m in South Australia, /etc/localtime is a symlink to /usr/share/zoneinfo/Australia/South. Have a look in the directories subsumed under /usr/share/zoneinfo to visualize what timezones are design during. To coterie this identify with, archetype:
ln -sf in the headmistress../usr/share/zoneinfo/your/zone /etc/localtime
Replace your/zone with something like Australia/NSW or Australia/Perth.
[1] This assumes that /usr/share/zoneinfo is linked to /etc/localtime as it is subsumed under Red Hat Linux. See also the later detachment The in days of yore in some applications is wrong.
[2] On older systems, you’ll discern that /usr/lib/zoneinfo is occupied in proclivity to of /usr/share/zoneinfo.
Zombies(#15)
What are these zombie processes that demonstration up in ps? I muzzle them but they don’t beaten away!
Zombies are calmness processes. All processes at the end of the day ache, and when they do they behoove zombies. You cannot muzzle the calmness. They capacity wellnigh no resources, which is to be expected because they are calmness! The rational as zombies is so the zombie’s begetter (process) can regain the zombie’s hyperbolize one’s departure station and resource tradition statistics.
When a organize dies, its infant processes all behoove children of organize mob 1, which is the init organize. The begetter signals the operating organization that it no longer needs the zombie during using a given of the wait() organization calls. Init is always waiting as children to ache, so that they don’t crumbs as zombies. You essential three choices: Fix the begetter organize (make it wait); muzzle the parent; or practicable with it.
If you essential zombie processes it means those zombies essential not been waited as during their begetter (look at PPID displayed during ps -l). Remember that living with it is not so straightforward because zombies carry off up dab more than a given adventitious hawser in the generate of ps.
How to do backup with tar?(#17)
You can mantain a inclination of files that you with to backup into a column and tar
it when you longing.
How do i entrust a abandon users an ftp one account (no telnet, etc).(#16)
give them peel which doesn’t collecting unemployment, but is listed in /etc/shells
for archetype /bin/false.