General :: What Is The /bin/ksh Shells
Jun 27, 2010what is the /bin/ksh shells
View 1 Replieswhat is the /bin/ksh shells
View 1 RepliesIs there a difference between the shells such as sh, csh, ksh and bash if so what is it or is it simply a matter of preference?
View 2 Replies View RelatedI have to call URL from shell script. E.g.: www.google.com. How can I call URL from the shell script.
View 6 Replies View RelatedWhat are the differences between the shells in Linux (eg. bash,bourne,korn,C etc) and which one is it better to run scripts under?
View 4 Replies View RelatedHow can I know how many shells my system support (Is there any specific command)?
View 9 Replies View RelatedI am college student and for this semester. I am planning to do a project in Linux. Also I have a plan 2 create a new shell in linux.
View 4 Replies View RelatedI was able to set up SSH and log into my linux machine and I want to interact with shells already running on the desktop. I can locate and view the processes but I'm wondering if its possible to "get into" the program I already have running via SSH and enter commands.
View 4 Replies View RelatedIs there any way to have x server on multiple shells at a time?(eg. Sally is logged in on shell 6 with her own desktop cube while Rob is logged in on shell 7 with his own desktop cube, etc)
View 2 Replies View RelatedHow to configure the KDE Konsole that when I press on a "new tab" button, the new shell would open on another machine (thorugh ssh), and not on the current one?
View 1 Replies View RelatedI am using Linux some years, but since I built a LFS, I feel noobish again. Now with the help of BLFS I am setting up my environment and somewhere I incidentally read, that not every variable is inherited by a child Bash shell. As for the $PS1 and $PS2 variables I know, that they are not inherited by non-interactive Bash shells (and there is no reason why they should in my opinion). Well, as for my first thread I hope the title gives enough information on what I want to know. But anyways: Which environment variables are not inherited by Bash shells?
View 1 Replies View RelatedFor example, if I'm in csh, I can use `setenv VARNAME varVALUE` while I can use export in Bash. Given that the environmental variables are created, can BASH read env vars from csh and vice versa?
View 2 Replies View RelatedDoes anyone know of any free services offering debian or ubuntu shells? I want to run IRC remotely with screen, but free services only seem to offer unix shells. I'm not really bothered by that but I feel more comfortable on ubuntu.
View 2 Replies View RelatedI am trying to figure out where variables are set for interactive shells? In particular, I am trying to have LS_OPTIONS inherited by interactive shells as it is by login shells. I understand LS_OPTIONS is set in /etc/profile, and this may not be processed by interactive shells but by login shells. However, I also note other variables such as PATH and INPUTRC are set correctly in interactive shells, and these are also set in /etc/profile from what I understand. So how is it determined which variables are inherited by all shells, and which are just for login shells?
View 16 Replies View RelatedLet's say that I have a customized Bash prompt stored as a PS1 variable. My variable gets read every time I invoke a login shell, i.e., when logging in in one of the standard virtual terminal or by invoking xterm with the -ls parameter.
However, when I just invoke the terminal without specifying that it is a login shell, I just get something like: bash-XXX$ as a prompt.
where should I place my PS1 variable so that it could get read even on non-login shells?
I'm finalizing the the dual-boot addition that I recently completed. I've added lubuntu to the LT3114u Netbook that I use. That's done, now I'm migrating my user environment back from the Cygwin one that I've been using on Windoze, as of late. One of features that's been useful has been the global environment management possible with the windoze UI functions. As I coded my emacs environment while 'over there' (windoze side), I included a check for the lisp library repository path environment variable EMACSLOADPATH. It is globally available when one logs in, and does not get set in any user scripts, or dot files any to do with CYGWIN or emacs.
While it has been easy enough to set EMACSLOADPATH for the login shell environment, via .bashrc, .profile, and system wide via /etc/profile, I have not been able to have '/usr/bin/emacs23' have EMACSLOADPATH set when invoked via the LXDE UI. Thus, it would appear that emacs is not being initialized with the same environment that any of the shells are (old school?). Thus, what is it that one must update in order to have GNU emacs initialized with the same environment variables as bash? Or, put another way, why aren't the environment variable defined in /etc/profile, ~/.bashrc and/or ~/.profile ending up in the initialized environment upon invocation of emacs23 on lubuntu Linux?
[Code]....
I am having trouble distinguishing between login and interactive shells as they relate to terminals. I understand that a login shell is what is started when you login, and an interactive shell is used by scripts and such. I also get that terminals will use an interactive shell by default. What I don't understand is why interactive shells have no prompt by default. Is their a way to get an interactive shell to inherit the normal PS1 prompt? Is it considered bad to do this? Would it be better to have terminals start login shells, and if so why or why not?
View 7 Replies View RelatedI changed shells for a user from bash to tcsh using this command... chsh user -s /bin/tcsh but when logging on via ssh under that user I get a "Illegal variable name" error. I type, echo $shell and it says, /bin/tcsh. I am curious what that Illegal variable name could be.
View 3 Replies View RelatedI'm getting something(s) wrong, trying to run commands (both simple and piped) in shells from Perl programs. The ultimate objective is to set up "copy X selection to clipboard" from urxvt but apparently simple debugging statements are not working.Here's the Perl, taken from here and modified to use xclip instead of xsel and with debugging added, shown in green
Code:
#! /usr/bin/perl
sub on_sel_grab {
[code]....
i am running ubuntu 10.10 on an aspire 5734z laptop, as 11.04 has a backlight issue, and i am dual booting with win7, which i am currently on. i have/had KDE, xfce, desktop edition ubuntu, and gnome 3 sessions installed. i had noticed recently that startup is taking longer than usual, 2x the time as win7, ubuntu and windows are both 32 bit bytheway. after grub, it would be a black screen with only '_' displayed, followed by a screen that says something about sql stuff. i figured this could be the reason my startups were long, and as i dont use sql (that i know of) i decided to just remove it and hope that would fix the problem... yeah, im a linux-noob. i went to software center, searched for it and removed the first entry, and it said it would remove some other stuff, mostly sql named things, plus shotwell and evolution, which i also dont use. after it went thru applying changes, i selected the next one on the list for removal, and the software center froze.
i logged out of the gnome3 part, and logged into ubuntu desktop edition. i then only saw a wallpaper, both of the default panels were gone. at this point i decided a reset was in order. i logged back into the default ubuntu desktop edition part, and the panels were still missing. i figured i would login to gnome3 or kde and see if i could get something figured out from there, but they are missing from the drop down box. the only ones remaining are ubuntu (desktop, recovery and safemode) and xcfe. i logged into xcfe only to find out firefox is gone. i am not familiar with xcfe, i only added it to maybe use sometime when i need to extend battery time, and with no click here to get online - icon in the panel, i figured my best bet was to return to windows and plead for help, before i tried to 'fix' something else, and made an even bigger mess. i dont know what i couldve done to basically render my ubuntu useless to me, to get rid of my panels, firefox, and i dont even know what else.. but the only thing i did at all was to remove the top sql entry, which was something like sql3_lib or something like that.
I want to limit what a authenticated user can do on my Linux server. I've set the default shell to rbash, but I know a knowledgeable user can switch shells. Can I use file permissions to deny execution rights to /bin/bash to anyone who is not in a particular group? And if that works, how do I find out what other shells are installed on my server (Ubuntu 9.10)?
View 7 Replies View RelatedI am configuring RAC 10gR2 over linux 4EL (two node over san) , as for as configuration is concerned every thing went fine ,every thing is passed in cvu utility , the only problem is that when i start setup it through following errors, SSh rpm are intalled on both machines , as i established eser equilence between oracle user ob both machine it is working , BUT i dont know y the follwing erorr apear , Could u tell me how to resolve this error
here it is ....
[oracle@rac1-pub orainstall]$ ./clusterware/runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-04-03_06-23-31AM.
code....
I want to have an ls' output colorization in gnu screen. Colorization in my system (Slackware 13) is realized by aliasing of ls in /etc/profile.d/coreutils-dircolors.sh:
Code:
$ alias ls
alias ls='/bin/ls $LS_OPTIONS'
where $LS_OPTIONS is
Code:
$ echo $LS_OPTIONS
-F -T 0 --color=auto
But in screen this alias isn't defined. It seems like /etc/profile script isn't executed at shell starting in screen. I think it happens because screen starts a shell not as a login shell. I tried to correct it by adding to ~/.screenrc or to /etc/screenrc. The problem is the same. By the way when I start screen as a root I haven't this problem. What's wrong?
My Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.
I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.
Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?
I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.
Below is my little effort:
# !/bin/bash
userlist=`cut -f 1 -d : /etc/passwd`
mail -s "mailbackup" << END
keep mailbackup in another drive daily for security purpose
I'm using my Linux (SLES 10) server as a File Server at this point. I need to set File Permissions to nested folders differently to different groups. For example:
homesharedengineering* should be read only for groupA
homesharedengineeringadmin should be read & write for groupB Plus read only for groupA
homesharedengineeringautocad should be read & write for groupC Plus read only for groupA
I've been using Webmin and Putty to set permissions but Putty only allows me the Default Group, it won't allow me to set several groups on the same directory. Webmin seems to allow me to add multiple groups (Webmin --> Others --> File Manager --> Info & ACL tab will provide extended abilities) but when I add multiple groups, they don't seem to take effect? I'm wondering if my setup at the 'Share' level or at the hierarchy of my folder structure (unix based) needs to be set specifically?
I have Windows 7 on my Dell Xps laptop, and I want to install Ubuntu or Fedora as a dual-boot. Will that cause my system to slow down?
View 2 Replies View RelatedPackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less.
View 1 Replies View RelatedII'm a front-end web developer, I've always developed on Windows with technologies like XHTML, CSS, Javascript and Flash, I've dabbled with PHP and MySQL. I am well used to Windows workflows and tools, from Photoshop to Notepad++, Filezilla and WAMP server stacks to After Effects, and a swathe more - but always on Windows.I'm at a point where I think I need to start seriously developing on a Linux box, specifically at the moment to create web apps based on Node.js, but compiling tools and programs has become a task I'm more frequently required to do.
My question? I need to get my hands on a user-friendly install of Linux, but which one? I need common interface developer tools (lists welcome) to replace... well as many tools I have on Windows as possible.I need to be readily connected to the internet, I need OS updates to not destroy my workflow by crashing the OS, as I've seen Ubuntu do to various friends. I want efficiency, I need to be able to customise what I need to in order to perform development tasks.I guess this could be a long list, but - I don't have practical working knowledge of the Linux OS, nor how it "compares" to Windows (excuse my faux pas). I'm obviously willing to learn, but I'm far, far more keen to just... continue interface development, just on Linux instead of Windows.
A friend of mine helped me set up a server which includes Squirrel Mail.It?s CentOS 5.3.I have a person who would like to access Squirrel Mail at remote sites.My questions is, I can create an account on the server which has KDE and the usual general applications and he would have the remote access Squirrel Mail but he doesn?t need nor does he want to access KDE or anything else on my server. He just want an account so he can use Squirrel Mail.
View 1 Replies View RelatedI have the impression that not that many people understand the scope and limitations of GNU General Public License. This is somehow my basic understanding of it. If I take a program covered under the GNU license, first of all I have the right to get the source code. Second, I can modify it at will. Third, I can redistribute it as will too but the new code will necessarily will have the same GNU license. This made me wonder how people actually can charge for software derived from Linux, for instance, Red Hat. Well, my impression is that they really make profit only out of services. In this thread [URL] I think I found a lot of confusion, even from a moderator (not intended to offend). Red Hat is based on Linux and it is necessarily covered under GNU. Somebody probably bought the program from RHE and can make it available at no cost.
Nevertheless, the moderator decided to warn the user. In this article [URL] it says the following:"Our training is not designed to promote vendor lock-in. Though these courses are based on Red Hat Enterprise Linux, the source code for [RHEL] is available to the community via the GPL [GNU General Public License]," said Red Hat spokewoman Leigh Day. This thread [URL] shows yet more confused people. Is there is a glitch in this type of license that prevents programs like RHEL to be redistributed for free? Why their license page doesn't mention GNU license? Or the problem is just that people get overwhelmed by this license and are afraid to be penalized and get paralyzed? By the way, RHEL is just the example. The key question is about the license!!