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
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
Jul 30, 2010
How can I check and set who can view or open a given folder or file?
View 1 Replies
View Related
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
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
Mar 8, 2010
Trying to run an executable, but it's not working for some reason:
Code:
View 14 Replies
View Related
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
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
Jan 27, 2010
i have a doubt regarding chm file.how to view chm file in redhat linux EL5
View 4 Replies
View Related
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
Jan 28, 2010
i have a doubt regarding chm file.how to view chm file in redhat linux EL5
View 2 Replies
View Related
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
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
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
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
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
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
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
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
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
Nov 14, 2010
view WINDOW excel file without using GUI
View 1 Replies
View Related
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
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
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
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
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
Oct 5, 2009
How to I open, create, edit, or view a file in Linux?
View 5 Replies
View Related
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
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
May 19, 2010
is there a way to view the Unix permissions for a file under Windows?
View 1 Replies
View Related