01-19-2007
Quote:
I think we have to change the mime-type of the command file which i created. Is that right. If so can anybody tell me how to do that?
No, I don't think that has anything to do with it actually. Mostly since that doesn't make since to me.
Quote:
I crated a file in bin directory and used my logic there it works fine like command when i call.
but i want to make that command file not readable format.
like if i view other commands like ls or other things i cannot read the content . i want to do like that.
I assume this means you created a type of shell script, but now you want to make a compiled binary file. You would need to learn C or C++ ( or some other language ) and write the program in that language.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello, I am a UNIX newbie and this is my first posting.
I need to create a batch command file to ftp from Sun/Solaris to AS/400.
Here is an example file:
ftp -d -i -n -v 172.28.16.22
pwd
ls
binary
quit
This is the result of executing the command file:
Connected to... (10 Replies)
Discussion started by: pietro
10 Replies
2. Shell Programming and Scripting
Hi there,
I am looking to create a single file called outputa.txt, which will show the contents of my directorya and its sub directories, and all file and directory permissions.
What command would be used for this?
Cheers
Kev (2 Replies)
Discussion started by: kev112
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Iam a new member of this group
I have got one issue
I wanna to find out one file like *.pll
in a remote server using unix command i tried giving ls but it wont work acc to my expectation since ls list out the file only in a particular directory
eg in C DRIVE I SHUD BE ABLE TO... (2 Replies)
Discussion started by: dmerin
2 Replies
4. Shell Programming and Scripting
I need to create a shell script having the menu with few options such as
1. Listing 2. Change permissions 3. Modify Contents 4. Delete Files 5. Exit
1. For 1. Listing: Display a special listing of files showing their date of modification and access time (side by side) along with their... (2 Replies)
Discussion started by: bab123
2 Replies
5. UNIX for Dummies Questions & Answers
Hello,
Is there a unix command to view the following zip file? I just need to see the content of it.
-rw-r--r-- 1 oracle dba 58403 Jun 28 13:04 test_digital.log.Z
Thanks! (3 Replies)
Discussion started by: syang68
3 Replies
6. Shell Programming and Scripting
Hi All,
I have the file like this (file name is : tem_text)
no Id name ccy
------- ---- ------------------- --------
7777 17 India Overseas Partners 500INR
I want to retreive the third colimn of from the above text file
if i use the basic awk command
cat... (4 Replies)
Discussion started by: psiva_arul
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Which command I can use to download a file from website?
I tried with wget and lwp-dowload but no gain.
Can any one suggest me the good way to dowload? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
8. Shell Programming and Scripting
Piece of code in sh file
------------------------
echo "lalit test bef"
which cp
cp $l_options $srcdirfile $destdirfile
echo "lalit test after"
echo "**************************options below"
echo "loption $l_options"
echo "src $srcdirfile"
echo "destinat... (3 Replies)
Discussion started by: lalitpct
3 Replies
9. UNIX Desktop Questions & Answers
Hi all,
I wish to know whether Unix can access window's file in Unix's terminal?
Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies
10. UNIX for Advanced & Expert Users
Guys,
i need to check whether java file can be executed in my current unix system or not.
Can anyone please help me to get the correct command to check this.
My Unix system is HP-UX.
Thanks, (1 Reply)
Discussion started by: AraR87
1 Replies
LEARN ABOUT MINIX
dh_fixperms
DH_FIXPERMS(1) Debhelper DH_FIXPERMS(1)
NAME
dh_fixperms - fix permissions of files in package build directories
SYNOPSIS
dh_fixperms [debhelperoptions] [-Xitem]
DESCRIPTION
dh_fixperms is a debhelper program that is responsible for setting the permissions of files and directories in package build directories to
a sane state -- a state that complies with Debian policy.
dh_fixperms makes all files in usr/share/doc in the package build directory (excluding files in the examples/ directory) be mode 644. It
also changes the permissions of all man pages to mode 644. It removes group and other write permission from all files. It removes execute
permissions from any libraries, headers, Perl modules, or desktop files that have it set. It makes all files in the standard bin and sbin
directories, usr/games/ and etc/init.d executable (since v4). Finally, it removes the setuid and setgid bits from all files in the package.
When the Rules-Requires-Root field has the (effective) value of binary-targets, dh_fixperms will also reset the ownership of all paths to
"root:root".
OPTIONS
-Xitem, --exclude item
Exclude files that contain item anywhere in their filename from having their permissions changed. You may use this option multiple
times to build up a list of things to exclude.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_FIXPERMS(1)