Question about Computers & Internet

1 Answer

Lunix scripting I need to do a batch script on a lunix line by line not a graphic desk top. I need to know how: Find all the core dumps and MOVE them to the folder ALLCORES in the home folder of the root user. Create the directory if it does not exist. Make sure to ignore the core dumps in the ALLCORES directory when searching for them. How would I write this up in a batch script please can you help thanks katrena

Posted by on

Ad

1 Answer

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

Assuming you have ALLCORES directory: su - root find /tmp -type f -name core -exec mv {} ~/ALLCORES \;

Posted on Sep 22, 2007

  • IamSpOOk Sep 22, 2007

    oh by the way,

    I was testing as /tmp for the root of the filesystem to search. You can change this to whatever you like.

    / for the whole disk and everything else mounted

    /opt for things in /opt and under.

    If you want to restrict the search to the root partition
    only,


    then

    use


    find / -mount ....(etc)

×

Ad

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi there,
Save hours of searching online or wasting money on unnecessary repairs by talking to a 6YA Expert who can help you resolve this issue over the phone in a minute or two.

Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

Here's a link to this great service

Good luck!

Posted on Jan 02, 2017

Ad

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Print Shop PhotoPro script problem with Vista


It has to be due to either of the three reasons:

1) The script is either not fully loaded or there is some error there.

2) You are using an AMD machine. Photo Pro had been reported to show signs of problem with the AMD line of processors.

3) Software somehow had got corrupted, if its not either of the top two uninstall it and then do a clean installation again and your problem shall be resolved.

Oct 21, 2012 | Computers & Internet

Tip

How to Encode your VBS and JS files for secure website uploading


If you are still at Service Pack 2 then you can use Microsoft's own Script Encoder download it from HERE it's a command line version so after you have installed it you need to run the command prompt also make sure the Windows Scripting Host is started.

REMEMBER MAKE YOUR SCRIPTS "FOR YOUR EYES ONLY"

For both Visual Basic Scripts and JavaScript you will need to format the text in your script to look like this;

6036cf2.jpg

Replace your code goes here with your actual code when the encoder has been run then you will see that the <SCRIPT LANGUAGE= ********> will have changed to <SCRIPT LANGUAGE= ********.encode> and your code will be random characters.

The Syntax for the encoder from the command prompt is;

93a64e1.jpg


Recognized file extensions are .js and .vbs, which are changed to .jse and .vbe, respectively, after encoding, also these type of files can be decoded if you know what you are doing and therefore not totally hacker proof.


IF YOU HAVE SERVICE PACK 3 installed then this won't work at all so the best method is to use this VBS2EXE this is also a command prompt program you must make sure that the script that you want to convert is in the same root folder.

4f0fa54.jpg

When finished there will be a new file about 10 times larger then the script with the EXE file extension if you try to edit it all the code appears random this is the best method for encoding your scripts

If you want to do it ALL online and feel secure then you can do both VBS (VIsual Basic Script) and (JS) JavaScript using this website below but it is limited to 10kb per file

http://www.f2ko.de/ov2e/ov2e.html

If you create alot of batch files then I suggest that you also check out their BAT2EXE v1.5 this will convert CMD or BAT files into EXE files for web distribution you can also password protect and add a decompiler if required

ca86b9f.gif

on May 30, 2010 | Microsoft Windows XP Professional SP2

1 Answer

Script error while going to yahoo chat room


Hi,
First try to enable scripting through Internet Explorer

Go to Internet Explorer,
Click "Tools"
Click "Internet Options."
Click "Security" tab.
Click "Custom Level" button.
Scroll down to "Script ActiveX.controls marked safe for scripting"- enable
Scroll down to "Scripting - Active scripting" - enable
Scroll down to "Scripting of Java applets" - enable
Click OK
Click OK
I hope it will work.
Please let me know.
Thanks.

Mar 31, 2012 | Yahoo Messenger

1 Answer

How to write script in 2003 domaincontroller


lease follow steps to resolve your issue

First, open "Active Directory Users and Computers" on the domain controller

Now right click on the user you want to have the logon script and select the properties menu.
A properties dialog like the one shown below will appear. Select the ‘Profile’ Tab

Here is the confusing part. If I just put any old batch file name in the logon script field, where does windows try to find it from?
Lets find out. First, type in this field ‘logon.bat’
Click OK.
Now, we need to find the folder where the server loads logon scripts. It follows this format:
\\(SERVERNAME)\sysvol\(DOMAIN NAME)\scripts
So, if my server was named DCServer1, and my domain was intelliadmin.com, we would browse to this path:
\\DCServer1\sysvol\intelliadmin.com\scripts

Now that we know where to put it, creating the script is easy. Just open up notepad, and write your batch file. For our test batch file we will put in a line that loads our profile generator for Microsoft Outlook XP

We are done with the script, so we save the text file as:
\\DCServer1\sysvol\intelliadmin.com\scripts\logon.bat
Now, the next time this user logs in, they will load the login script.
hope it can resolved your issue
thanks

May 14, 2010 | Computers & Internet

1 Answer

How to write script in 2003 domaincontroller


Hi

please follow steps to resolve your issue

First, open "Active Directory Users and Computers" on the domain controller

Now right click on the user you want to have the logon script and select the properties menu.
A properties dialog like the one shown below will appear. Select the ‘Profile’ Tab

Here is the confusing part. If I just put any old batch file name in the logon script field, where does windows try to find it from?
Lets find out. First, type in this field ‘logon.bat’
Click OK.
Now, we need to find the folder where the server loads logon scripts. It follows this format:
\\(SERVERNAME)\sysvol\(DOMAIN NAME)\scripts
So, if my server was named DCServer1, and my domain was intelliadmin.com, we would browse to this path:
\\DCServer1\sysvol\intelliadmin.com\scripts

Now that we know where to put it, creating the script is easy. Just open up notepad, and write your batch file. For our test batch file we will put in a line that loads our profile generator for Microsoft Outlook XP

We are done with the script, so we save the text file as:
\\DCServer1\sysvol\intelliadmin.com\scripts\logon.bat
Now, the next time this user logs in, they will load the login script.
Check out our Windows Admin Tools
Filed Under: Windows

hope it can resolved your issue
thanks for using fixya

Mar 25, 2010 | Computers & Internet

2 Answers

Flash script


You should know programming. If you know it, you could write scripts in Action Pan in Flash or other editors.
I suggest you this website:
http://www.flashkit.net/
you can find all your answers here. Enjoy it.
Good luck

Feb 04, 2009 | Computers & Internet

1 Answer

Require a batch script


for domain groups use dsmod

ie
dsmod group GroupDN -addmbr MemberDN


for local groups use
net localgroup MyGroup john /add





Jun 03, 2008 | Computers & Internet

1 Answer

Need help batch script #!/bash/sh


google batch script programming to get tutioral and other info on batch scripting

all the batch needs to do id change its directory to the directory you want and then just use other commands to do what you want with the files
e.g

cd\
cd Documents and settings
cd user
cd temp
del *.*

Sep 23, 2007 | Computers & Internet

1 Answer

Bash scripts


bash script? or do you mean Batch Script?

Sep 21, 2007 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

92 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18425 Answers

Alun Cox

Level 3 Expert

2678 Answers

David Payne
David Payne

Level 3 Expert

14162 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...