Find the answer to your Linux question:

Search:

Type: Posts; User: dayid; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,105

    It sounds like you are trying to have 10...

    It sounds like you are trying to have 10 different machines all send data to the same destination server.

    You are using private/public keypairs to authenticate to the FTP server.

    Presuming that...
  2. Use tune2fs -l - AFAIK doesn't care if the...

    Use tune2fs -l - AFAIK doesn't care if the partition is mounted or not.

    tune2fs -l /dev/sda6 | grep -i 'block count'
    Block count: 4999936
    Reserved block count: 249996

    dc...
  3. I do not believe that rsync has a native feature...

    I do not believe that rsync has a native feature to handle this. I'd suggest doing a dry-run (-n) rsync from a->b, which should create you a list of everything it *would* transfer. Then, use that...
  4. Replies
    2
    Views
    2,229

    To clarify: You want to know the device names...

    To clarify:
    You want to know the device names and sizes of all directly-connected disks, and then separately the same information for a SAN?

    As you already pasted, fdisk -l will show you existing...
  5. Replies
    3
    Views
    621

    I believe what you're looking for is Anaconda...

    I believe what you're looking for is Anaconda. It works for some distributions (although not all).
  6. Replies
    2
    Views
    946

    Your question (and needs) are overall unclear. I...

    Your question (and needs) are overall unclear. I believe what you are seeking is:


    echo -e "Source\tDestination"; netstat -n | grep "\:22 " | awk '{ print $4"\t"$5 }'


    If not, then you'll...
  7. To allow "Outgoing HTTPS" you do not need the...

    To allow "Outgoing HTTPS" you do not need the INPUT lines at all. Rules (alone) are fairly worthless without a whole set; Also, this is a simple "Try it and see."
  8. Replies
    3
    Views
    1,900

    Yep That's exactly what a "swap function" is...

    Yep


    That's exactly what a "swap function" is - telling a physical key to act (or have the function) of another. It doesn't mean that A is now B and B is now A, rather just that A "now acts (and...
  9. Replies
    3
    Views
    1,900

    xmodmap can do this. e.g., my re-map of...

    xmodmap can do this.

    e.g., my re-map of left-capslock to "control" is as follows in my .xmodmaprc:


    !
    ! Swap Caps_Lock and Control_L
    !
    remove Lock = Caps_Lock
    keysym Caps_Lock = Control_L
  10. Replies
    5
    Views
    1,348

    Eventually you'll learn bits and pieces of all of...

    Eventually you'll learn bits and pieces of all of them as you are exposed to using them. That said, "sh" is the "lowest-common-denominator" across most systems. It's the same as learning text-editors...
  11. Replies
    35
    Views
    7,660

    You mean to do fdisk /dev/sda - the "1" refers to...

    You mean to do fdisk /dev/sda - the "1" refers to the #1 partition on that disk.

    Also, "fdisk -l | grep ^Disk" will help you verify that /dev/sda is indeed the disk you wish. Since it's a USB...
  12. Replies
    4
    Views
    977

    Additionally, since regular quotes allow/require...

    Additionally, since regular quotes allow/require escaping special characters, you could just use strong-quotes:

    cut -d '\' -f 1 filename.txt
  13. Replies
    2
    Views
    563

    [SOLVED] I believe the easiest method is to disallow their...

    I believe the easiest method is to disallow their users in your sshd_config file.

    man sshd_config and see the "DenyUsers" argument (or DenyGroups).

    It's simple a matter of (for generic...
  14. Replies
    2
    Views
    11,543

    [SOLVED] Your answer is in your post. whereis heroku...

    Your answer is in your post.


    whereis heroku
    /usr/local/heroku

    So, 'heroku' is /usr/local/heroku.

    Equally, when you used 'which', the system (properly) tells you that 'heroku' does not...
  15. Replies
    2
    Views
    853

    If I understand what you're seeking properly: ...

    If I understand what you're seeking properly:

    Given:


    Line to be kept
    another line to be kept

    .SUBCKT input1 input 2
    + input3
  16. look into: nohup, screen, tmux, or even vlock. ...

    look into: nohup, screen, tmux, or even vlock.

    nohup should be on any system and will prevent a hang-up from being sent to a process.

    screen and tmux accomplish things similar to each other and...
  17. Will they all be using the same date or are you...

    Will they all be using the same date or are you trying to use the modification time or something? Otherwise, creating a bunch of /output/15-05-2013-16:04_xyz.csv.gz will just overwrite it over and...
  18. Replies
    1
    Views
    2,304

    Looks similar to the output received from...

    Looks similar to the output received from NagiosGraph - without knowing what created the graph, interpreting it doesn't do much good.

    ...if it were from NagiosGraph, I'd say that the...
  19. Correct, but an important note: root *can* still...

    Correct, but an important note: root *can* still delete this - they just have to change the attributes back first. Also, non-root users will not be able to change this attribute, so it only is useful...
  20. Replies
    6
    Views
    6,282

    What do you mean by "null values aren't getting...

    What do you mean by "null values aren't getting passed"?

    Please provide bash -x output for the script you're running so we can see where it fails, and also either the command-line or input that it...
  21. Replies
    4
    Views
    1,043

    If I understand correctly: Given AA ZKYYG...

    If I understand correctly:
    Given


    AA ZKYYG
    BB QRTBG
    CC TRFDG
    DD LHSDF
  22. Thread: Home Server

    by dayid
    Replies
    1
    Views
    2,222

    I hate to be a bubble-burster, but if you have to...

    I hate to be a bubble-burster, but if you have to ask - you most likely shouldn't.

    Hardware: x86_64 as fast as you can get, with as many of the fastest drives you can get, with as much ram as you...
  23. Replies
    6
    Views
    1,950

    I believe the problem is different than looking...

    I believe the problem is different than looking for the path of something. I think the OP is trying to find out why/where a particular service is being started from (e.g., /etc/rc.local,...
  24. Replies
    2
    Views
    1,123

    I believe the unexpected end of file is because...

    I believe the unexpected end of file is because you're reaching the (physical) end of file before exiting out of each sub-statement (in this case your first 'if' statement). "sqlplus" is never...
  25. You'll notice that's not how my example is - my...

    You'll notice that's not how my example is - my example is:

    find /path/to/files -type f -name "*${myDate}" -exec grep foobar {} \;
    The ${myDate} vs $myDate is a huge difference. You should try...
Results 1 to 25 of 97
Page 1 of 4 1 2 3 4