General :: Cannot Access Sda1 Through Command Prompt
Apr 7, 2011
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.
I do regular updation of my system. Today, I have updated my ubuntu system, but after booting I am getting only grub> command prompt. I am not able to see my main login screen. - I am using 11.04. - I have ubuntu 10.04 cd.
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.
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?
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
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 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 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 installed Fedora 10 on a pc I built from a barebones package, I have had no problems over the past couple months until recently. When I start up the pc the OS lags on a black screen with the cursor blinking. I have searched forums but I guess since I am a newbie I am still lost in the translations. What I am trying to do is save my files that are on the pc to a DVD-RW or my external hard drive before I have to reinstall the software again.
My questions are as follows: How can I locate the files on the hard drive? When I have the bootable cd-rom inserted I am unable to locate the HDD. How can I transfer my files using the command line prompt? Finally, is it possible just to upgrade to the latest Fedora without losing my files and going through the data recovery process head ache? Or can I reinstall the OS and not lose my files?
I am working on RHEL4 ES server. In our system Talk is not activated(i did not find it in services). To send a mail thru web based mail it is time taking process. I want to send a message(or a mail) to other server. How can I do this? Example: my server IP is 10.xx.xx.xx and the other is 10.xx.xx.xx
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.
Possible Duplicate: Version of Linux with a command prompt?
Which software of Linux to use for command line running? Since I am using MySQL to run from Linux and want to run Linux, which software to download in Linux? There are multiple ones. Can I run .sh scripts and learn how to operate on Linux using the command line? Also use MySQL as backend on Linux?
I am running Windows 7 on an HP laptop trying to create a dual boot with Ubunta 9.0.4(?). I left 300 gb in unpartioned space when I loaded Windows 7 to load linux in (new hard drive). I then partioned the 300gb thru Windows using Paragon Hard Disk Manager. After installing Ubunta, it dumps me at the command prompt. Graphics problem?