Request help with C/C++, Perl, PHP, Python, Ruby, Bash Scripts, or other Linux programming/scripting related issues
I have this command (line): tail -52 | find "/path/" -name "*.csv" Instead of printing the contents of each file, the command prints the location...
Hi, I want to write some code to search for a specific string in a text file, but without using grep command. Thanks.
Is any way to detect a keypress event in a console session? Preferebly without needing the application to be running in the foreground
i want to trigger event when the memory, disk, network or cpu utilization of a particular process crosses beyond a certain threshold in linux. Pls...
Hi, I'm kinda new to Linux I use du -skb to get free space at a point in my filesystem. like this... cd / du -skb And it will return...
#!/bin/bash my_array=("Location A" "Location B") PS3="Would you like to print select locations" " select location in"my_array}"; do &&...
Hi! I'm new in linux so I'm wondering how can I measure time of N processes and N threads and then compare this time to prove that threads are...
The --login flag should be load also the ~/.bash_profile (see man on bash). BUT the problem is that when using this bash –login -c command on RC...
I'm very new to linux, and I have a couple of questions that I could really use help with. I actually have a huge list, but I'll just pick a couple...
Hi all; I have a program called "Device Manager" to manange usb tokens for sending and recieving multiple data to/from them using shared memory...
I'm trying to figure out how to pipe the current directory listing into sort so that the output is the date in descending order (primary sort key)....
Hi , I am running shell command through C program using system() routine. I am executing "opcontrol --status" an executable using the this...
Hi All, Is there any function in c to identify the linux box is dual stack or single stack through programatically. Description: i need to...
Hi, I'm busy with a user migration task... I have to develop a script (let's call it myscript) which puts new users into a LDAP directory. The...
Hey, so i have a function in my bashrc that i use to shred files recursively. it's something like this. find "$1" -name "$2" -exec shred -uzvn...
I want to replace a word in a text file (file.txt) using shell script. The contents of the file are: file.txt -------------- line one goes here...
First i want to run a process in the background and as i have read to do so i have to exit its father so it will run in the back i first wrote...
Hello all, I am new to linux bash shell scripting. I am trying to execute the following script on my linux box, but getting error. Can...
hi ., when i was compiling my hello world program i got error...kindly help me ,.... my hello world program is :#include<stdio.h>...
Hi all. I've an ELF file (exec)...i'm interested in getting a the function prototype of the "myfunc"... can you help me?
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules