Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi and welcome!
This is not a command that you type on a command line. It is a statement in a korn script.
Quote:
Assuming that's the case, how do I find out where this function or whatever it is is?
You look here.
Is there any reason you're particularly interested in korn scripts rather than bash scripts? Are you trying to learn programming using scripts? There are loads of tutorials for that.
ciao,
jdk
Hi and welcome!
This is not a command that you type on a command line. It is a statement in a korn script.
You look here.
Is there any reason you're particularly interested in korn scripts rather than bash scripts? Are you trying to learn programming using scripts? There are loads of tutorials for that.
ciao,
jdk
This was written by another person and was a Korn shell script.
I, of course, don't mind searching for this, but I don't know what to search on. Would this be under global variables or something?
Well it might help to give more information. Why not explain what you're trying to do and you might get some good suggestions about how to do it. I can't really say how to search for something when I don't know what it is you're looking for. A short clear description of what you want should do the trick.
If all you want to do is read a text file, you can use the cat command as in
Code:
cat /path to text file/filename
or load it into a text editor like vim or nano.
ciao,
jdk
Well it might help to give more information. Why not explain what you're trying to do and you might get some good suggestions about how to do it. I can't really say how to search for something when I don't know what it is you're looking for. A short clear description of what you want should do the trick.
ciao,
jdk
I'm just trying to understand this person's script. I did a crontab and am looking at the scripts that are running there, so I'm not really trying to do anything but comprehend what is going on.
This was the first line in the shell script and I don't see it defined anywhere else.
I'm sorry to ask the obvious but if it's supposed to be a korn script have you tried googling korn manual or korn tutorial or korn guide?
jdk
Sure, but I thought this was some kind of weird functionality because I couldn't find anything that I was looking for. But I figured it out. Gracias...
Don't beat yourself up too badly ... we have all had that 'ahuh' moment with different things and now when someone
finds your post they might have the same moment
Man, it's always a learning experience. I think the most seasoned guys asks some of the dumbest questions sometimes. It's just life! You get to where you try to look too deeply and miss the obvious simple things.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.