Jump to content

fyhuang

Community Members
  • Posts

    838
  • Joined

  • Last visited

Posts posted by fyhuang

  1. So you are basically trying to copy all the files in the first directory to the second. In bash this would be extremely easy, but in DOS? First, the wildcard probably won't work as you have found out, because 'xcopy' only takes one parameter as input and a wildcard doesn't call the same thing multiple times, it just duplicates the parameter. For instance, if I had a directory with 3 files (a.txt, b.txt, c.txt), the following:

    copy *.* ../otherdir

    Would translate to:

    copy a.txt b.txt c.txt ../otherdir

    Which doesn't work, because 'copy' wants 'copy a.txt+b.txt+c.txt ../otherdir'.

    In bash you could just create a directory listing and do some basic text processing to find the files and copy them, but I don't think that's possible in DOS.

    Sorry if I can't help you, and good luck finding an answer.

  2. You can use something like CygWin to achieve pretty much the same effect. For example, I have CygWin on my computer (Windows XP) and I run KDE on it. It's extremely useful except for the fact that Perl seems to be broken (a reinstall seems to have fixed the problem) and it's kind of slow compared to a native system. But otherwise, it should be theoretically possible to run an entire Linux system, complete with X, KDE, GNOME, and anything else you can think of on CygWin (just recompile it all :( ).

    Also, I have seen USB drives that are bootable, and one on a watch, so you could carry a computer recovery toolbox around with you all the time so you're always prepared when a computer breaks down :(.

  3. No, WinZip cannot extract RAR (at least not yet).

    However, if I read your problem correctly (and I am reading very fast, so don't mind if I didn't), then people are not able to even download the file in the first place (so file format shouldn't matter)?

    If so, then I really can't help you without a lot more information. First off, I have never heard of CPG_Nuke (before now), and I am wondering why you aren't just using PHP-Nuke or something (unless you, like myself, find PHP-Nuke's configuration to be amazingly disorganized).

    It really should be working. I cannot really think of a reason why it won't, because if Opera can right-click and click 'Save As', then theoretically the file should exist and be there (FTP your HP just in case). It also could be that the file's permissions aren't set up correctly, if so, use 'chmod 744 movie.rar' or something like that (744 should enable people to download it, right, unix geeks?).

    And that's pretty much all I can think of right now, I'll get back here as soon as I think of more :(. Good luck and hope it helps!

  4. It would really be advisable that you not run a public web server, because it could negatively affect your computer. But I'm not stopping you. If you really want to, a seperate, deticated computer is advisable.

    Anyways, about domain names. Once you have registered your domain name, you have to point it to your IP address. This can usually be done through the registrar's services, but if not (and if not, I highly recommend you go somewhere else :( ), then you'll have to do the DNS stuff yourself, and I can't help you there.

    Also beware of routers, etc. Be sure you have forwarded the port for web servers (I forget what it is ATM) to your server computer.

    Anyways, good luck and have fun!

  5. I met this one person today who has several computers in his household, and has Linux on all of them. I've always wanted a Linux on my computer, but they've always come pre-installed with Windows and it's been hard for me to get my data organized enough to back it up and install a Linux. What do you guys think of this?

  6. As stated on the DirectX installation, 'this software is not uninstallable once you have installed it'. However, I have seen some DirectX-uninstallers out there, and if you run 'dxdiag' and check your files + remove them manually, it could work as well.

    I hate DirectX personally, it will be replaced by Avalon in Longhorn, which will make it even harder for people to try to run DirectX-based games on non-Windows platforms.

  7. Even the MozillaZine forums suggest that Firefox is inferior to Mozilla. Mozilla is a 10 MB download, while Firefox is < 3 MB. I recently downloaded Firefox just to see how good it really was. Truth is, Firefox is an IE clone with tabbed browsing and a better rendering engine. I prefer Mozilla because it is so much more useful. I myself don't care whether the download is 10 MB or 3 MB, even when I still had dialup. The Mozilla website even has Firefox as the main center point of interest, with Mozilla/Thunderbird/Bugzilla/etc. pushed down to the bottom. Firefox is a very bare-bones browser, I'm not very comfortable with it.

    Nonetheless, Firefox/Mozilla in general shall replace IE, and I'm not going to try to stop anything that benefits it. But the above is my opinion, feel free to disagree.

  8. You would need to use Javascript or possibly PHP in order to achieve this. Most JS tutorials start with a simple script describing how to check the user-agent or browser the user is uwing, and a simple document.write() after that will do the trick. In PHP it should be possible to check the user-agent in order to determine the browser.

  9. At least it looks professional ;).

    Anyways, since Mandrake uses RPM, then you can either use RPM or whatever package manager they gave you. I would guess it's in the 'Mandrake Control Center' (from their website). I found my Linux book and here's how to install using RPM: 'rpm -ivh packagename'. Something I forgot to mention is that bash features very good autocompletion - if you wanted to install the package sdl-1.2.7, you could type in 'sdl', then press TAB and it will autocomplete for you. This can be helpful for long filenames. Also, use 'rpm -q package' to check whether a package is installed. Uninstalling you can check RPM's man pages for, and to install a custom-compiled program you can go to the original directory and type in 'make uninstall' (this should work...).

    Also, when install programs you never choose a location to install (like in Windows), it's always either /bin, /usr/bin, or in special cases, /sbin (or something like that). But the new program autopackage may make it possible to to that. It's still in beta though...

    I'm not a Linux expert myself - a couple things are preventing me from becoming one. 1, the computer I have (had) Linux on is reeeally slow, so it's practically useless. 2, it's hard to setup a WLAN using Linux (recent releases have made this much easier though). 3, my new computer (which is fast) had a pre-formatted NTFS hard drive, which I don't want to mess with right now. So, I am very limited to what I can do.

    But anyways, have fun and hope it helps!

  10. Most viruses aren't located in Temporary Internet Files though...

    So that means that only IE doesn't work? If so, you can just go to Start->Control Panel->Internet Settings, then click Clear Temporary Internet Files. If you can't get into there, then you can just boot into Windows and delete them yourself.

    But if it's a real virus then something drastic like booting into Knoppix may be required.

    Good luck!

  11. As long as you use a commercial partitioning tool to partition your hd, then you should install Linux. But never throw out Microsoft products, because no matter how much I hate Microsoft, I must say that Microsoft Office beats OpenOffice.Org in almost every area (except for 3D graphics, which OOo is slightly more advanced in). But Linux has wine, which means you can just scrap your Windows, install Linux, and install all your Windows games and apps on Linux! And if the games don't work, you can buy Cedega (a.k.a. WineX), and if Office doesn't work, you can buy CrossOver Office. But both are cheap and waaay cheaper than Windows ;)!

    If you turn the computer off, it will most likely die. If you leave it there, it will do nothing. If there's a cancel button, click it. If not, I'm sorry, but there isn't much you can do...

    And a suggestion - tell your parents to inform you every time some kind of strange message box pops up and to read carefully the text on the message box. This can resolve 70-80% of 'stupid' mistakes.

  12. Corel Office (I think that's what it was called...) kind of... faded away a while ago.

    I've never liked Corel, I think they're a Microsoft wannabe. Although Jasc was doing better than CorelDraw, Corel is definately a much larger company and Adobe's Photoshop Elements is some pretty tough competition for PSP.

    But I really like Jasc, because their PSP for Windows 3.1 saved my life when I was doing 256-color pixel art ;).

  13. Lots of stuff isn't Linux-related per se, it's KDE related.

    Anyways, I shall from here call the menu thingy the 'Main Menu' or simply the 'Menu'.

    The new vfolder (I think that's what it's called) is nicely organized, so go to the Menu, go to System or Configuration or something like that, and find the KDE Control Center (KDE Control Panel, whatever). Click on it, and it'll bring you to a control center where you can change fonts, themes, etc.

    I've never used Mandrake, I've always used SuSE. But you'll most likely find everything in the Menu.

    Here's a quick rundown of installing software in Linux:

    0. If you have an RPM-based distro, i.e. RedHat, SuSE, or something like Debian, or if you have some kind of 'package manager', then you can use that.

    1. Most websites will give you an option of downloading an RPM compiled for ... distro. Distrobutions are all the same Linux, so there's theoretically no such thing as Firefox for Mandrake. But, since distros use different kernel versions, etc. you may find that, in reality, there are differently compiled versions for different distros.

    2. The easiest way to install software is to use RPM or a package manager. I don't know where it is in Mandrake, but you'll definately find it if you look around the Menu and whatever control center they give you (not KDE Control Center). The best way is to compile it yourself, because it can be optimized for your system and you won't get any compatibility issues. It's also good to have a Linux book handy.

    3a. I forget exactly how to install using RPM, but most programs under Linux follow this basic guideline - if you go into a virtual console, and type in 'program --help', you'll most likely get a help screen. If it fills up more than one screen, you can type in 'program --help | more' or 'program --help | less' (if you don't have more installed). Another way to get help is to type 'man program' (manual). Most programs install man pages. To get out of man or less, type 'q'.

    3b. Compiling programs isn't as hard as it seems. For most programs, you can simply navigate to the directory and type in three lines: './configure', 'make', and 'make install'. It should automatically do the compiling for you (it's a little slow though). After 'make install', you should be able to use the program simply by typing its UNIX name. It's good to see the README file for additional instructions.

    4. Most of the time, a distro-specific package manager will add a link to the Menu. You can also do it yourself, using the Menu editor. In KDE, I believe that it is located in the KDE Control Panel.

    And here's a quick rundown of the console:

    0. If you've ever used DOS before, this should be fairly simple. If not, sucks ;).

    1. The basic commands are: to move to a different directory, 'cd directory' (or you can use 'cd ..' to move up a directory). To see what directory you are in: 'pwd'. Manuals can be accessed by using 'man program'. 'bash' is the name of the shell (so, you can use 'man bash' to get help for the shell!). To see what files are in your current directory, use 'ls' (many distros automatically alias another commonly used command, 'll', to print a long listing of files (which prints file sizes, permissions, dates, etc.) ). Executing a program involves typing the name of the program: 'program'. Executing a program from your current directory requires that you add './' before it: './program'.

    And that's about it. Have fun with your new Linux!

    [edit] Made things look nicer...

  14. You'll need to make sure that the antivirus is up-to-date. If the computer can still boot, you can try installing the antivirus and if the Internet still works, you can try to update it. Otherwise, you may need another computer, or you'll have to boot into Knoppix or something.

    I don't know how you can update the Norton boot disk though...

  15. OK, I get what you mean by a knowledge base now. I guess a forum could be a primitive one, and there are also these strange pieces of software that helps you visualize thoughts.

    But something really cool just came to mind - GMail! GMail is organized by labels, so you can pick topics, etc. and you can also easily and reliably search GMail, and also the threads helps. But that was just a random idea, so...

    Other than that, I don't know. Search Download.Com and SourceForge.Net.

    Hope it helps!

×
×
  • Create New...