• Delete Linux files and directories that are three days old

    Our log directory has grown way too big (it's over 70,000 files / directories). We need to go through and delete all the files / directories that are older than three days. We tried to use find * -mtime +3 -exec rm {} \; but we get the error that Argument List is too long. What can we do?

    ITKE827,895 pointsBadges:
  • What’s the state of my Linux process when it reads blocks from a disk?

    I'm currently using Linux - and I need to figure out what happens to my process (I mean the state of it) when it has to read blocks from my disk. Would it be blocked? How is another process chosen for execution? Thanks.

    ITKE827,895 pointsBadges:
  • List of running Linux processes using Python

    Would anyone know if there's a way I could get a list of the running processes using Python? I'm also on Linux too. Thanks!

    ITKE827,895 pointsBadges:
  • Linux process says “device busy” in umount

    In Linux, when I'm doing umount, one of my processes keeps causing device busy. Why is this happening and what should I do?

    ITKE827,895 pointsBadges:
  • Free up Linux TCP/IP ports

    For Linux, is there any way I can free up one of my TCP/IP ports? I used netstat -tulnap to see which ports are already in use. What's the next step for me?

    ITKE827,895 pointsBadges:
  • Echo working on system files

    Why does "echo deadline >/sys/block/hda/queue/scheduler" not removing entire content and adding deadline as it works in normal file. ]# more /sys/block/sda/queue/scheduler noop anticipatory [deadline] cfq

    smpunix15 pointsBadges:
  • Linux API to find the path of a process

    I'm using both a Linux and Windows environment. When I'm using Windows, I use a standard API to find the patch which is running my process. But can't figure out how to do it in Linux. Can someone help me?

    ITKE827,895 pointsBadges:
  • Extracting .WAR file using Linux command line

    I'm currently in a Linux environment and I need to extract a .WAR file. Can I use the command line to do this? If not, what should I do?

    ITKE827,895 pointsBadges:
  • How to list Java processes using Bash

    Is there a way I could list all of my Java processes in Bash? I have to use a command line / I have a command "PS" but I'm not sure of the parameters. Can anyone help me?

    ITKE827,895 pointsBadges:
  • Attach file on Linux shell using mail command

    I'm using a server that runs on a Linux shell. I'm looking to mail a file to one of our clients. Is there a way to do this? Can I use the mail command? Thanks!

    ITKE827,895 pointsBadges:
  • Maximum limit to number of Linux processes?

    Does anyone know the maximum limit to the number of processes in my Linux system? Is there a way I can find it? Thanks for the help.

    ITKE827,895 pointsBadges:
  • Getting MAC address from Ubuntu machine using C program

    For my job, I'm currently using Ubuntu. Is there a way I can get my MAC address from the machine I'm using using a C program? Thanks for the help.

    ITKE827,895 pointsBadges:
  • Linux permissions to read / write files

    My department just been set up in a Linux system and I'm the administrator. Can I setup directory permissions so my group can read / write files and subdirectories but not delete them? Thanks.

    ITKE827,895 pointsBadges:
  • Edit binary files on Unix

    I'm currently losing both Windows and Unix machines and I understand how to edit a binary file in Windows. But is there a way I can do it on Unix? Thanks!

    ITKE827,895 pointsBadges:
  • Sending email through Linux Shell script

    I'm trying to send an email through my Linux Shell script but can't find a way. Is there a specific command to do it? And do I have to setup my server in a specific way? Thank you.

    ITKE827,895 pointsBadges:
  • Permission denied when writing a file in Linux directory

    My department owns a directory in Linux (and I'm a member of it) but, for some reason, I can't create a file in it. What is the cause? It says permission denied.

    ITKE827,895 pointsBadges:
  • Linux command to filter processes by name

    Would there be an option for me in a Linux command to filter my processes by name and then write the CPU usage for every process to a log file? Thanks!

    ITKE827,895 pointsBadges:
  • Linux: Run CRON JOB command every six hours

    Would it be possible for me to run a CRON JOB command every six hours in Linux? I've tried this code so far but it didn't work: /6 * * * * * mycommand Thank you.

    ITKE827,895 pointsBadges:
  • Linux: Finding the Java SDK

    I just installed JDK on my machine but I can't find my JDK folder. Do I have to set the path for that? If not, where is it located?

    ITKE827,895 pointsBadges:
  • Rename Linux files and folders to lowercase

    In Linux, I have to go ahead and rename all of our folders / files (folder tree) to lowercase so no uppercase letters appear anywhere. I'm looking to do a shell script but it needs to be on a Linux system. Is this possible?

    ITKE827,895 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.

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

Following