Software :: [blah]$ Somecommand - Which Shell Has This Sort Of Layout
Jan 13, 2010I forget which one it was, but the prompt looked like this:
Code:
[blah]$ somecommand
Which shell has this sort of layout?
I forget which one it was, but the prompt looked like this:
Code:
[blah]$ somecommand
Which shell has this sort of layout?
I'm trying to mount a Windows Server share from Centos 5.5 (kernel 2.6.18-194.26.1.el5). I've tried two approaches neither of which work.
1). Using Places->Connect To Server. This approach works fine on Ubuntu but not at all for Centos. Using the 'Windows Share' Service type, it allows me to see the remote directory - I can see all of the directories on the server. But as soon as I click one, I get an error 'Couldn't find "smb://blah/blah". Please check the spelling and try again. As I say, this worked fine on ubuntu. Tried loads of options but with no luck. I saw something on the web about leading slashes being a problem.
2). Using Mount . Tried to use mount to mount as a cifs filesystem, as documented on a number of web pages:
mount -t cifs //server/dir -o username=username,password=password /mnt/tmp
This completely hangs the machine.I means completely, no mouse, no nothing. I've seen some references to unstable cifs on the web but I believe that this kernel has the fix for this.
What options should I use when I'm using the sort command to sort the top 5 CPU processes (ps -eo user,pid,ppid,%cpu,%mem,fname | sort ??? | head -5) showing max to min usage?
View 2 Replies View RelatedI've installed fedora10 on my virtual machine under a OpenSuse10.3. When installing i ve chosen English language and French layout for keyboard. But any time i run fedora my kb is English and i cannot find how to change it
How can i do it using shell?
kernel 2.6, slackware 12.0mkisofs 2.01If I do 'ls --help|more' all's well. 'mkisofs --help' outputs its help screen, and I can use Shift+PgUp/PgDn to scroll through it. But I can neither pipe it to more or to less, nor redirect it to some file. more is simply ignored. Less, gets into less but only the last screenful is seen. Redirection, i.e. 'mkisofs --help>john.txt' produces an empty file (size= 0).
View 2 Replies View RelatedWhen I try to invoke 'source' command from within a shell script, namely, myscript.sh, I get the following error message code...
View 1 Replies View RelatedUnable to install gnome shell.
using ubuntu 9.10.
tried both way, terminal and ubuntu s/w center.
"Unable to fetch......" error occurs.
I tried using cron to start rtorrent. But I couldnt start it successfully. My crontab looks like this.
Code:
# m h dom mon dow command
40 22 17 11 * rtorrent
My cron is running properly. How could I start a new shell , so that rtorrent could run using cron.
Running Ubuntu Lucid Lynx, GNOME 2.3Keyboard Preferences utilityAdding any Spanish language keyboard layout makes my Alt_R not work in ANY layout! I see that it changes Alt_R to "Iso_L..." for all/both layouts, including USA layout. When I click "Reset to Defaults" it's fine again, USA layout shows Alt_R again. I've tried all the variants of the Latin American layout and the Spain layout and they all do the same thing.What is "ISO_L..." and what's going on?i DESPERATELY need my Alt_R to work!
View 2 Replies View RelatedI have installed opensuse 11.3 a couple of weeks ago in 2 computers and both suffer of the same problem.In my asus laptop, i have a german keyboard. It is correctly recogniced as german keyboard by ev-dev, i guess. (ev-dev managed). But i need to write some spanisch symbols too, like accents (á © í ³ ? ñ¬ ·hich in a normal linux, they do work. For some reason, after rebooting, or after some time of having it running, the keyboard layout resets to an invalid setup, here accents get not over the letter (?a ?e ?i ?o ?u), so i have to select my layout again in the gnome control center.
With my other computermore or less the same.Its a desktop PC with an spanisch keyboard. But i thinck i picked German keyboard during installation and now it starts always with german with some sort of 5 secs delay when setting it. I have to pick spanisch and i always delete the german layout, but after some time having it running, it resets to the previusly deleted german layout.
having problems with my keyboard layout since upgrade from F11 to F12. When I reboot and login into gnome I have to switch back to my layout as it has been set to USA default layout.
View 3 Replies View RelatedWe switched from unix to linux and we have an old report that extracted data from a database, output to an ascii file and then sorted the results in the file based on different arguments. The report now blows up when it runs,and I can only guess it is because the options for sort on linux differ slightly from unix.For example, here is one of the commands issued from within the report app that ran on the old unix box:
if sort-sequence = "descending" then
'sort -t~" -f +3.0f -4.0 +5.0r -6.0 -f '
else
'sort -t~" +3.0f -4.0 +1.0f -2.0 -f'
I will eventually rewrite the report to store the data in a local table, but I can simply adjust the options to suit the requirments of linux. Basically, I need to know if this can be a quick fix for the short term.
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 RelatedI 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?
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 RelatedIs 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.)
Is there a way to export a variable to parent shell in shell scripting ?
View 3 Replies View RelatedI 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....
I would like know when it is necessary or advisable to write a shell script instead of shell function ?
View 3 Replies View RelatedIs 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.
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 RelatedI've created a simple script based menu. This menu will be accessed by only a certain users via ssh.When user logs in, the menu will automatically run. (configured at user's .bash_profile).How do I force the session to close when user hits Ctrl-C or Ctrl-Break ?In a nutshell, I don't want user to have access to shell.
View 11 Replies View RelatedIs there a way to "save" a layout of terminals on Ubuntu?Let's say I have 4 Terminals on a workspace that I'd like to save/restore at will, how could I do this?UPDATE:create gnome-terminal desktop entryedit the preferences and under "Title and Command" be sure to set "Keep initial title" for "When terminal commands set their own titles"use wmctrl (available on universe repo) to control windowUsing the above procedure, one can create as many desktop profiles for gnome terminals and control them by "title" using wmtrl -R $title_here.The profiles are kept under ~/.gconf/apps/gnome-terminal/profiles.
View 2 Replies View RelatedI installed Ubuntu 11.04.
how to set the keyboard layout.
I keep using the rescue cd because whenever I choose a keyboard layout the system does not seem to keep it like that.
After rebooting it loads another layout and I can't find which keys to type in that unknown layout. So for the moment, my password is 'tt' because I know it will work in both layout.
I have a belgium azerty keyboard. For the moment the upper option in the keyboard layout screen is USA and the lower option is Belgium. Which is weird since I thought that the upper option was of higher priority. But at least it works like that. At least until I reboot I think
PS: the rescue cd has also a keyboard layout problem. I chose belgium and I end up with a usa layout.
I'm trying to install CentOS on my macbook over a Fedora Core installation.I'm getting this warning:
Quote:/dev/hda currently has a gpt partition layout. To use this disk for the installation of CentOS, it must be re-initialized, causing the loss of ALL DATA on this drive.
I was attempting to create an XKB layout that would allow me to type Polish characters and mathematical symbols, which I attempted to do by editing /usr/share/X11/xkb/symbols/pl. When the computer tried to load it it said there was an error loading the XKB configuration. Here is the code:
[Code]....
I have an issue with Fedora 12, everytime I change the Layout of the Keyboard in: Preference/hardware/keyboard and logout It goes back to default.
If I remove USA and add french canada, when I logout and login it goes back to usa & fren canada legacy.
I tried just to remove usa but it comeback everytimes.
How can I change the keyboard layout to my language using command line? I'm running openbox.
View 2 Replies View RelatedI have setup different identities in Kmail to deal with multiple gmail accounts so I have a different set of inbox, sent mail and draft folder for each account.In the message layout, I have chosen to display the columns - subject,sender/receiver and date. For one of my email accounts, kmail does the job perfectly. The inbox foler shows subject, sender and date, whereas the sent-mail folder shows subject, receiver and date. However, this order is not maintained for my other email accounts. The inbox folders show subject, sender and date(which is correct); the sent-mail folder shows subject, sender and date - instead of subject, receiver and date which is what should be displayed.
View 3 Replies View RelatedI use 2 keyboard layouts. But when I change setting from the YaST interface in KDE, setting save only for the short time (may be some hours). Then I can't switch between layouts and have to use YaST again. What is it?
View 2 Replies View Related