10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have multiple files like
how to do list files from new_30 to new_50
i have tried this command but it wont work
dir new*{30-50}.txt
my exact requirement is to get line count of these files
the command which work is
FOR %i IN (new*.txt) DO find %i /c /v ""
but at the... (1 Reply)
Discussion started by: sagar_1986
1 Replies
2. Shell Programming and Scripting
Hi, I need to extract Password expires from the output of windows command print `net user %USERNAME% /domain`; in perl. So i want to redirect the output of this win-cmd to a file and try extracting Password expires along with its value. i'm trying with this code but getting errors.
#!usr/bin/perl... (1 Reply)
Discussion started by: sam_bd
1 Replies
3. Solaris
Hi folks,
As I continue my self-torture , I've come on an interesting issue.
I now have a script that uses top on a Solaris box to gather performance data into a file for use in tracking over all performance.
And it even works 99.99% of the time.
But it glitches eventually and leaves a... (12 Replies)
Discussion started by: Marc G
12 Replies
4. Windows & DOS: Issues & Discussions
Hi,
I use my laptop intermittlently.Is it good practice to keep my laptop in sleep mode when not in use and at the end of the day turn it off completely.
Please advice.
I am using windows xp .
Regards,
Maddy (1 Reply)
Discussion started by: Maddy123
1 Replies
5. Shell Programming and Scripting
Hello,
I work on Windows and I use Putty to access a remote UNIX server.
I am trying to build a shell script that will have as main task to open the
Windows command prompt (cmd) and run some Windows commands thereafter. The commands are actually file transfer commands that will download a file... (14 Replies)
Discussion started by: rookie2785
14 Replies
6. Shell Programming and Scripting
I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine.
for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies
7. Windows & DOS: Issues & Discussions
Hi,
I am trying to connect to a remote server using Plink tool. Both my local and remote machines are Windows. On remote server, I have OpenSSH server installed. I am able to run commands on remote machine but there is some problem with long UNC path, which I noticed today.
For... (3 Replies)
Discussion started by: Technext
3 Replies
8. Shell Programming and Scripting
I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies
9. Solaris
hi,
I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this.
the constraints are
> the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies
10. SCO
Hi All,
I want to check memory details and other hardware details of my SCO machine. can someone please share the command to do that?
Thanks,
Am (2 Replies)
Discussion started by: am_yadav
2 Replies