Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ilovelinux2006

  1. ilovelinux2006

    Listarray question

    Hello everyone, If I have the method: <Li public Cars findByNumber(String carNumber){ private ListArray<Object> car = new ListArray<Object>(); Now If I convert the String into an Integer: Integer carnum = new Integer(carNumber); -- and someone passes letters instead of numbers in the string...
  2. ilovelinux2006

    toString Display row help!

    Hello everyone, How do I display something like this from a toString()? Current board: 1 2 3 4 1 * * * * 2 * * * * 3 * * * * 4 * * * * I am using a multi-dimensional array.
  3. ilovelinux2006

    compareTo() HELP!

    Hey everyone, Ive been working on this for hours! I have three variables: a, b, c I am suppose to use a.compareTo(b) Here is the function: public int compareTo(Number t){ if(t.getNumber() > this.getNumber()){ return 1; }else if(t.getNumber() < this.getNumber()){ return -1...
  4. ilovelinux2006

    printf not skipping lines

    Hello everyone, I created a simple program, and i noticed that printf is not skipping any lines. How do I have printf skip lines?? Below is the program: import java.util.Scanner; public class Testin { public static void main(String[] args) { double number = 5...
  5. ilovelinux2006

    int cannot be dereferenced (please help me!!!!)

    the error is v1 not v2 *
  6. ilovelinux2006

    int cannot be dereferenced (please help me!!!!)

    Hey everyone, I am creating a simple Java program. Thats suppose to output: Enter integer of up to 4 digits in size: 368 Thousands place: 0 Hundreds place: 3 Tens place: 6 Ones place: 8 So im using the int: Scanner keyinput = new Scanner(System.in); System.out.print("Enter integer of up...
  7. ilovelinux2006

    check if a given directory exits.

    first make sure your index file is up to date: updatedb Then "locate directory" Use pico to create a text file. Or you could use nano: pico myfile.txt or nano myfile.txt Write to it, then press CTRL+X (Save it!)
  8. ilovelinux2006

    ps auxw help me!

    hey, I have a game server running on my system. I have multiple games, and i crontab different files every couple minutes to start the games if they arent up already. It seems like my if statement isnt working right though, it keeps restarting every server, even if they are up. Can someone...
  9. ilovelinux2006

    User Space

    Hello, I have a server box (with freebsd), with about 25 users. The directory is /home/(usernames) How Do I find out how much space (quota) each user is using? And then how do I limit them space? Thank you all very very much!
  10. ilovelinux2006

    ATI Driver install!

    Hi everyone, First off I have the driver ATI Mobility radeon version 6.14.10.6343 This has been an on-going process of trying to install the the ATI drivers for linux. My specific linux is Debian 3.1r2, and i updated to testing so I have KDE 3.5 and everything. I downloaded...
  11. ilovelinux2006

    Simple Question

    NVM Thank you! "*" as simple as that!
  12. ilovelinux2006

    Simple Question

    Hey everyone, I have about 10 files in my directory 06_12_2006 06_19_2006 06_20_2006 07_05_2006 07_02_2006 08_15_2006 08_22_2006 ect: I configured this script: month=$(date +%m) year=$(date +%Y) mv /directory/$month_(?myquestion?)_$year /backup How Do I make the (?myquestion?) a wildcard...
  13. ilovelinux2006

    scp in a crontab

    Hey everyone, I got my server to run ssh with an rsa key, so I don't need to use a password when ssh'ing between servers. Anways, i created a bash script: #!/bin/bash scp file username@theserver.com:/home/user Ok, when I bash this in the shell, It works fine 100% and exports to the other...
  14. ilovelinux2006

    Best Linux for your Laptop

    I love Slackware 10.2, WOW
  15. ilovelinux2006

    SSH

    If I put scp minute5.txt username@servername.com That goes through, w/o a password. Where does it put the minute5.txt file?

Part and Inventory Search

Back
Top