亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? misc linux tips & tricks.txt

?? a collection of mega hacking tools
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
 Tips

Speeding up your hard drive (#1)
Get faster file transfer by using 32-bit transfers on your hard drive

Just add the line:

hdparm -c3 /dev/hdX

to a bootup script.

If you use SuSE or other distros based on SYS V,

/sbin/init.d/boot.local
should work for you.

This enables 32-bit transfer on your hard drive. On some systems it can improve transfer performance by 75%.

To test your performance gain, type:

hdparm -t -T /dev/hdX

Protecting yourself from being a spam base(#2)
Sendmail allows for someone to telnet to port 25 and do an expn (expand) to see what users and aliases are on your machine. Also, vrfy (verify) means someone can get legal e-mail addresses from your box and send spam through your machine.

Don't want that, so look in your /etc/sendmail.cf file for a line that looks like this:

###############
# Options #
###############

Now cut and paste these next few lines below that:

# turning off the expand option and requiring a helo from
# a remote computer
Opnoexpn,novrfy,needmailhelo

Now there is no expansion, no verify, and sendmail requires a helo with a legitimate DNS in order to use the mailer.

Then look in your /etc/mail/aliases file and ensure you have only your own boxen and/or subnet in there as OK or RELAY. That will help cut down on spammers' ability to find relay machines to do their dirty work for them.

Cleaning up Netscape crashes(#3)
You have a tip about Netscape leaving copies of itself running below, but you can make a general shell script to clean up a Netscape crash like this:

#!/bin/sh
#kill.netscape
killall -9 netscape
rm ~/.netscape/lock

Then all your users can use it and clean up the dreaded hundred instances of Netscape running when it crashed. Change netscape to netscape-communicator or netscape-navigator as appropriate

More DOS-like commands(#4)
Many people are moving to Linux because they miss the stability of good old DOS. In that light, many users are typing DOS commands (which originated from UNIX in the first place) that look fine but cause errors. The command "cd.." in DOS is perfectly valid, but Linux balks. This is because "cd" is a command, and any parameter for that command must be separated from the command by a space. The same goes for "cd/" and "cd~". A quick fix is here.

Use your favorite text editor in your home directory to edit the file ".bashrc". The period is there on purpose, this hides the file from normal ls display.

Add the lines:

alias cd/="cd /"
alias cd~="cd ~"
alias cd..="cd .."

And I usually add these...

alias md="mkdir"
alias rd="rmdir -i"
alias rm="rm -i"

and my first and still favorite alias...

alias ls="ls --color"

alias is a powerful tool, and can be used in the .bashrc script as well as from the command line. You can, if you want to spend the time, create your own group of shell commands to suit how you work. As long as you put them in your .bashrc file, they'll be there everytime you log in. Note that if you frequently log in as root, you might want to copy /home/username/.bashrc to /root/.bashrc to keep yourself sane.

Resurrecting corrupted floppies(#5)
Here's how to make a floppy disk with "track-0 bad" reusable again:

If the track zero of a floppy disk is found to be bad, no DOS or Windows utility is going to do anything about it--you just have to throw it in your unrecycle bin.

This tip cannot recover the data, but can make the disk carry things again, at least for the time being (moments of desperation).

How to:

(A) Format the disk with Linux. Build a Linux file system (don't use mformat). I did this some time before by invoking the makebootdisk command (in Slakware) and stopped after the formatting was over. There should be better ways to do it in RedHat 5.2 or other recent versions.

( Reformat the disk with Windows. Use the DOS window and the /u option while formatting.

Using DOS-like commands(#6)
There's a package called mtools which is included with most of the distributions out there.

There are several commands for basic DOS stuff. For example, to directory the floppy drive, type mdir a:. This is rather handy--you don't need to mount the floppy drive to use it.

Other commands are: mattrib , mcd, mcopy, mdel, mformat, mlabel, mren (rename), mmd, mrd, and mtype.

This doesn't work for reading from hard disks. In that case, you would add entries to /etc/fstab, drive type msdos for fat16 partitions, and vfat for fat32.

Copying files from Linux to Windows 98 or 95B (FAT32)(#7)
It's as easy as installing the program explore2fs. It uses a Windows Explorer interface and supports drag-and-drop. I have found it reliable and useful for migrating files from my RedHat 6.1 partition to my Win95B partition quickly and with a minimum of fuss.

It's available 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 interesting options (I don't know if RedHat or other distributions offer you this, too).

1. You can install Linux on a single file in your Windows Partition. Nice to try it out, but I guess it is not that fast then. You can load it then with a DOS program, loadlin.

2. Use Fips or Partition Magic. Defragment your hard drive (you should do this for Point 1, too) and split it up. I guess most users just have one partition, which you should split up into at least three: one for the Linux files, and a smaller swap partition (take about 32 to 64 MB, depending on your RAM--less RAM needs bigger swap partitions). If you decide later to deinstall Linux you can always delete both partitions and create one big one for Windows again.

Fips is a stupid command line program, but if you're too lazy to read at least a little bit, then you should stop thinking about Linux anyway...

Command Pipelines(#9)
Pipes are easy. The Unix shells provide mechanisms which you can use them to allow you to generate remarkably sophisticated `programs' out of simple components. We call that a pipeline. A pipeline is composed of a data generator, a series of filters, and a data consumer. Often that final stage is as simple as displaying the final output on stdout, and sometimes the first stage is as simple as reading from stdin. I think all shells use the "|" character to separate each stage of a pipeline. So:

data-generator | filter | ... | filter | data-consumer

Each stage of the pipeline runs in parallel, within the limits which the system permits. Hey, look closely, because that last phrase is important. Are you on a uni-processor system because if you are, then obviously only one process runs at a time, although that point is simply nitpicking. But pipes are buffers capable of holding only finite data. A process can write into a pipe until that pipe is full. When the pipe is full the process writing into it blocks until some of the data already in the pipe has been read. Similarly, a process can read from a pipe until that pipe is empty. When it's empty the reading process is blocked until some more data has been written into the pipe.

What is IP masquerading and when is it of use?(#10)
IP masquerading is a process where one computer acts as an IP gateway for a network. All computers on the network send their IP packets through the gateway, which replaces the source IP address with its own address and then forwards it to the internet. Perhaps the source IP port number is also replaced with another port number, although that is less interesting. All hosts on the internet see the packet as originating from the gateway.

Any host on the Internet which wishes to send a packet back, ie in reply, must necessarily address that packet to the gateway. Remember that the gateway is the only host seen on the internet. The gateway rewrites the destination address, replacing its own address with the IP address of the machine which is being masqueraded, and forwards that packet on to the local network for delivery.

This procedure sounds simple, and it is. It provides an effective means by which you can provide second class internet connections for a complete LAN using only one (internet) IP address.

Setting UTC or local time(#11)
When Linux boots, one of the initialisation scripts will run the /sbin/hwclock program to copy the current hardware clock time to the system clock. hwclock will assume the hardware clock is set to local time unless it is run with the --utc switch. Rather than editing the startup script, under Red Hat Linux you should edit the /etc/sysconfig/clock file and change the ``UTC'' line to either ``UTC=true'' or ``UTC=false'' as appropriate.
Setting the system clock(#12)
To set the system clock under Linux, use the date command. As an example, to set the current time and date to July 31, 11:16pm, type ``date 07312316'' (note that the time is given in 24 hour notation). If you wanted to change the year as well, you could type ``date 073123161998''. To set the seconds as well, type ``date 07312316.30'' or ``date 073123161998.30''. To see what Linux thinks the current local time is, run date with no arguments.

Setting the hardware clock(#13)
To set the hardware clock, my favourite way is to set the system clock first, and then set the hardware clock to the current system clock by typing ``/sbin/hwclock --systohc'' (or ``/sbin/hwclock --systohc --utc'' if you are keeping the hardware clock in UTC). To see what the hardware clock is currently set to, run hwclock with no arguments. If the hardware clock is in UTC and you want to see the local equivalent, type ``/sbin/hwclock --utc''


Setting your timezone(#14)
The timezone under Linux is set by a symbolic link from /etc/localtime[1] to a file in the /usr/share/zoneinfo[2] directory that corresponds with what timezone you are in. For example, since I'm in South Australia, /etc/localtime is a symlink to /usr/share/zoneinfo/Australia/South. To set this link, type:

ln -sf ../usr/share/zoneinfo/your/zone /etc/localtime

Replace your/zone with something like Australia/NSW or Australia/Perth. Have a look in the directories under /usr/share/zoneinfo to see what timezones are available.

[1] This assumes that /usr/share/zoneinfo is linked to /etc/localtime as it is under Red Hat Linux.

[2] On older systems, you'll find that /usr/lib/zoneinfo is used instead of /usr/share/zoneinfo. See also the later section ``The time in some applications is wrong''.


Zombies(#15)
What are these zombie processes that show up in ps? I kill them but they don't go away!

Zombies are dead processes. You cannot kill the dead. All processes eventually die, and when they do they become zombies. They consume almost no resources, which is to be expected because they are dead! The reason for zombies is so the zombie's parent (process) can retrieve the zombie's exit status and resource usage statistics. The parent signals the operating system that it no longer needs the zombie by using one of the wait() system calls.

When a process dies, its child processes all become children of process number 1, which is the init process. Init is ``always'' waiting for children to die, so that they don't remain as zombies.

If you have zombie processes it means those zombies have not been waited for by their parent (look at PPID displayed by ps -l). You have three choices: Fix the parent process (make it wait); kill the parent; or live with it. Remember that living with it is not so hard because zombies take up little more than one extra line in the output of ps.


How do i give users an ftp only account (no telnet, etc).(#16)

give them shell which doesn't work, but is listed in /etc/shells
for example /bin/false...


How to do backup with tar?(#17)
You can mantain a list of files that you with to backup into a file and tar
it when you wish.

tar czvf tarfile.tar.gz -T list_file

where list_file is a simple list of what you want to include into the tar

i.e:

/etc/smb.conf
/root/myfile
/etc/ppp (all files into the /etc/ppp directory)
/opt/gnome/html/gnome-dev-info.html

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级片在线看| 91久久精品一区二区三| 在线免费精品视频| 欧美在线三级电影| 国产精品久久久久永久免费观看| 亚洲bdsm女犯bdsm网站| 国产伦精品一区二区三区免费迷 | 欧美激情艳妇裸体舞| 一区二区欧美精品| 国产成人精品www牛牛影视| 欧洲在线/亚洲| 国产精品久久久久久久久图文区| 日韩va欧美va亚洲va久久| 91亚洲精品乱码久久久久久蜜桃 | 国产成人免费视频一区| 色欲综合视频天天天| 国产日韩欧美精品电影三级在线 | 欧美日韩免费观看一区二区三区| 久久影音资源网| 亚洲成人动漫精品| av不卡在线播放| 国产喂奶挤奶一区二区三区| 日韩福利视频导航| 在线观看中文字幕不卡| 国产欧美视频在线观看| 久久精品av麻豆的观看方式| 97久久久精品综合88久久| 国产视频在线观看一区二区三区| 麻豆国产精品777777在线| 在线中文字幕一区| 中文字幕亚洲成人| 高清不卡一二三区| 欧美一级高清片| 亚洲午夜在线观看视频在线| jvid福利写真一区二区三区| 欧美哺乳videos| 日韩精品一二三| 色综合中文字幕国产| 久久久一区二区| 久久国产剧场电影| 欧美一区二区播放| 日韩中文字幕不卡| 欧美性一二三区| 亚洲夂夂婷婷色拍ww47| 一本大道av伊人久久综合| 国产精品女同互慰在线看| 国产成人精品1024| 国产婷婷色一区二区三区| 极品少妇一区二区| 欧美一区二区网站| 日韩在线卡一卡二| 91黄色在线观看| 亚洲精品欧美激情| 欧美日韩一区精品| 亚洲高清三级视频| 欧美日韩在线不卡| 亚洲va欧美va人人爽| 欧美日韩国产高清一区二区| 国产精品美女久久久久aⅴ| av在线一区二区三区| 国产精品成人免费精品自在线观看| 国产91丝袜在线观看| 久久亚洲精精品中文字幕早川悠里| 日韩精品成人一区二区三区| 日韩精品在线看片z| 老色鬼精品视频在线观看播放| 欧美一区二区二区| 狠狠色丁香婷婷综合久久片| 2023国产一二三区日本精品2022| 午夜成人免费电影| 欧美mv日韩mv国产| 国产成人av电影| 日韩码欧中文字| 一本色道久久综合精品竹菊| 中文字幕亚洲电影| 欧美日韩一区在线观看| 美日韩一级片在线观看| 欧美sm极限捆绑bd| 国产91精品一区二区麻豆网站 | 在线观看一区二区视频| 亚洲国产中文字幕在线视频综合 | 亚洲综合色视频| 7878成人国产在线观看| 六月婷婷色综合| 国产精品剧情在线亚洲| 欧美制服丝袜第一页| 狠狠久久亚洲欧美| 亚洲精品国产a| 精品日韩一区二区三区| 成人黄色777网| 日韩国产欧美视频| 中文字幕亚洲区| 欧美一区二视频| 99精品国产一区二区三区不卡| 亚洲综合成人在线视频| 久久久久久久久久看片| 欧美性受极品xxxx喷水| 国产九色sp调教91| 亚洲国产三级在线| 久久免费偷拍视频| 欧美日韩另类国产亚洲欧美一级| 国产资源在线一区| 亚洲va在线va天堂| 国产精品不卡视频| 精品国产一区二区三区忘忧草| 91网页版在线| 国产专区综合网| 午夜激情综合网| 国产精品伦理在线| 91精品国产福利| 欧洲一区二区三区在线| 高清日韩电视剧大全免费| 男人操女人的视频在线观看欧美| 亚洲视频一二三| 国产亚洲va综合人人澡精品 | 粉嫩av亚洲一区二区图片| 日韩成人av影视| 一区二区三区四区蜜桃| 欧美激情一区二区三区不卡| 日韩欧美一区二区免费| 欧美三级一区二区| 91视频xxxx| 丰满少妇久久久久久久| 美女一区二区在线观看| 亚洲高清免费视频| 亚洲精品日韩综合观看成人91| 欧美经典一区二区三区| 日韩欧美中文字幕一区| 欧美日本视频在线| 欧美在线不卡一区| 91在线视频免费观看| 高清av一区二区| 国产精品99久久久久久似苏梦涵 | 亚洲午夜在线电影| 成人欧美一区二区三区视频网页| 国产亚洲成aⅴ人片在线观看| 日韩欧美一区二区免费| 欧美一区二区三区四区久久| 欧美日韩在线一区二区| 在线欧美一区二区| 在线看一区二区| 色综合天天综合网天天看片| 成人av在线网| 成人一区二区三区| 成人午夜又粗又硬又大| 国产成人精品三级麻豆| 国产精品1024| 国产精品91一区二区| 国内外精品视频| 精彩视频一区二区| 美腿丝袜在线亚洲一区| 另类小说综合欧美亚洲| 青青草伊人久久| 日韩影院在线观看| 奇米777欧美一区二区| 免费高清视频精品| 久久99精品久久久久久 | 亚洲视频网在线直播| 亚洲欧美在线另类| 亚洲欧美日韩国产一区二区三区| 亚洲欧洲三级电影| **性色生活片久久毛片| 最新国产の精品合集bt伙计| 亚洲视频在线一区观看| 亚洲男同性视频| 亚洲综合偷拍欧美一区色| 亚洲图片一区二区| 日本亚洲电影天堂| 精品一区二区在线视频| 国产一区美女在线| 成人午夜伦理影院| 91在线观看免费视频| 在线一区二区三区四区五区| 91精品91久久久中77777| 欧美日韩国产中文| 日韩丝袜情趣美女图片| 久久久99精品久久| 一区在线观看视频| 亚洲成人三级小说| 精品综合免费视频观看| 国产成人亚洲综合a∨婷婷| 99久久精品国产一区| 欧美自拍偷拍午夜视频| 69久久99精品久久久久婷婷| 欧美成人女星排名| 国产日产欧美精品一区二区三区| 国产精品看片你懂得| 亚洲综合成人在线视频| 麻豆传媒一区二区三区| 国产精品69久久久久水密桃| 播五月开心婷婷综合| 欧美中文字幕一区二区三区亚洲| 欧美一区二区高清| 国产日韩欧美激情| 亚洲一区二区三区精品在线| 日韩av一级片| 国产超碰在线一区| 在线亚洲+欧美+日本专区| 日韩一区二区三| 国产精品护士白丝一区av|