• Listening to USB device inserted events in Linux

    We're trying to write a Python script for Amarok in Linux that would copy a podcast to our player. When we've tried to blog in the player, it would mount the drive, copy any podcasts and finally eject the player. How can we listen to a plugged in event? Thanks!

    ITKE351,905 pointsBadges:
  • Is there a bash script that would kill a child process after a given time?

    We have a bash script that would launch a child process that crashes every once in a while and for no apparent reason too. Because of this, we are trying to launch this process for a certain amount of time and then kill it if it doesn't return successfully. Is there a simple way to do this using...

    ITKE351,905 pointsBadges:
  • Compling a 32-bit binary with a 64-bit Linux machine

    Would it be possible to compile a 32-bit binary with a 64-bit Linux machine? I already tried it by not setting any parameters/flags/etc. (I just set the LD_Library_Path to find the linked libraries but that didn't work). What's the best way to do this?

    ITKE351,905 pointsBadges:
  • Read the contents of a doc or docx in Linux

    Is there a way I can read the contents of a doc or docx in a Linux VPS and PHP? If there's another way with another language, that would work too but I would need it to work under a Linux web server.

    ITKE351,905 pointsBadges:
  • How to set the umask of an Apache user

    My partner and I have been setting up a LAMP server we need to set up Apache's umask setting to 002 so all Apache created files have the group write permission bit set. How can we do this? We figured it out on Ubuntu but that server was running on CentOS. Thank you.

    ITKE351,905 pointsBadges:
  • Linux: Normalize a file path in Bash

    In Linux, I'm trying to transform /foo/bar/.. to /foo. Does someone know if there's a bash command that does this? Thank you.

    ITKE351,905 pointsBadges:
  • Is there an equivalent to Posix popen() in Win32 API?

    Would anyone happen to know if there's an equivalent to the Linux/Unix stdio.h popen() function in Win32 API? I would appreciate any help. Thanks!

    ITKE351,905 pointsBadges:
  • How many TCP-socket connections are possible on a Linux server?

    We're currently using a Linux server and we're looking to find out how many TCP-socket connections are actually possible on it. We understand there's less traffic on each connection but all of our connections need to be up at the same time. Thanks!

    ITKE351,905 pointsBadges:
  • Redhat Linux Enterprise 5 and disk swap space

    In Redhat Linux Enterprise 5 is disk swap space raw?

    Intel0 pointsBadges:
  • Which processes are swapping more in Linux?

    I'm currently using Linux and I'm trying to figure out which process of mine is using the swap space more. Is there some sort of code or script I should use?

    ITKE351,905 pointsBadges:
  • Linux: Passing command line arguments to an alias

    Would there be a way to pass the command line arguments to an alias? Here's what I would like to do: alias mkcd='mkdir $1; cd $1;' But in this example, the $xx is actually being translated at the alias, creating time and not at runtime. I did create a type of "workaround" using the Shell function:...

    ITKE351,905 pointsBadges:
  • Finding the age of a long-running Linux process and killing it

    Our team has a problem. We have several 'zombie-like' processes on our Linux server that need to be killed once in a while. Is there a way we can identify the processes that have run longer than an hour or so? Thanks!

    ITKE351,905 pointsBadges:
  • How to use Linux printer in Windows?

    How do I use a Linux printer in Windows?

    Prakashpatel10 pointsBadges:
  • Linux kernel upgrade

    How to upgrade kernel in Linux 4.?

    Linux45 pointsBadges:
  • How to set Linux path permanently

    For the past week, I've been trying to add a directory to my path so it would always be in my Linux path. Here's what I tried so far: export PATH=$PATH:/path/to/dir It's been working but when I exit the terminal and start a new terminal instance, the path is lost. How can I set it permanently?

    ITKE351,905 pointsBadges:
  • Opening a command prompt in Linux

    I'm trying to open a terminal on a Linux machine using Java code. I already know how to open the command prompt in Microsoft Windows (this is what I've been using): String command= "cmd c/start cmd.exe" Runtime rt = Runtime.getRuntime(); Process pr = rt.exec(command); I'm looking for the same thing...

    ITKE351,905 pointsBadges:
  • Changing the root directory on an Apache server

    Would anyone know how to change the document root on an Apache server? I'm trying to get localhost to come from /users/spencer/projects directory instead of /var/www. I would appreciate any help!

    ITKE351,905 pointsBadges:
  • Linux: Maximum numbers of threads that can be created

    Can someone tell me what the maximum number of threads are that could be created by a process in Linux? With that value, can it also be modified too? Thank you.

    ITKE351,905 pointsBadges:
  • Is there a high resolution timer in Linux?

    I currently have both Linux and Windows systems. I've noticed in Windows that I can create a high resolution timer using QueryPerformanceCounter and mmsystem.h. Is there anything like this in Linux?

    ITKE351,905 pointsBadges:
  • Ubuntu Inspiron with laptop

    I have Ubuntu 8 and need to know how to get Inspiron 6400 laptop working wireless. I need a simple step-by-step procedure - I am new to Linux. Thanks!

    Chunter110 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following