General :: Only Execute The Rwx And View The File?

Aug 27, 2009

For example, I write the file like in vi or something. I wanna execute but no one read , write and execute but one more thing no one to view the file like encrypt the file.

View 5 Replies


ADVERTISEMENT

General :: Changing Directory - Saved File On The Desktop - Cannot Seem To Get That File To Execute It

Mar 10, 2011

I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:

I try cd Desktop says that there is no such directory.

I tried /home/me/Desktop same thing.

View 5 Replies View Related

General :: File Privileges - Check And Set Who Can View Or Open A Given Folder Or File?

Jul 30, 2010

How can I check and set who can view or open a given folder or file?

View 1 Replies View Related

General :: View A Particular Ten Lines In A Large File Where Can't Open The File In Vi

May 12, 2010

I am using RHEL 5.I have a very large test file which cannot be opened in vi.The content of the file has some 8000 lines.I need to view ten lines between 5680 to 5690.How can i view these particular lines in a large file.what is command and option i need to use.

View 1 Replies View Related

CentOS 5 :: Can't Execute Things In /tmp Now But Is There A Way To Execute Only One File And No More?

Feb 17, 2011

i created a /tmp partition amd mounted it like this:" mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp"
I know i can't execute things in /tmp now but is there a way to execute only one file and no more???

View 1 Replies View Related

General :: Cannot Execute A File?

Mar 8, 2010

Trying to run an executable, but it's not working for some reason:

Code:

View 14 Replies View Related

General :: Execute The File Within Vi ?

Oct 26, 2009

I m trying to execute my file from with in vi. i m using following syntax esc :!<program-name> m i making any mistake as it is giving me an error.

My program is this:

#This program takes 3 Parameters from user namely name,address,phonenumber and store those details in detail.out file .

#To store output in only milind directory by doing this if we run this file within any directory the file get stored in milind directory only.

View 14 Replies View Related

General :: How To Execute A .run File

Sep 21, 2010

Downloading Virtual box, I saw a link with title All distributions on its home page:

VirtualBox-3.2.8-64453-Linux_x86.run

I have not downloaded it yet, I wanted to know how to execute it ? I've never seen a .run file before ! Does this mean this file is supposed to run on all distributions ?

View 13 Replies View Related

General :: View Chm File In Red Hat?

Jan 27, 2010

i have a doubt regarding chm file.how to view chm file in redhat linux EL5

View 4 Replies View Related

General :: Execute A Command Whenever A File Changes?

Aug 27, 2010

I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished working with that file. Currently, I'm using this: while read; do ./myfile.py ; done And then I need to go to that terminal and press Enter, whenever I save that file on my editor. What I want is something like this: while sleep_until_file_has_changed myfile.py ; do ./myfile.py ; done

Or any other solution as easy as that. BTW: I'm using Vim, and I know I can add an autocommand to run something on BufWrite, but this is not the kind of solution I want now. Update: I want something simple, discardable if possible. What's more, I want something to run in a terminal because I want to see the program output (I want to see error messages).

View 7 Replies View Related

General :: How To View Chm File In Redhat

Jan 28, 2010

i have a doubt regarding chm file.how to view chm file in redhat linux EL5

View 2 Replies View Related

General :: How To View Image File

Jul 16, 2010

I am working on a linux cluster based on Scientific Linux 5. I have some images in .bmp format. How can i view them from the command line or without downloading to desktop? At present I am connecting from Win7 using Exceed.

View 4 Replies View Related

General :: View A File With Its Inode Nno?

Nov 2, 2010

how can we view a file with its inode nno . eg. cat 12456 where 12345 is the inode of a file

View 3 Replies View Related

General :: File Permission. Write And Execute Only?

Jan 11, 2011

Is there any use if a file has only write and execute permission and not read permission?

View 2 Replies View Related

General :: Execute Commands Over SSH In A Batch File?

Feb 17, 2011

I'm looking to, all in the course of one batch file:

ssh into a remote computer execute commands (per the batch file) on the remote host.

What options do I need to add to the ssh invocation so that the batch file executes the lines following the ssh invocation over the connection?

e.g., with sftp it's simply adding a -b /dev/stdin and then << EOF at the end; how do I do this with SSH?

View 1 Replies View Related

General :: Transfer For The Execute File To Window?

Mar 26, 2011

I got a souce code in linux system. That's why my executeable file can be execute in linux.

Since that I can makefile in linux. But I'd like to make an executeable file in Window system the same.

But I didn't got any source code in Window system. Can I use any software to transfer my

execute file like "aaa" to "aaa.exe" in Window system and can be executed.

View 5 Replies View Related

General :: Changing File Permission To Execute?

May 12, 2011

My shell script runs from the command line, but fails in cronjob. /bin/sh: asper.sh: Permission denied

-rw-r--r-- asper.sh I guess the permission should look like '-rwxr-xr--' How can I change the permission to be like that?

View 2 Replies View Related

General :: Execute File In Different Process On Ubuntu?

Oct 28, 2010

Means I want to execute two executables one by one at the same time as shown below:execute1
execute2these are two executables. but the second one is executed after 1st one is closed is there any way two execute both.One way isgnome-terminal -e execute1execute2but here i want to hide the terminal window..........

View 3 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

General :: View File Ignoring Set Of Lines?

Jun 21, 2010

I'm having a file with repeated particular text lines. So I need to view the file content ignoring these lines. Is there anyway I can achieve this using VI

View 2 Replies View Related

General :: View WINDOW Excel File Without Using GUI?

Nov 14, 2010

view WINDOW excel file without using GUI

View 1 Replies View Related

General :: Way To View The Contents Of A Berkeley DB File?

Jul 1, 2011

As the topic title states, I would like to know the preferred way of viewing the contents of a Berkeley DB file. The machine the file is on is running SuSE 9.3, with perl 5.8.6 and php 5.2.0 installed. (I'm not sure if stating that was necessary, but my understanding is that the more information I can provide you, the better. The purpose to this question is this: I have been requested to look into coming up with some form of Geocoding software for one of my company's clients. Specifically, I've been requested to look into trying to obtain Census tract/block information.

I discovered the Perl module Geo::Coder::US, which uses Census input (TIGERLine files) to create a Berkeley DB file, then reads said file to produce its own output. However, the output from Geo::Coder::US only provides latitude and longitude information.At the moment, my only interest is in popping the Berkeley DB file generated with the import script packaged with the Geo::Coder::US module. I'm trying to see what the contents of that DB file are, so I can determine if the information I'm after is even in there in the first place.

View 2 Replies View Related

General :: Execute Bash File - Always Back To Home Dir?

Apr 11, 2010

In my bash file I have asked to navigate to some subdir, unzip a file and stay there but when I type pwd I can see i'm always back to home dir.Any way to get shell stick to subdir?

View 4 Replies View Related

General :: Unable To Change File Permissions To Execute

Jun 16, 2010

I've checked out a subversion project with source c++ files in netbeans 6.8 on Red Hat 5.5. My machine has a dual boot with windows xp and RHEL 5.5 so I checked out the project on a folder called winshare which is a shared drive/partition (E: under xp) allowing both operating systems to access the contents. I've Fedora as virtual machine on xp and wanted to be able to work on the source seamlessly whether using fedora or RHEL.

Problem is that Netbeans is able to build the source just fine but I can't seem to run the generated executable. It has -rw-rw---- permission and the owner is the same user logged in (let's say user1) but no matter what I do, whether I change permissions as user1 or root issuing command chmod 777 -R /dir/where/file/is does not have any effect whatsoever on the executable as well as any .cpp or .h files (nothing that I need exectue permissions on .cpp but just to make a point).

View 2 Replies View Related

General :: Read And Execute Permissions For Executing The File

Mar 2, 2010

Binary files need only execute permission to execute. No read permission is required. But all executable files must be read by the kernel into main memory before executing. Also script files need both read and execute permissions for executing the file.

View 5 Replies View Related

General :: Rhel/centos File Execute And Installation?

Mar 6, 2010

i have new build testing centos 5.4 i386 base how to monitor logs and watch what is going wrong with file. i have 1 zmanda server enterprise i give permission and when i excecute nothing happend

# chmod +x amanda-enterprise-3.0-installer.bin
-rwxr-xr-x 1 root root 0 Mar 6 12:12 amanda-enterprise-3.0-installer.bin
# ./amanda-enterprise-3.0-installer.bin

what i am missing to install it.

View 1 Replies View Related

General :: Create _ Edit And View A File In System?

Oct 5, 2009

How to I open, create, edit, or view a file in Linux?

View 5 Replies View Related

General :: -bash: /usr/sbin/amrecover: Cannot Execute Binary File

Jun 8, 2010

I just installed amanda-backup_client-2.6.0p2-1.rhel4.i386.rpm on my Red Hat Enterprise Linux 4 system. But I don't know who to check if it successfully installed or not. When I try to run amrecover from root, I get:

-bash: /usr/sbin/amrecover: cannot execute binary file

View 4 Replies View Related

General :: Whenever Execute The Below Scriptlet With Out Proper File Name It Deletes /tmp Directory?

Jul 22, 2010

Whenever execute the below scriptlet with out proper file name it deletes /tmp directory .I guess this is because value of variable a didnt get initialized and there for rm -rf /tmp/ get executed and entire /tmp directory get deleted.How would i avoid any empty variables to be used in script? as this is a classic case of destructive script.

Code:
#!/bin/bash
echo "Enter file to delete from tmp"

[code]....

View 8 Replies View Related

General :: Windows - View The Unix Permissions Of A File In A .zip Archive?

May 19, 2010

is there a way to view the Unix permissions for a file under Windows?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved