Ubuntu Version
I am very new to the linux world having recently installed Ubuntu which I am enjoying a lot.
I want to know how do I find out which version I have. Having downloaded all the updates that have been available, does that mean that I have the last version installed. If not how do I find out what version I'm running? Sawgrass |
Quote:
Code:
lsb_release -a Code:
uname -a Code:
uname -r |
hey, at my work there are linux servers. I don't interact with them but some programmers here, who I am friends with, use them. I was down at the programmers station the other day and I know for a fact that they are using the ksh, but have bash installed if needed to use. We were trying to figure out what distro they were using, just curiosity from me. I use bash and I don't have experience with ksh at the moment. Are the commands the same in ksh, or should I just, the next time I am down there, just hop on and switch to bash and use lsb_release -a for distro and version and uname -r for kernel release?
BTW, I would prefer using ksh since that is what the main shell is. |
You have to consider the difference between external commands and built-ins. A built-in is a statement of the shell language, an external command is an external application which can run under any shell (if properly built). For example cd, echo, read are shell built-ins, whereas find, grep, awk are external commands. You can verify this using the type built-in:
Code:
$ type cd In summary you have not to worry about using linux commands under a shell or another, you have to worry about the scripting language and eventually about the compatibility between different shells. |
All times are GMT -5. The time now is 04:23 AM. |