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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
fromdos
tofrodos(1) General Commands Manual tofrodos(1)
NAME
tofrodos - Converts text files between DOS and Unix formats.
SYNOPSIS
fromdos [ options ] [file...]
todos [ options ] [file...]
DESCRIPTION
DOS text files traditionally have carriage return and line feed pairs as their newline characters while Unix text files have the line feed
as their newline character. fromdos converts text files from the DOS format to the Unix format, while todos converts text files from the
Unix format to the DOS format.
The programs accept multiple filenames and wildcards as their arguments. You may also use them in a pipe. If either program finds its
input redirected, it will process stdin and place the output on stdout.
OPTIONS
-a Always convert. If converting from DOS to Unix, this option will cause the program to remove ALL carriage returns. The default is to
remove carriage returns only if they are followed by line feeds. If converting from Unix to DOS, this option will cause the program
to convert ALL linefeeds to carriage return pairs. The default is to convert linefeeds only if they are not already preceded by a
carriage return.
-b Make a backup of original file. The original file is renamed with the original filename and a .bak extension. For example, a file
called "filename.ext" becomes "filename.ext.bak". Important: the program behaves differently if it is compiled for DOS (as compared
to being compiled for Windows, Linux, Mac OS X or other systems). In view of the filename restrictions present on DOS, the DOS exe-
cutable will strip the original file extension, if any, from the file before appending the .bak extension. For example, "file-
name.ext" becomes "filename.bak".
-d Convert from DOS to Unix. This forces the program to convert the file in a particular direction. By default, if the program is named
fromdos or dos2unix, it will assume that the input file is in a DOS format and convert it to a Unix format. If the program is named
todos or unix2dos, it will assume that the input file is in a Unix format and convert it to a DOS format. Using the -d option forces
the program to convert from a DOS format to a Unix format regardless of how the program is named. Likewise, using the -u option
forces the program to convert from a Unix format to a DOS format regardless of the name of the program.
-e Abort processing on any error in any file. Normally, the program will simply skip to process the next file on the command line when
it encounters any errors. This option causes it to abort on errors.
-f Force: convert even if the file is not writeable (read-only). By default, if fromdos or todos finds that the file does not have
write permission, it will not process that file. This option forces the conversion even if the file is read-only.
-h Display a short help screen on the program usage and quit.
-l<logfile>
Log error messages to <logfile>. Note that if your command line has an error, such as when you specify an unknown option, the error
message for the command line option error will be issued to stderr instead and not logged.
-o Overwrite the original file (no backup). This is the default.
-p Preserve file ownership and time. On systems like Linux, the file ownership will only be preserved if the user is root, otherwise it
will just set the file time and silently fail the change of file ownership. If you want a warning message when the file ownership
cannot be changed, use -v.
-u Convert from Unix to DOS. See the -d option above for more information.
-v Verbose.
-V Show version message and quit.
AUTHOR
The program and its documentation are copyrighted (c) 1996-2008 by Christopher Heng. All rights reserved. They are distributed under the
terms of the GNU General Public License Version 2.
The latest version of tofrodos can be obtained from
http://www.thefreecountry.com/tofrodos/index.shtml
2011 Version 1.7.9 tofrodos(1)