IGNOU BCS-062-E-Commerce, Latest Solved Assignment (July 2023 - January 2024 )

ignoustudymentor.com

Q3. (A) Write a shell script to delete all files from a folder which are having numeric digit in the file name.

(B) As a Windows 2000 Administrator, enable and configure IP sec policy on local computer. Also, enable it for entire domain. Explain with step by step procedure.

Sol) (A)

shell
#!/bin/bash

# Get the current directory
current_directory=$(pwd)

# Get the list of files in the current directory
files=$(ls)

# Loop through the list of files
for file in $files; do

       # Check if the file name contains a numeric digit
       if [[ “$file” =~ \d ]]; then

         # Delete the file
         rm -f $file

      fi

done

To run the script, you can save it as a file called
`delete_files_with_digits.sh` and then make it executable using the following command:

chmod +x delete_files_with_digits.sh

You can then run the script using the following command:

./delete_files_with_digits.sh

The script works by first getting the current directory. It then gets the list of files in the current directory. It then loops through the list of files and checks if each file name contains a numeric digit. If the file name contains a numeric digit, the script deletes the file.

For example, if the current directory contains the following files:

* file1.txt
* file2.docx
* file3.png
* file4.123.jpg

The script will delete the files `file4.123.jpg` and `file3.png`.

(B)

The steps on how to enable and configure IPsec policy on the local computer and for the entire domain in Windows 2000 Server:

       To enable IPsec policy on the local computer:

1. Open the Local Security Policy console.
2. Expand the Security Settings node.
3. Expand the IP Security Policies on Local Machine node.
4. Right-click on the IP Security Policy node and select New .
5. In the New IP Security Policy dialog box, enter a name for the policy and click OK .
6. In the IP Security Policy Properties dialog box, select the Active radio button and click OK.

       To enable IPsec policy for the entire domain:

1. Open the Active Directory Users and Computers console.
2. Expand the domain node.
3. Right-click on the domain and select Properties .
4. In the Domain Properties dialog box, select the Security tab.
5. In the IP Security Policy section, select the Enable IPSec for all IP traffic check box and click OK .

       To configure IPsec policy:

1. In the IP Security Policy Properties dialog box, select the Policy Elements tab.
2. In the Policy Elements list, select the Authentication and Encryption rules that you want to use.
3. In the Authentication and Encryption sections, configure the settings for the rules that you selected.
4. Click OK to close the IP Security Policy Properties dialog box.

Here are some additional things to keep in mind when enabling and configuring IPsec policy:

* You can also enable IPsec policy for specific network connections. To do this, open the Network and Dial-up Connections console and right-click on the connection that you want to enable IPsec for. Select Properties and then select the Security tab. In the IP Security section, select the Enable IPSec check box and click OK

* You can also configure IPsec policy to use specific authentication and encryption algorithms. To do this, in the IP Security Policy Properties dialog box, select the Advanced tab. In the Advanced section, configure the settings for the authentication and encryption algorithms that you want to use.

Here are some of the authentication and encryption algorithms that you can use with IP sec:

* Kerberos
* NTLM
* MD5
* SHA-1
* DES
* 3DES
* AES

ignoustudymentor.com

BCSL-063

Handwriting Assignment

BCSL-063

Other Questions With Answers

Other Subjects

Click Here

Assignment Submission Last Date

The IGNOU open learning format requires students to submit study Assignments. Here is the final end date of the submission of this particular assignment according to the university calendar.

30th April (if Enrolled in the June Exams)

31st October (if Enrolled in the December Exams)

Student Quick Services

error: Content is protected !!