• Check which Apache modules are enabled or installed on Ubuntu

    My apologizes for the short question but is there a way to check which Apache modules are enabled / installed? Thank you.

    ITKE366,295 pointsBadges:
  • Is there a way to execute a command whenever a file changes in Linux?

    I'm looking for a way to execute a command whenever a file changes in Linux. I need something very quick and simple. Basically something like whenever I'm running a file on a terminal and close it whenever I'm finished with it. This is what I'm using now: while read; do ./myfile.py ; done But for...

    ITKE366,295 pointsBadges:
  • Linux: Chmod 755 all directories but no file

    In Linux, how can I chmod 755 all directories but with no file (recursively)? Also, I'm looking to do the opposite too: Chmod only files with no directory. Thanks so much.

    ITKE366,295 pointsBadges:
  • How to increase the number of TCP/IP connections in Linux

    I'm currently programming a server and I've noticed that my number of connections is being limited since my bandwidth isn't being saturated. The thing is that I've already set the number of connections to unlimited. Would there be a way to increase the maximum number of connections that my Ubuntu...

    ITKE366,295 pointsBadges:
  • Error message when writing C program in Linux

    I'm pretty interested in learning to write C programs that use threads. Here's a program that my friend showed me: #include #include #define NUM_THREADS 5 void *PrintHello(void *threadid) { long tid; tid = (long)threadid; printf("Hello World! It's me, thread #%ld!\n", tid); pthread_exit(NULL); }...

    ITKE366,295 pointsBadges:
  • Sending a file as an email attachment using the Linux command line

    I recently created a script that's going to run every single night on my Linux server that would use 'mysqldump' to back up each of our MySQL databases to SQL files and then packaged them as a compressed .TAR files. I know want to send the .TAR file through an email to a remote email server. Here's...

    ITKE366,295 pointsBadges:
  • Linux: Sharing a file descriptor to another process

    We have two Linux processes. Here's my question: If we perform int fd=open(somefile) in one of the processes, would we be able to pass the value of the file descriptor over IPC to the other process and then have it manipulate the same file?

    ITKE366,295 pointsBadges:
  • Why would Linux kill my process?

    One of my applications is running as a background process on Linux. It's starting at the command line in a Terminal window. Just a few days ago, one of our users was executing the application for a while and it just died. The text 'killed' was on the terminal and it's happened twice already. Why...

    ITKE366,295 pointsBadges:
  • Linux: What are scripts writing to stdout and stderr in a readable way?

    We currently have several scripts that should have stopped running but, for some reason, they're hanging around forever. Would there be a way I could figure out what they're writing to stdout and stderr in a readable way? I already tried this: tail -f /proc/(pid)/fd/1 But it's not working. Does...

    ITKE366,295 pointsBadges:
  • Which regex library should we use in Linux?

    We're working on a commercial C++ project, which would run through a Linux system. We need to do some regex within a C++ code. Which library should we use to do regex from C/C++? Should we use Boost.Regex? Thanks so much.

    ITKE366,295 pointsBadges:
  • Standard exit codes in Linux

    For several of our Linux processes, we've noticed that it's completed correctly when the exit status reaches 0. We've also seen that our segmentation faults often result with an exit status of 11 so here's our question. Does anyone know of the standard exit codes for Linux processes? We would...

    ITKE366,295 pointsBadges:
  • Java error: Cannot find or load main class

    We've been having trouble compiling and running our Java code. It's intended to allow us to interface Java with with a shared object for Vensim. This code we have no problem with: javac -d . -cp ./apache-log4j-1.2.16/log4j-1.2.16.jar:./vensim.jar SpatialModel.java VensimHelper.java...

    ITKE366,295 pointsBadges:
  • How can we symlink a file in Linux?

    My friend and I have created this code (which I'll post below) that the first path is the folder we want to link into while the second path is the compiled source. Would anyone be able to tell us if this is correct? Thanks so much! 'ln -s '+basebuild+'/IpDome-kernel/kernel...

    ITKE366,295 pointsBadges:
  • PHP.INFO is showing wrong size in Ubuntu

    We're looking to change the limit of our PHP upload file sizes. Here's some info we have on these: Configuration File (php.ini) Path /etc/php5/apache2 Loaded Configuration File /etc/php5/apache2/php.ini And here's the content of our PHP.INI file: upload_max_filesize = 50M post_max_size = 50M...

    ITKE366,295 pointsBadges:
  • Perl script to monitor application start and stop events in logfile

    Hello, I am looking for a perl script for Unix that would monitor for a start and stop line in an applciaiton logfile that contains the date/time of stat and stop. It needs to be able to calculate the date/time from start of applciation for 30 minutes and if no stop is logged to logfile within 30...

    NewSAPUser10 pointsBadges:
  • Process ID zero on Windows

    I am learning how to analyze what a Windows system is doing based on looking at processes and network connections. One system I just ran across has Process ID zero with multiple connections to external IP addresses (most Yahoo registered) on port 80. This has me suspicious as I assume process ID...

    Cybernorris50 pointsBadges:
  • Migration to Ubuntu

    I am certified on MCSE on Windows NT 4 and Windows 2003 so my experience is only on Windows and One of our clients want to migrate from Windows to Open Source Platforms and they have chosen Ubuntu Linux so I need to get knowledge on this operating system or other related FOSS platforms. What should...

    Chunter110 pointsBadges:
  • Oracle installation and migration between versions in Linux

    Hi Experts, I need some useful doc links or step by step procedure to perform Oracle installation and migration in Linux environment. I surfed through the NET and could not find any good docs or PTF on this. As I'm new to explore this role, can any one provide me some useful related links?

    Inprise610 pointsBadges:
  • How to launch a program within a C program

    I'm using a C program and I'm trying to figure out how to run (or launch) another program from within it. I would need to be able to write data into STDIN of the program that's been launched. Also, I would need this to work using Linux too.

    ITKE366,295 pointsBadges:
  • How find images in Linux using the “find” command

    We currently have several images that are named with a generated uuid1 string. Is there a way to find all these images using the "find" command in Linux? I tried using this: find . -regex "[a-f0-9\-]\{36\}\.jpg". But that didn't work. Could something be wrong with the regex? If not, what should we...

    ITKE366,295 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