:) Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on this.........Let me... (1 Reply)
:confused: Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on... (9 Replies)
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
User usrA creates dirA directory and runs chmod 777 on the directory. Can usrB issue another 777 on dirA? It appears the answer is no even if the usrA and usrB are part of the same group. I know this is a rare scenario but I just ran across it and found out that usrB receives an error when... (4 Replies)
Hello Guruz,
Relay bad condition :mad:
Some has changed the permission to 777 recursively for /usr/bin directory by mistake. Now all the permission looks to be 777 on /usr/bin
Hence I am so many system related errors as 1 show below.
When I am trying to change the password, I am getting... (5 Replies)
Here is the sample code I'm trying to execute. I see that the permission on the file is set to 755 always I want to change it to 777. Please help me with this.
code :
#!/usr/bin/perl
use File::Path qw(make_path remove_tree);
my $path = "2010/sam";
make_path($path,{mode=>0777});
... (1 Reply)
Hey everyone. I have 2 different linux servers (each one is through a different web hosting company). On both servers I have the exact same PHP file upload script that allows users to upload a file or image to the server (everything on both servers is identical).
On server #1 the "attachments"... (5 Replies)
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
Hi Guys,
I want to know is there any method to create a file having 777 permission. I am aware of umask, since it is only giving max. 666 permission for files this is not fulfilling my needs.
Thanks in advance
---------- Post updated at 12:49 AM ---------- Previous update was at 12:31... (10 Replies)
ANy reasons?
FILESYSTEM not FULL, PERMISSION is 777, but cant write to the filesystem?
any steps to do? reasons for this? (9 Replies)
Discussion started by: kenshinhimura
9 Replies
LEARN ABOUT ULTRIX
mkproto
mkproto(8) Unsupported mkproto(8)Name
mkproto - construct a prototype file system
Syntax
/etc/mkproto special proto
Description
The command is used to bootstrap a new file system. First a new file system is created using The command is then used to copy files from
the old file system into the new file system according to the directions found in the prototype file proto. The prototype file contains
tokens separated by spaces or new lines. The first tokens comprise the specification for the root directory. File specifications consist
of tokens giving the mode, the user-id, the group id, and the initial contents of the file. The syntax of the contents field depends on
the mode.
The mode token for a file is a 6 character string. The first character specifies the type of the file. (The characters -bcd specify regu-
lar, block special, character special and directory files respectively.) The second character of the type is either u or - to specify set-
user-id mode or not. The third is g or - for the set-group-id mode. The rest of the mode is a three digit octal number giving the owner,
group, and other read, write, execute permissions. See
Two decimal number tokens come after the mode; they specify the user and group ID's of the owner of the file.
If the file is a regular file, the next token is a pathname whence the contents and size are copied.
If the file is a block or character special file, two decimal number tokens follow which give the major and minor device numbers.
If the file is a directory, makes the entries . and .. and then reads a list of names and (recursively) file specifications for the
entries in the directory. The scan is terminated with the token $.
A sample prototype specification follows:
d--777 3 1
usr d--777 3 1
sh ---755 3 1 /bin/sh
ken d--755 6 1
$
b0 b--644 3 1 0 0
c0 c--644 3 1 0 0
$
$
Restrictions
You can only run on virgin file systems. It should be possible to copy files into existent file systems.
See Alsodir(5), fs(5), fsck(8), newfs(8)mkproto(8)