Help me Please for change from Windows to Linux

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Help me Please for change from Windows to Linux
# 1  
Old 05-23-2009
Help me Please for change from Windows to Linux

Dear Friend
Please any one help change this below to run in Linux,

Code:
@echo off
REM 
REM Setting up java policy
REM

set pfile="%homedrive%%homepath%/.java.policy"

>%pfile%  echo /* Java policy */
>>%pfile% echo grant {
>>%pfile% echo     permission java.security.AllPermission;
>>%pfile% echo };

echo Java policy setup done ! 
pause

Email: Rules

Last edited by vidyadhar85; 05-25-2009 at 07:13 AM.. Reason: CODE TAG ADDED
# 2  
Old 05-25-2009
Assuming sh- shells (sh, ksh, bash, zsh)
Code:
#
#  Setting up java policy
#

set pfile="$HOME/.java.policy"

>$pfile echo /* Java policy */
>>$pfile echo grant \{
>>$pfile echo permission java.security.AllPermission\;
>>$pfile echo \}\;

echo Java policy setup done \! 
echo -n "Type enter to continue:"
read

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows

Hi, totally new to linux base using windows when started learning and using computers. but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies

2. Red Hat

Changing windows xp passwd doetn't change smbpasswd on server

Hi All we have small network which is in work group environment.We have one Samba server for sharing data on network.My Problem is when user change his/her password on windows machine i have to manually update his smb passwd on Samba server.I want password should change automatically on... (2 Replies)
Discussion started by: Vaibhav.T
2 Replies

3. Linux

Best way to change IP for Linux

Hi everyone!;) Can you please suggest something really cool and easy for changing the IP for linux? I need something advantageous and not very expensive. It would be great if I could first try it for free. Thanks! (3 Replies)
Discussion started by: Fariz
3 Replies

4. UNIX for Dummies Questions & Answers

Change windows to unix

Hi everyone. I have some questions... I have a 2nd pc with windows and i want to change it to unix cause i want to learn unix so can someone tell me how to get unix os and how to change it from windows?:D (6 Replies)
Discussion started by: NParas
6 Replies

5. Programming

how to change the default background color for x windows

I am using uil to build the widgets. I compiled the below code using gcc 3.4.6 compiler. Launched x window in light gray color. How to change the default color of the window? #include <X11/Xlib.h> #include <Xm/Xm.h> #include <Mrm/MrmAppl.h> void main ( int argc, char **argv ) {... (1 Reply)
Discussion started by: satish@123
1 Replies

6. UNIX for Dummies Questions & Answers

vnc over an ssh tunnel Linux to Linux to Windows

I *think* what I want to do is not only possible but easy, but as a "dummy" :) I can't figure it out. Here's what I have: Linux (Ubuntu 10.04) laptop that is not in my house, but has an Internet connection. Linux (Ubuntu 9.04) computer in my house that has unfettered access to the... (6 Replies)
Discussion started by: WesleyC
6 Replies

7. Linux

What's better for running Windows software in Linux, Wine or Windows VMware?

What are the differences, advantages, and disadvantages? (1 Reply)
Discussion started by: Advice Pro
1 Replies

8. Shell Programming and Scripting

How to change a directory on windows via perl script

How to change a directory on windows via perl script. I wanna mount a share on windows via perl script. I have used:- system("dir"); gives the list of directories in the drive i am.This command works well. Now i want to move from c drive to z drive via perl script.I am using:- ... (2 Replies)
Discussion started by: TRUPTI
2 Replies
Login or Register to Ask a Question