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!

Search results for query: *

  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!!!!)

    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...
  6. 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...
  7. 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!
  8. 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...
  9. 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...
  10. 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...
  11. ilovelinux2006

    Best Linux for your Laptop

    Hey everyone, I am running Suse 10.1 on my laptop. Its slow, and my laptop is fairly new. What do you think is the best distro to put on a laptop? Maybe even something like openbsd or freebsd? I've tried Ubuntu, it was ok But I like KDE. What do you guys think?
  12. ilovelinux2006

    SSH

    Hi Everyone, In a bash script, I am trying to connect to another computer to transfer a file. How should I go about doing this? Through SSH? or SCP? I think the scp command is somethign like this: scp user@server.com:/directory /directorywhereyouwantthefile -p password What am I doing...
  13. ilovelinux2006

    Sending Mail /w Command Line

    Hello everyone, I am trying to send an email in a command line. Something like mail mail@website.com -s Subject -m message here? I've been looking up the command for a long time, but cannot figure it out. Maybe even using the command mutt? Thanks!!!
  14. ilovelinux2006

    Remote Server

    Hey everyone, I'm trying to connect remotely from one server to another through a bash script. Any ideas? Both servers run SSH. The one server is a mail server, and the other is a web server (apache 2). Well on the webserver I have squirrelmail installed. I want to create some custom...
  15. ilovelinux2006

    Adding a 0

    Hello again, If I'm editing a copy of my linux systems shadow file /etc/shadow say copy.txt And the copy.txt reads: user1:5q0A6GVEFvhf6:12593:0:99999:7::: user2:9y8sJ8ahtTTTo:12593:0:99999:7::: user3:NjhahD3GweAkY:12593:0:99999:7::: user4:w1Ah59F/KAlmA:12593:0:99999:7...
  16. ilovelinux2006

    Cat command question

    Hello everyone, I have a directory with about 100 folders. I cannot use the command Cat file1 file2 fil3 file4 > Main.txt Is there anyway I can use Cat for the entire directory? Lets say the directory is called "files". Thanks!

Part and Inventory Search

Back
Top