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


ADVERTISEMENT

General :: Ftp (Windows NT) Via SHELL SCRIPT To Get Files?

Nov 19, 2010

I have an issue with shell script

#! /usr/bin/ksh
HOST=myhost
USER=myuser
PASSWD=myuser
ftp -nv <<EOF
open $HOST
user $USER $PASSWD

[Code]...

View 10 Replies View Related

General :: Windows - Differences Between Shell , Console & Terminal?

May 24, 2010

Thats it! I'm confused with the terminology.

What is the difference between shell , console & terminal?

View 3 Replies View Related

General :: Shell Script - Windows Dir Fails To Mount

Nov 20, 2010

I'm attempting to mount a Windows dir to a mount point on my Linux VMWare instance running on my Windows 7 machine. I am using a shell file to automatically mount the directory I want at bootup. However, I'm finding that Linux always mounts to a directory at the top of my C: file structure for some reason, and I can't figure out why.

Here's the dir structure:
C:/target (don't want to mount this, but this is what gets mounted)
C:/Users/me/target (this is what I want to mount to)

Here's my shell script:
Code:
mount.cifs //192.168.56.1/Users/me/target /mnt/target -o credentials=/root/credentials.auth,domain=mycomputer,uid=1001,gid=1001,rw

And here's what I get when I enter mount at the prompt:
Code:
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

If this means anything my Virtual Machine has a single hard drive SCSI, which I believe is /dev/sda1. I don't see anything from mount that would indicate that the c:/target dir is getting hard-mounted somehow from the /etc/vfstab file, but maybe I just don't understand how mounting works...

View 2 Replies View Related

General :: Convert Windows Filenames To *nix Notation - Use It On Shell With Md5sum?

Aug 25, 2011

I have some checksums.md5 verification files from an ntfs external drive, but using windows notation: instead of /, spaces between file names (not escaped), reserved shell characters (like (, &, ', to name a few). The checksums.md5 has a bunch of checksums and filenames:

[code]...

I want to use this checksums.md5 to verify the files that I've copied to my machine: but I'm on a Linux, so I need to convert the names inside checksums.md5 from Windows to Linux to use the md5sum utility from the shell. The first line in my example would become: f12f75c1f2d1a658dc32ca6ef9ef3ffc My Windows & Files (2010)/[bak]/testing.wmv Is there some application for this (converting a file listing, from windows cmd notation, to linux shell notation) or will I need to create a bash script using sed that just "replaces" what is "wrong" with the filenames

View 1 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

Programming :: Running Shell Script In Windows?

Jul 23, 2010

I could run this code in PHP.

PHP Code:

[Code]....

But there is problem here. I have to close and open Internet Explorer to see my changes effect on iptables! Is there a way that I don't have to restart the IE?

View 3 Replies View Related

Debian Multimedia :: Blue Windows In GNOME3 Shell

Oct 12, 2015

I have small problem with GNOME in Wheezy (trying it out just for fun). Whenever I start GNOME Shell and open any window, I get only blue color where windows should be. Entire window is just blue. Shell starts fine. GNOME Classic starts and works well too, even better than MATE in Jessie. My graphics card is old NVidia GeForce MX 440 8x AGP. I suspect it is causing problems.

Kernel is Wheezy's 3.2.

Found this: [URL] ....

I'm afraid I can't use GNOME Shell in Wheezy. Might try Jessie's version instead.

View 1 Replies View Related

Fedora :: Weird Windows Aspect After Gnome-shell

May 31, 2010

The installation was fine, after all the updates were done, I've installed Mesa-dri-experimental and then Gnome-shell.After I activated Gnome-Shell windows have some weird aspect (see image below )I've a acer 8930g laptop with a geforce 9600m gt.Do you have any Idea of what's wrong?I've also noticed that this problem disappear as soon I apply a theme with non rounded windows ( like Crux )

View 1 Replies View Related

Ubuntu :: Get Gnome-shell To Be My Default Windows Manager?

Nov 30, 2010

I want to make gnome shell my default window manager. I have it installed, and can get it to run from the terminal with gnome-shell --replace.
the effects aren't permanent though. I tried setting gnome-shell to be a start up application but this hasn't worked. I dont want to remove compiz or metacity before knowing if I can get gnome-shell to run by default somehow.

So, how can I get gnome-shell to be my default windows manager?

View 2 Replies View Related

Ubuntu :: Change Nautilus Windows Size And Colors In Gnome-shell?

May 22, 2011

No Matter what I do and change in gnome-tweak-tool, the window title bar won't change to anything else, won't go smaller, even the downloaded themes won't change the bar, and I cant seem to find the needed codes in xml to change them. photo is attached to illustrate the things I need to changeI need to change their size in the first place, and maybe change them to like ambiance or whatever. i've seen many guides on the net, and It still don't find the neeeded solution

View 1 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

Server :: Server For Shell Programming On Windows (XP) Clients?

Jan 9, 2010

I have to have a Linux server for shell programming on Windows (XP) clients

View 3 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 :: 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

Programming :: Prevent "leak" Into Shell From A Customized Shell Menu Script?

Dec 15, 2009

I'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 Related

General :: How To Fix A Crashing Login Shell

May 20, 2009

Hello.I am using Opensuse 11.1 (just installed),gnome-based .My problem is,I can only login as root,cos the tty's attached to my normal user(non-privileged)keep crashing(I checked this with last).Is there any way I can fix this?I reinstalled several times,nothing to do.

View 9 Replies View Related







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