11-03-2008
It's been a few months since I've posted, but I've found an easier way to do this...not to mention this was so simple a snake should have bitten me when I first generated the inquiry for you guys.
One way to convert a simple text file into an executable from a text file is to simply change the extension "txt" to "exec" on the end of the file while your in a windows VM like Parallels or VM Fusion. When you do this you'll be prompted with:..."If you change a filename extension, the file may become unusable. Are you sure you want to change it?"...
Go ahead and answer "yes" and your text file icon will immediately change to and exec file icon. Drag it to your mac desktop from the VM (or transfer it onto a thumb drive to the mac) to your Mac desktop and wa-lah!
Now you should be able to just drop it into terminal and run your script.
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I am trying to run simple client server c program in unix.At the compling stage server is creating an executable but the client is not.
below is the link to the source codes:
http://www.cs.rpi.edu/courses/sysprog/sockets/server.c
http://www.cs.rpi.edu/courses/sysprog/sockets/client.c
... (2 Replies)
Discussion started by: konas
2 Replies
2. UNIX for Dummies Questions & Answers
Hey Every one
I have a find statement which find the files and deletes them
find /web/local/orderlink/batchmanaged01/scripts/SMOappLogs/log -name 'orderlink.log.*' -type f -mtime +$10-exec rm -f {} \;
This statement if finds a file at the given location it will delete the files but if it... (4 Replies)
Discussion started by: pinky
4 Replies
3. UNIX for Dummies Questions & Answers
Hi, I know nothing about Unix. Recently received image files from a client. Mac sees it as a Unix executable file. How do I convert these files to Tiff?
Thanks for helping. (1 Reply)
Discussion started by: Pet Teoh
1 Replies
4. UNIX for Dummies Questions & Answers
hello Folks,
once we compile any C code on Linux, we run the code using "./a.out"..
but can we have an executable for every program so that we can run the code directly without compiling the code every time.
just run the executable and get the output!
Thanks! (7 Replies)
Discussion started by: compbug
7 Replies
5. UNIX for Advanced & Expert Users
The binary file is
ELF-64 executable object file - IA64.
How i know that the source is
Is there any comamnd in unix i can read these kind of files or use a thirty party software?
Thanks for your help (8 Replies)
Discussion started by: alexcol
8 Replies
6. Shell Programming and Scripting
Hi - How can I find out under sh whitch file is an unix executable file? Need it for an software inventory. Thanks in advance. Regards - Lazybaer (6 Replies)
Discussion started by: lazybaer
6 Replies
7. Shell Programming and Scripting
Hi,
I want to write an executable file in unix env to go to a particular path instead of always typing the long path cd /app/oracle/product/10.2.0/Db_1/scripts/prejib/sample.
I have tried with the below script in but not working . please help me
bash-3.00$ cat a.sh
#!/bin/sh ... (3 Replies)
Discussion started by: prejib
3 Replies
8. UNIX Desktop Questions & Answers
Hi Friends,
I have a shell script which does some operations etc, would it be possible to create an executable file out from this shell script? meaning the executable file is not editable, thus the source code will not be visible to other users for copyright reasons.
Please help, thanks! (1 Reply)
Discussion started by: kokoro
1 Replies
9. Shell Programming and Scripting
Hi group,
I am very beginner in shell scripting and self learning.
I am trying to create and executable script to run awk from user defined variables.
e.g. suppose from a given file I want to delete some rows or some columns
We need to repeat this process for many files. Thus I was... (4 Replies)
Discussion started by: smitra
4 Replies
10. OS X (Apple)
Hi all...
Had an idea tonight which could really enhance shell scripting for me.
Yes I am aware there could be difficulties but......
Creating a C script inside the shell script to do a task, (a simple text print to stdout in
this example), compiling it on the fly, making sure it is... (4 Replies)
Discussion started by: wisecracker
4 Replies
LEARN ABOUT DEBIAN
pam-panel-icon
PAM-PANEL-ICON(1) General Commands Manual PAM-PANEL-ICON(1)
NAME
pam-panel-icon - A notification area indicator of pam_timestamp status
SYNOPSIS
pam-panel-icon
DESCRIPTION
pam-panel-icon should be automatically started when starting an X11 desktop environment. For example, in GNOME gnome-session should be
configured to start pam-panel-icon. In a properly configured system it should never be necessary to start pam-panel-icon manually.
pam-panel-icon uses pam_timestamp_check(8) to watch the pam_timestamp timestamp status. If the pam_timestamp authorization is active,
allowing an unprivileted user to temporarily authenticate as the root user without providing a password, an icon in the notification area
of the panel is displayed. The icon allows dropping the authorization immediately.
EXIT STATUS
Ordinarily, pam-panel-icon keeps running until the X11 desktop session ends, and then returns 0. pam-panel-icon only returns with non-zero
status on unexpected error.
FILES
/sbin/pam_timestamp_check
A hard-coded location of the pam_timestamp_check executable.
SEE ALSO
pam_timestamp(8), pam_timestamp_check(8)
Red Hat 2009-10-05 PAM-PANEL-ICON(1)