General :: Command Prompt Ftp To Ftp Server Running On Windows?
Dec 27, 2010
I am using on Windows Vista, Filezilla server. I have it set up to be accessed via outside IPs and when I use a client on the IP I have it connects normally using Filezilla client. On the same machine I have Ubuntu running in a virtual box and when using filezilla client in there it works fine. Now I want to try the command prompt. So I do the ftp xxx.xxx.xx.xxI enter the name and password and i get the ftp command prompt, but the commands are not working properly. when trying "ls" or "cd" these commands do not work. "cd" tells me that the current directory is "/" root, but this does not make sense in the windows operating system. Now the filezilla client is taking the user in the application window directly to the root folder of the permitted filespace granted to that user. How can the same be done from the command prompt, if there is a way? It is as if the command prompt takes me to the root which does not exist or even have correct permissions to move in. Is there any way to be taken to the correct directory directly, or move there especially when the slashes are the wrong way around etc?
I've worked exclusively in Windows. I can handle that.I've worked exclusively in DOS (a long time ago!). I can handle that.I've worked exclusively in Unix.I can handle that.Right now, I am developing a command-line (python) application on a Windows machine, testing it in a DOS box (i.e. Windows' Command prompt), and then deploying it to Linux, and running it with PuTTY.
I cannot handle that. My productivity drops dramatically when CTRL-C cuts in one window (Windows) and kills the process in another (DOS, Linux).My productivity drops dramatically when Enter copies the selection in one window (DOS), and deletes the selection in another (Windows), and runs the current half-edited command in the third (PuTTY).My productivity drops dramatically when I cannot hit Undo, Home or End.The Solution I am Seeking
An SSH/Bash command-line client that runs on Windows and, to the extent possible, uses all the standard Windows shortcuts (Cut, Copy, Paste, Undo, Home, End, Insert, Shift-Arrows, etc.) work on a bash command line. Bonus points if it puts the cursor between letters, rather than on them.Plus, an equivalent DOS command-line drop-in that runs on Windows, and provides the same interface.need to be special buttons to actually transfer CTRL codes (like CTRL-C) through in the cases I need them.I suspect the SSH client will need to be specific to a shell (so it knows when it is at the command prompt, and when it is inside a running app.)I know there are many SSH clients, but I am looking for advice for a particular need.PuTTY feels like an escape route for Unix programmers stuck on Windows. I am the opposite.Can anyone recommend one (or maybe a combination of an SSH client and an Command-Line replacement)?
Update: After seeing the early answers here, I turned my requirements into a blog article, which may give more background in the direction I am looking.
I switch between Linux and Windows quite a lot and it's annoying the hell out of me that the Windows command prompt won't auto-complete directory paths when I press Tab if I use forward slashes like in Linux.For example, if I'm trying to navigate to a directory 'bin':
cd /path/to/dir/b <tab> - this won't auto-complete to 'bin' cd path odir <tab> - this will auto-complete.
Can I tell the Command Prompt to use forward slashes instead?
Is running a command in the Alt+F2 prompt possible in a bash script?I need this for a launcher for gnome-shell.For it I have written a little script to check if the process gnome-shell is alive and act accordingly.The script works fine, I just don't know how to write "debugexit" to the Alt+F2 prompt, as that is the only decent way I have found to shut gnome-shell down and going back to gdm desktop smoothly.
i wonder if it is usual that the results of running commands via the command line is different from running them in a script file. my problem is that, i've to run 'modprobe -r e100' and 'modprobe e100' before suspend my machine via pmi in order to resume it properly. i wrote a script containg EXACTLY the same commands as i typed in the terminal/console but the result was not the same. the machine cannot be resumed as expected if i run the script file.
Normally, on my website, files are either handled by WordPress or by me doing FTP. I'd like to copy my entire site to a new folder. I don't want to copy it down to my local drive (with wget) and then just upload it. How close is this to the line I'd need (except near midnight)
mv -r fromfolder \%todaysdate%
I've played with Unix and Linux for a few days over the years, but I'm a Windows (and DOS-prompt) guy. So, I don't know how to get to the server's command prompt on my 1and1-hosted site.
See, I am trying to run multiple website from, different IP. I have only one lan card. I have more IPS. I want to add many ips on same lan card from commnad prompt.
I'm getting some weird behavior when I log in via ssh to a ubuntu server. When I log in, there is only a $ at the command prompt, no user name. The arrows don't work, they just put the arrow characters in the prompt. Everything else seems to be ok. Also, when I say logged in as User, I meant a new user I just created.
I am trying to create a server on my laptop. I have a windows 7 OS. I have downloaded Apache HTTP Server, MySQL Server and PHP. My Apache seems to be working well at one point i.e., when I use the http://localhost "It Works" does show in the browser. When I attempt to sign on the MySQL Server with my password the command prompt shuts off so quick I can't even read what the window says. The MySQL server seems to be running in the task manager under mysqld.exe. End goal: have mysql running and adn communicating with php on apache.
I'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.
Linux version 2.6.18-194.el5 (mockbuild@x86-007.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Mar 16 21:52:43 EDT 2010Am using VWware ESX to host this guest operating system. When it clears post, the screen goes to the red background you typically see right before the login prompt comes up... but it never does. If the machine made it on the wire I can putty to it, but through deploying these, the machine isn't always on the wire and I need to be able to use VMware's viewer to gain access to it
After contracting malware on Vista i decided to switch over to Linux and chose to start of with Ubuntu because of the graphical interface. that being said, you have no doubt inferred that i have no coding experience. basically i was hoping to find some nice tutorials and sites for Ubuntu. Also, i did downloaded the suggested programs and patches but im still experiencing problems with Adobe,flash, and and opening .exe files. for the latter, when i click on .exe files it is equivalent of using explorer on windows so i was wondering how to use the command prompt to open them. supposedly linux is susceptible to malware so if you could please suggest a anti -malware program.
I'm looking for a way to get my IP address using the command prompt in Linux. I know when you type "ifconfig" you can get your local IP address (i.e. 192.168.0.103), but I'm looking for my IP address that I get from my ISP. How can I get this from Linux without having to visit some website?
The command export is working inside a shell script, but when I type it at the command prompt / terminal it doesn't work. "export: The command not found" error is displayed instead.
I tried this:
cat test.sh
Code:
abc=123 export abc echo "Exit status of export abc: $?"
[code]....
I tried it before on my RHEL system and it was working. I have checked
I am trying to access another partition on my drive through the command prompt. I have tried to access it through the /dev directory but when I input "cd ./sda1" or "cd /sda1" it says no such file or directory.
Something unfortunate just happened. I was editing the bash file from my terminal and changed a source. After this I was no longer able to input commands for interpreting in the terminal.
But on rebooting into dyne ,I get a command prompt .A part of what i saw is given below:
root:[!] you can safely reboot now or wait to enter a maintenance shell. VOLATILE MODE : : opening a shell in ramdisk. you are entering a maintenance sector whatever that means
I'm trying to run an application from the command prompt. I've set the path in .bashrc. My executable file and all other files needed by it are saved in the same directory as the path. When I enter the executable name to run it, I get an error message saying that the command is not found.
when I am running the script below,it performs on whatever logfile u type ,i.e, ./scriptname logfilename.But how do I convert it into a function and then call it from another script.I mean how do I prompt the user to enter a logname and then capture the name in the function and when calling this function from another script how do I pass the parameter.
I am working as oracle DBA on 10g . Till last day I had worked on windows platform. Now my company want me to work on Linux platform. I am first time using Linux dont know A,B,C of Linux . I want to connect sqlplus through linux command prompt. I have exported enviornment variable of oracle but I am getting permission denied Below mention steps I ahd followed . Please help me to solve it
I was curious if I would be able to view cookies from a command prompt when ssh'd into a machine. On a test machine running fedora 13, I found that the cookies were stored in a cookies.sqlite. I made sure that all instances of Firefox was closed and attempted to view the file running the following command
sqlite3 cookies.sqlite
It loaded but I was unable to run view any of the information because the database was locked? There were no instances of Firefox running and I check to make sure there were no services of Firefox running as well. Am I doing something wrong? Is this not the correct way to view cookies from the command line ? I have tried google searches and has since been unable to come up with anything.
I've got several large files sitting in my linux hosted account that I need to upload to my S3 account. I dont want to download them first and then upload it into S3. Is there any way I can "upload" it via the linux command line environment? Or access it via a website working with lynx?
I have a PDF that I built using BIRT, and that works fine. At this point I'm trying to print it using lpr or some other command. It seems as though I should just be able to type lpr invoice.pdf and it should print to the default printer. However, lpstat -t shows "Empty print file!" for the printer, and the printer doesn't do anything, let alone print the file. lpr -l invoice.pdf prints the file, but unformatted - just a bunch of characters and whitespace on a seemingly infinite number of pages.
i need to add the date of the root of the command prompt line, i can get it show to the date for any user how do i just do it for root? and i added it to the .bash_profile file