General :: Disadvantages Of Using A Korn Shell?

Feb 2, 2011

Ive been playing around with Linux a little bit and have started to look into different shell types. I know BASH is the most basic, or that is in most distro. but is there any disadvantages of using a Korn shell instead?

View 7 Replies


ADVERTISEMENT

General :: How To Write Korn Shell

Oct 14, 2010

I am new and start learning how to write korn shell, can you someone please translate the below command to common English? code...

View 1 Replies View Related

Programming :: Advanced Uses Of Variables In Korn Shell?

Jul 28, 2011

Somehow I'm not really managing this thing, which would d be a nice way to useariables.What I am doing is setting up compound variable in ksh. What I have is a "config" file, which has fields delimited by a semicolon

Code:
cat ${CONFIGFILE} | grep -v "^#" | grep -v "^$" | while read line
do

[code]...

View 14 Replies View Related

Fedora Installation :: Install Korn Shell Without Internet Access?

Jun 14, 2009

I work for AT&T and our Windows-centric workgroup is being tasked with supporting an app running on RedHat. To help my coworkers, I'm building a Fedora 11 VM that we can play with to familiarize ourselves with the UNIX environment.

Because of corporate network policies in place, my VM can't get access to the Internet.

Since we're AT&T employees, we're naturally using the korn shell on the production system. I'd like to install the korn shell on my VM. However, it doesn't appear to be part of the base fedora repository.

Is the korn shell available for Fedora? If so, how would I copy it to shiny media, mount it on my VM, and install it?

View 4 Replies View Related

Ubuntu :: Korn Shell: Syntax Error On Test A Function With Parameters?

Jan 4, 2011

Some may recall I recently gave up on bash, rather than give up my programming style.Surely I will have reason to return but that's another story. My little issue now:I am debugging a new [Korn] shell script. I have a function that performs a specialized match on a string and I see that I am able to call that function with no problem, with both of it parameters. The function does not do any print or echo command - it uses "return" for a TRUE (0) of FALSE (1), as is the shell exit code convention. Thus, I have the following test:

Code:
if [[ match_except_release ${PATH_DIR[$LC]} bin ]]
then

[code]....

View 2 Replies View Related

Ubuntu :: Disadvantages Of Using The PAE Mode Version Of The Kernel?

Aug 5, 2010

I have 4GB of RAM in my machine, and I am using 32Bit Ubuntu Lucid, I was wondering if there were any disadvantages of using the PAE mode version of the kernel, as that would allow me to use the whole of my memory instead of 2.9 GB.

View 8 Replies View Related

Ubuntu :: Advantages Or Disadvantages Of Primary & Extended Partitions?

Jun 27, 2011

What are the advantages (or disadvantages) in partitioning a disc into 4 Primary partitions versus 1 Primary & 3 Extended Partitions?

View 4 Replies View Related

Ubuntu :: Advantages And Disadvantages Of OpenOffice.org Word Processor, Kword, And AbiWord?

Dec 21, 2010

I am a graduate student writing a dissertation in modern history. More than half of my computer work takes place on a word processor.I take notes, make outlines, and then write drafts of papers, chapters, presentations, etc. I regularly have to share these files with others who use operating systems other than Linux.I have just switched from OS X (after 5 years and half of using Mac) and I am still figuring out how to write my next dissertation chapter in Ubuntu.

There seems to be no consensus on what is or what are the best word processing softwares -- especially for academic writers -- in Ubuntu or Linux for that matter.I have read a number of posts on various forums and I find them either dated by several years or not dealing with the problems I am facing :

namely writing a serious, book-length academic work in the humanities and desiring to work with a user-friendly and fast word processor that would also be powerful enough to accomplish most or all academic tasks such as footnotes, style change, bibliography, accessibility, etc. There are people who suggest using LaTeX (LyX, Kile, etc.) but it seems to me that they're mostly based in the exact sciences and benefit from the math and science features that exist in LyX or another LaTeX editor. LaTeX is moreover not very accessible to those who do not know the LaTeX language or do not have an editor and work primarily with a word processor: meaning that when I share a LaTex document with my colleagues they have difficulty editing my work. See for instance this discussion which took place 5 years ago on this forum:

http://ubuntuforums.org/showthread.php?t=98120

I wonder if those of you who are in similar fields (i.e., humanities, social sciences, law, etc.)could chip in and talk about your experience as academic writers working primarily from a Linux (specifically Ubuntu) platform. What are the word processing applications you use to write your serious papers?What are the advantages and disadvantages of OpenOffice.org Word Processor, Kword, and AbiWord? How easy or difficult is it to share your documents with others who do not use Linux? In what format/s do you share your documents? Can others easily modify and edit your texts? Do you use LaTeX at all?Opinions may vary with respect to discipline,which word processor to use for writing their articles, dissertations, or books.

My own personal experience with OpenOffice.org has not been very positive. It's pretty slow and has problems with multiple language input. Switching from Nisus Writer Pro and Mellel (both OS X softwares), OpenOffice.org Word Processor seems also not very user-friendly. It seems to follow the design of MS Word (or what MS Word used to be) and feels above all *cluttered.* I am however trying to like it as I understand there's probably no other word processor better than OpenOffice.org in Ubuntu. Am I correct to assume this? I also downloaded Kword which in terms of interface and egronomic design seems quite nice. It is also a bit faster -- although I don't know how powerful Kword is at the moment and whether it can accomplish all that my academic work requires from a word processor. I have also read somewhere that AbiWord is really not all that powerful. It is meant to be a fast but "lean" word processor which would do basic things quickly.

View 9 Replies View Related

Programming :: Korn - Combine Select With An Array?

Jun 8, 2010

Assume this array in Korn:

Code:
HOSTS[ home ]="163.164.165.166"
HOSTS[ work ]="122.123.124.125"

[code]....

View 3 Replies View Related

Ubuntu Installation :: Get The Coorect Path To Ppa.launchpad.net/c-korn/ppa?

May 13, 2010

I am trying to update I get this errorFailed to fetch [URL]404 Not FoundSome index files failed to download, they have been ignored, or old ones used instead.

View 8 Replies View Related

Programming :: Bash/korn Script Rename Files To Same Name One At A Time?

Jun 23, 2009

I have scowered the internet for the answer to this one. I need a script to rename multiple files to the same exact name, run a program on the file then do the same for the next file. We have a unix backend system that is expecting to load the file with the filename of cards.in So I will have files named card.2009xxx, like i said i will have around 4 or five of those. I want the script to rename card.2009xxx to cards.in, run our unix program on cards.in which inturn changes the file name and once complete i want the script to rename the next cards.2009 to "cards.in"Until there are no more left in the directory and the unix program has processed all the files. All of this is occurring in the same directory. I have written some scripts but they fail by moving for example cards.200901 to cards.in then immediately moving cards.200902 to cards.in and that is not good because it is overwriting valuable data

View 10 Replies View Related

Ubuntu :: Disadvantages Do I Have When Use "compile Form Source" Methods Of Installing Software?

Feb 5, 2011

One of this is Linux software.Installing programs from various distribution's package repositories leads to using out of date versions. From this point of view Windows users have an advantage. They always have latest releases.So, I want to ask a simple question: what disadvantages do I have when use "compile form source" methods of installing software. Also it would be interesting to know what method is prefered for you. Imagine, that you want to install nmap. Latest stable version is 5.50. apt-get offers 5.21. What would you do?

View 2 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

General :: Write A Shell Script Instead Of Shell Function?

Apr 27, 2011

I would like know when it is necessary or advisable to write a shell script instead of shell function ?

View 3 Replies View Related

General :: Open A New Shell From A Shell And Switch Between Them?

Jan 18, 2011

I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?

View 3 Replies View Related

Fedora :: Stuck With Bash Shell / Changing Default Shell To Tcsh?

Mar 14, 2010

I want to change my default shell to tcsh. I used

Code:
usermod -s /bin/tcsh username
command as given at url

But if I open a new shell, it is still a bash shell.

How do I make my default shell as tcsh?

View 6 Replies View Related

Ubuntu :: Using 10.04-server 64bit AMD With Fluxbox - Matlab In A Shell The Shell Does Not Display Characters Anymore

Jul 26, 2010

I am using ubuntu10.04-server 64bit AMD with fluxbox. After I ran Matlab in a shell (without GUI) the shell does not display characters anymore, but will execute any command, I just can't see the characters that I'm typing.. I use aterm and xterm, does anybody know why that is, am I missing a package?

View 1 Replies View Related

Ubuntu :: Switch Desktop Shell From Unity To Gnome-shell?

Apr 14, 2011

Is there any way I can switch my desktop shell from unity to, say, gnome-shell? I can switch using other console shell I like (bash, csh, fish, etc.). Assume that there is a stable alternative desktop shell, I should be able to choose, too.

(For console shell, we goes to /etc/passwd. But for desktop, I can't find the way to config.)

View 2 Replies View Related

Software :: Export A Variable To Parent Shell In Shell Scripting?

May 21, 2009

Is there a way to export a variable to parent shell in shell scripting ?

View 3 Replies View Related

Programming :: Shell Scripting / Create A Shell Script Similar To Ls?

Jun 5, 2011

I am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax.

Code:
if [ $# -eq 0 ] ; then
d=`pwd`
for i in * ; do
if test -d $d/$i ; then
echo "$i:"
code....

View 10 Replies View Related

Programming :: Bash-shell-like Less Functionality In The Python Shell?

Jun 25, 2010

Is there some type of functional way to read things in the Python shell interpreter similar to less or more in the bash (and other) command line shells?

Example:

Code:

>>> import subprocess
>>> help(subprocess)
...
[pages of stuff to read]
...

I'm hoping so as I hate scrolling and love how less works with simple keystrokes for page-up/page-down/searching etc.

View 4 Replies View Related

General :: Run A Shell Command With &?

Jun 15, 2010

I am using Red Hat Linux Enterprise version 5. I've noticed people sometimes running commands with a couple of & options. For example, in the below command, there are two & signs. What is the purpose of them? Are they always used together with nohup?

nohup foo.sh <script parameters> >& <log_file_name> &

View 6 Replies View Related

General :: How To Take Backup Of Shell

Sep 2, 2010

I was working on a shell and got some weird exceptions in my program.Just as a reference, I want to save all that is there on my shell to a text file. I do not just want the command history but also all the results that those commands produced at the shell.Is there some built-in utility to do this? I have kept the shell open for now, so that I can take the backup. Also, I am using xterm and it does not allow selecting all the way upto the top of the shell, so the ultimate way is to take the backup one screen at a time.

View 2 Replies View Related

General :: Windows Use A Shell Instead Of Cmd?

May 2, 2011

I was wondering if it is somehow technologically possible for Windows to add some sort of Linux interface? I think it would win over many programmers to develop on Windows.

View 4 Replies View Related

General :: Run A Ftp Shell Script?

Mar 1, 2011

I have achieved the following in the terminal:-

ftp> open <name of server>
name <insert log in>
password: <password>

[code]...

View 1 Replies View Related

General :: Change PS1 When SH (Shell) Out Of VIM

May 19, 2010

I've had my prompt change whenever I :sh (:shell) out of VIM, but can't for the life of me remember how?. The idea is to change the prompt to something like [SH] <your usual prompt here>, so that I know that VIM is running in the background.. I often logout of the shell, because I think VIM is open.

View 3 Replies View Related

General :: Getting The Bourne Again Shell?

Jun 30, 2011

I just upgraded my OS and find that I have a generic type terminal.How would I go about getting the Bourne again shell?

View 14 Replies View Related

General :: Execute This On The Shell?

Mar 12, 2011

ill have this question on the test maybe : In dir00 directory create files year01.txt, year02, ...year05.txt with January calendar for 2001-2005 years in it.-i'm lost. i execute this : cat | cal 01 2001 > year01.txt

View 12 Replies View Related

General :: How To Write Own Shell

May 26, 2011

how to write own shell in linux?i want to know procedure of shell programming.

View 5 Replies View Related

General :: What Is Shell Scripting?

Feb 15, 2011

What is shell scripting? what is 'bash'?

View 14 Replies View Related







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