answersLogoWhite

0

A Unix script is not necessary. The zip utility has the capability of compressing the files with a password.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Write a shell script which deletes all line containing the word unix in the filesn suppiled as argument to this shell script?

# SS29 # Script to delete all lines containing the word 'unix' from files supplied as arguments # Usage: SS29 file1 file2 file3 ... if [$# -lt 2] then echo Insufficient arguments exit fi for file do grep -v unix $file>/temp/$file cp /temp/$file $file done


Record your login session into a file in UNIX?

Use the 'script' command; it captures everything you are doing and stores it into a file.


What file extensions are used to identify command shell scripts?

For windows, you might use .cmd, .bat as common file extensions. Unix doesn't use file extensions as associations, so no file extension needs to be used in the Unix environment. A shell script in Unix is simply a text file with any name that is readable and executable. However, file extensions are typically used in Unix as a documentation aid that states that the file is a shell script. Common extensions are .sh, .csh, .ksh, .tcsh, .zsh, etc.


How do you password protect a file in Windows Vista?

You must first compress the files as a .ZIP file. When you compress the file, under the security tab, you can password protect it.


What is the procedure of execute a script in shell in ubantu?

For any Unix or Linux based operating system, make the text file readable and executable and then invoke (call) it by the file name, which will execute the script.


How do you password a notepad file?

You can't give password to a notepad file. If u wish to protect ur file. Cut that file/files into a compressed(zipped folder) and then select 'add password' in 'file'. Give password. Hereafter whenever u open this file, it will ask u password.


How do you put password to MS office?

To password protect a file on Microsoft Office, open the file, click Options on the Tools menu, then click Security. You will have the option to create a password that will be needed to open the file, or a password that will be required to modify the file.


How do you change permissions on a shell script in unix?

Use the 'chmod' command to change permissions on any file. Note: you have to be the owner (or the superuser) to do this.


Unix script that checks each minute and reports on who logs in and who logs out?

You can create a Unix script that checks for user logins and logouts by monitoring the /var/log/auth.log or /var/log/secure file, depending on your Unix distribution. Use the last command to list users who have logged in, and last -x to include system shutdowns and runlevel changes, which indicate logouts. Schedule the script to run every minute using a cron job with the command * * * * * /path/to/your/script.sh. Ensure the script captures the output and reports the findings, perhaps by appending the results to a log file.


How does Unix protect passwords?

Passwords are protected in 2 essential ways: first, the file containing the password is only viewable by the administrator (root) account. Secondly, the password itself is hashed so that it appears to be encrypted, and is a one-way hash. This means there is no way to retrieve a hashed password (other than guessing). It has to be reset in that case.


How can you password protect the print of a document?

To password protect your document go to: For 2007: Go to the Office Icon Find Prepare Click Encrypt And type in Pasword For 2003 Go to File Go to Encrypt or Password Protect or Lock The type in your password, do not forget it!


The Unix file contains which kinds of fields?

The Unix file contains which kinds of fields?