Sponsored Content
Full Discussion: Hiding files in unix/linux
Top Forums UNIX for Advanced & Expert Users Hiding files in unix/linux Post 70262 by victorvvk on Wednesday 27th of April 2005 02:32:49 AM
Old 04-27-2005
Hiding files in unix/linux

Can Anybody please help me with the command in Unix/Linux which can help me hide the files which is equal to ATTRIB in DOS

Not using . , but any commands in unix which will do this
if you any script which will do this ,it will be very helpful
Its very URGENT


Regards

Victor
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

I/ps pls for migration of oraboot & orabackup files from Tru64 Unix to Linux 3.0

Hi, I have 2 Files - oraboot and orabackup, which are correct Files in Tru64 Environment and I am trying to check whether the Files are running properly in my current Linux 3.0. (basically trying to migrate them from Tru64 to Linux 3.0). The files are neither Shell nor Perl, and just have the... (1 Reply)
Discussion started by: marconi
1 Replies

2. Linux

I/ps pls for migration of oraboot & orabackup files from Tru64 Unix to Linux 3.0

Hi, I have 2 Files - oraboot and orabackup, which are correct Files in Tru64 Environment and I am trying to check whether the Files are running properly in my current Linux 3.0. (basically trying to migrate them from Tru64 to Linux 3.0). The files are neither Shell nor Perl, and just have the... (2 Replies)
Discussion started by: marconi
2 Replies

3. Shell Programming and Scripting

Regarding migration (from Tru64 Unix to Linux 3.0) of Files :- oraboot and orabackup

Hi, I have 2 Files - oraboot and orabackup, which are correct Files in Tru64 Environment and I am trying to check whether the Files are running properly in my current Linux 3.0. (basically trying to migrate them from Tru64 to Linux 3.0). The files are neither Shell nor Perl, and just have the... (1 Reply)
Discussion started by: marconi
1 Replies

4. UNIX for Dummies Questions & Answers

Uploading files from Mac to Unix/Linux via ssh

Ok. I am using the Terminal window to ssh into a unix server. I am not sure how to copy a file from my mac onto the unix server. What command do I enter and how do I type the file I want to upload Example. Say my file is named Test1.doc and it is on the usr/me/test/working/ directory and I want... (3 Replies)
Discussion started by: libertyforall
3 Replies

5. Shell Programming and Scripting

Stress testing php files at Unix/Linux Command line

Hi, Your great help is very appreciated. I am looking for any Unix command or tool for doing Stress/Load test of php files at command prompt. I tried torture.pl but it is not working after20 concurrent threads/users. as it is very urgent for me..please suggest ur ideas asap. thanks (5 Replies)
Discussion started by: Malleswari
5 Replies

6. Shell Programming and Scripting

Convert directory of text files to Unix/Linux Line Ending

I need help converting a directory of *.txt with Windows line ending to UTF-8 character encoding and Unix/Linux line ending. (9 Replies)
Discussion started by: chipperuga
9 Replies

7. Shell Programming and Scripting

Management application user rights on the files in a Unix / Linux

good evening .. I have a plea, who I can help me with a management application user rights on the files in a Unix / Linux I need for college .. .. and not told us no clue .. thank you (1 Reply)
Discussion started by: alex90
1 Replies

8. Shell Programming and Scripting

How to create zip/gz/tar files for if the files are older than particular days in UNIX or Linux?

I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also? I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies

9. Shell Programming and Scripting

Password hiding in UNIX

Hi guys, I use STTY command to make the password invisible. Now I need to write the password into another file pwd.txt, but in an invisible manner, something like ******. Another thing is to when I echo the content of pwd.txt I get the password I actually typed. Thanks guys. Help me out. (5 Replies)
Discussion started by: mohanalakshmi
5 Replies

10. Programming

Hiding commnd line arguments in ps command on Linux

Hi Unix lovers, I am trying to seek an explanation for a simple looking code - why it works? I found below program which hide command line argument in ps command. #include <string.h> int main(int argc, char **argv) { // process command line arguments.... // hide command... (4 Replies)
Discussion started by: shriashishpatil
4 Replies
mtools(1)						      General Commands Manual							 mtools(1)

NAME
mtools - Provides a collection of tools for manipulating DOS files DESCRIPTION
The mtools commands are a public domain collection of programs that let you read, write, and manipulate files on a DOS file system (typi- cally a diskette) from a UNIX system. Each command attempts to emulate the DOS equivalent command as closely as possible. The following commands are available: Converts a DOS file to UNIX Changes DOS file attribute options Changes or reports the DOS working directory Copies DOS files to and from a UNIX operating system Deletes a DOS file Displays contents of a DOS directory Copies a diskette to another diskette as a bit-image copy Adds a DOS file system to a low-level formatted diskette Creates a shell script to restore UNIX file names from DOS Labels a DOS volume Makes a DOS directory Removes a DOS directory Performs a low level read (copy) of a DOS file to UNIX Renames an exist- ing DOS file Displays the contents of a DOS file Performs a low level write (copy) of a UNIX file to DOS Converts a UNIX file to DOS format DOS file names optionally are composed of a drive letter followed by a colon, a subdirectory, and a file name. Subdirectory names can use either the '/' or '' separator. The use of the '' separator or wildcards requires the names to be enclosed in quotes to protect them from the shell. The regular expression "pattern matching" routines follow the UNIX rules. For example, an asterisk (*) matches all DOS files in place of asterisks separated by a dot (.) such as *.*. The archive, hidden, read-only and system attribute bits are ignored during pattern match- ing. Not all UNIX file names are supported in the DOS world. The mtools commands may have to change UNIX names to fit the DOS file name conven- tions. Most commands provide the verbose option (-v), that displays new file names if they have been changed. The following table shows some examples of file name conversions: ----------------------------------------------- UNIX name DOS name Reason for the change ----------------------------------------------- thisisatest THISISAT file name too long file.stuff FILE.STU extension too long prn.txt XRN.TXT PRN is a device name .abc X.ABC null file name hot+cold HOTXCOLD illegal character ----------------------------------------------- All options use the minus (-) option, not the slash (/) as provided under DOS conventions. The mcd command is used to establish the device and the current working directory (relative to the DOS file system), otherwise the default is assumed to be A:. All the mtools commands return 0 on success and 1 on complete failure. All mtools require a floppy diskette properly installed on the system. All mtools facilities address a device named /dev/disk/floppy, therefore, a symbolic link between the floppy device and /dev/disk/floppy is also required. RESTRICTIONS
If the proper device is not specified (when multiple disks capacities are supported), an error message from the device driver may be dis- played. This message can be ignored. EXAMPLES
If the diskette is a SCSI attached floppy drive designated device rz13, the following example sets up a floppy diskette for access by the mtools commands: # cd /dev # ./MAKEDEV disk/dsk13 You can then link the device to /dev/disk/floppy as follows: # ln -s /dev/rdisk/dsk/13c /dev/disk/floppy The following example sets up a floppy diskette for access by the mtools commands if the floppy drive is FDI attached: # cd /dev # ./MAKEDEV fd0 You can then link the device to /dev/disk/floppy as follows: # ln -s /dev/rfd0c /dev/disk/floppy The following example also sets up a SCSI attached floppy diskette for access by the mtools commands: # /usr/sbin/mknod /dev/rdisk/dsk13c c 8 21506 You can then link the device to /dev/disk/floppy as follows: # ln -s /dev/rdisk/dsk13c /dev/disk/floppy Remember to use the appropriate SCSI name and minor number for your configuration. In this example, this is dev/rdisk/dsk13c. Caution This method is recommended for use only by experienced system administrators. SEE ALSO
Commands: dos2unix(1), ln(1), mattrib(1), mcd(1), mcopy(1), mdel(1), mdir(1), mdiskcopy(1), mformat(1), mlabel(1), mmd(1), mrd(1), mread(1), mren(1), mtype(1), mwrite(1), unix2dos(1) Floppy disk interface: fd(7) Utilities: MAKEDEV(8), mknod(8) mtools(1)
All times are GMT -4. The time now is 09:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy