10 More Discussions You Might Find Interesting
1. Programming
I figured it out by now. (0 Replies)
Discussion started by: Ralph
0 Replies
2. UNIX for Advanced & Expert Users
Hello All,
Was recently working on an requirement where we have to search files more than a specific number, following is the example on same.
Let's say file names are test_40000.txt,test_40001.txt and so on till test_99999.txt.
Now requirement was to search from find command only those... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
3. Shell Programming and Scripting
I am using Ubuntu 12.4
I am running the following script:
++++++++
#!/bin/bash
while ; do
xdotool mousemove 248 539 click 1 &
sleep 3
done
+++++++++
This moves the mouse on the specified position on the screen and clicks that pauses the script for 3 seconds and repeats the... (2 Replies)
Discussion started by: alfarnume
2 Replies
4. Programming
Writing a Tool to simulate non-sequential disk I/O (simulate db file sequential read) in C POSIX
I have over the years come across the same issue a couple of times, and it normally is that the read speed on SAN is absolutely atrocious when doing non-sequential I/O to the disks. Problem being of... (7 Replies)
Discussion started by: vrghost
7 Replies
5. Solaris
Hi
I'm trying to get the real username of any user running as root on my server. On one of my server running Sol 10, if I su to root and run who am i, it displays my username. which is what I want.
But when I run it on another server, this time on Sol 8, it displays root as the user. Is... (9 Replies)
Discussion started by: wisdom
9 Replies
6. Shell Programming and Scripting
Write a tool that will be displayed in real time, what user connects or disconnects from a system that uses this tool :))
Maybe anyone can help me? (2 Replies)
Discussion started by: titasas
2 Replies
7. Shell Programming and Scripting
hi guys
I was requested to create a script to simulate a linux shell so when the user opens linux he will get my linux menu with some options and one of those is a simulated linux shell
this is my code
#!/bin/ksh
while
do
read whichcmd?"Enter Command: "
$whichcmd
... (5 Replies)
Discussion started by: kopper
5 Replies
8. Shell Programming and Scripting
hi everyone,
I have a question about the java object oriented function which to simulate in bash script...
here is the function
"session.getMaxInactiveInterval() / 60 "
got any web can read this function? coz i need to simulate to bash script...
Hope someone give me a suggestion... (0 Replies)
Discussion started by: ryanW
0 Replies
9. Linux
I want to create a script to simulate a process that hangs to test a java application. My java app executes a system command, which can also be executing scripts, etc. Any ideas on such a script?
The java code is:
Runtime rt = Runtime.getRuntime();
Process p = rt.exec("sh... (4 Replies)
Discussion started by: brendan76
4 Replies
10. Shell Programming and Scripting
I know that in order to get a real user name I should use the following command: cut -d: -f5 /etc/passwd. But how can I get the real user name for those users who are currently logged in to the system??? :confused: Can somebody help me??? (3 Replies)
Discussion started by: aga
3 Replies