General :: FTP Through Command Prompt, Connections Times Out After Some Time Remaining Idle
Aug 23, 2010
while doing FTP through command prompt, connections times out after some time remaining idle, but doing ftp through browser, connection doesn't time out after some time remaining idle... why is it so?
View 2 Replies
ADVERTISEMENT
Dec 5, 2009
how to remove the login prompt during the idle time. or just prolong it for about hours and hours so that this prompt wont appear each time i'm away. i still monitor the computer just 4 meters away and i have to get up becasue of this prompt.
View 2 Replies
View Related
May 20, 2011
How to get the idle time of keyboard and mouse in linux?
View 2 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Feb 11, 2011
I would like to put a variable in the $PS1 prompt that will change each time a command is run. I want the color of the $PS1 prompt to change each time a command is run.I know that I can do this:
Code:
PS1="h@w # "
## "#" is changes every time a command is run
[code]....
View 9 Replies
View Related
Jul 14, 2010
I'm currently studying for my Linux+ test and I'm getting conflicting information regarding the rm -rf command. Yes, I know this a dangerous command, but my question is in regard to how the command functions. In one book I'm studying it says that rm -rf / home/myfolder (there's a space in there) will delete the entire root directory because there is a space between the root and home directory. It says that if there is a spacing such as this, it will ignore anything after the space, so in this case, it would delete the root directory and stop, not that there would be anything left anyway. Then in another book I have, it says that if you did a rm -rf folderName / (with the intention of adding the trailing slash to indicate it is a directory and not a folder) it will delete everything in folderName (assuming it's a child directory of your pwd) and then CONTINUE on and delete the root directory. Now, those two statements contradict each other. When you remove a directory, does the command line ignore anything after a space or not?
View 1 Replies
View Related
Jan 2, 2011
I have a strange problem where my machine will suddenly stop responding to connections while still remaining partially connectible. Here's an example sequence of events I have taken (numerous times). If anyone can spot something else I should check or has seen these symptoms before please let me know.1) System is using an Edimax 7318-usg, Ubuntu 10.042) Wifi connection is working, with power management turned off (iwconfig)3) Signal strength does not cause the connection to drop (confirmed with router logs)4) When in a ssh session on the problem machine suddenly the ssh session is dropped "host is down"5) When I attempt to re-initiate ssh it fails, no route to host...6) Pinging it fails, accessing a webpage hosted on it fails, all access fails7) The machine I'm pinging/sshing from still has a good network connection8 ) I check my routers DHCP leases, problem machine still has a valid lease.
9) Router still shows problem machine in routing & arp table & shows active traffic going to and from (I checked the routers states and bandwidth monitor for this)10) I try sshing and pinging the problem machine from the laptop on the local network, it still fails, no route to host, wtf?11) I go to the problem machine physically, wifi connection is up with decent signal12) ifconfig indicates it still holds an IP address13) I open a browser on the problem machine, any webpage loads fine14) I ping the laptop from the problem machine, ok15) I ssh from the problem machine to my laptop, it works16) At this point I ssh from the laptop to the problem machine, sometimes it works sometimes it fails(it seems that pinging/sshing the laptop FROM the problem machine sometimes makes it connectable again).
17) Usually if I wait a while the problem machine will randomly become connectable again at random intervals18 ) The only reliable way to make the problem machine connectable again is manually reconnecting it to the wireless network19) I tailed auth.log ufw.log, etc. nothing suspicious disallowing my ssh connection20) dmesg shows nothing unusual, as far as I can tell, just some activity negotiating WPA keys and suchBy looking at the timestamp for the WPA negotiation and cross referencing the router bandwidth monitor I can tell the WPAnegotiation doesn't make it drop the conectionSo that's it, lol.
View 6 Replies
View Related
Apr 5, 2010
I want to get the system idle time till a mouse move or a key press. How is it possible to get it from a char terminal running through ssh/telnet as well as a from an X-terminal session?
View 1 Replies
View Related
May 2, 2010
I have an Asus EEE PC900. Just installed 10.04 netbook remix and everything works fine straight out of the box. it works great and is a vast improvement on windows xp which was previously installed on the asus. Just one small thing - the battery meter is never accurate as far as time remaining goes - it currently says i have 19 hours 55 minutes to go - unfortunately this is not quite true i suspect. It was the same with 9.10, Does anyone have a solution for this?
View 4 Replies
View Related
Mar 7, 2011
I have a doubt, is there any switch will display remaining time or % while copying (big size files) in RedHat Linux? Example 50 Minutes remaining) / 45% remaining
View 3 Replies
View Related
Feb 20, 2011
I've just installed Ubuntu 10.04 and find that if I leave the machine for more than a couple minutes, it will automatically log me out. Instructions at other sites have indicated that session controls are to be found in System>Properties. But there is no Session in the list under Properties in Ubuntu 10.04. How can I control this feature so that I'm not having to constantly login every time I turn around? I've searched everywhere and can't find a solution.
View 3 Replies
View Related
Mar 2, 2011
I am using Debian linux. I have 100 timers running. If a timer expired which will generate a signal and it was mapped to a same function handler. All the timers are mapped to one function handler. The problem is if the timer expires one at a time, the function handler called at a time. But if the 2 timers expires at a time, the function handler is called one time only instead 2 times. Is it possible to invoke the function handler as many times based on timer expirary happens simultaneoulsy?
View 14 Replies
View Related
Jan 28, 2010
I am noticing really odd behaviour after upgrading from 8.10 to 9.10 (via 9.04). My server frequently becomes unreachable. I am using it as an application server, running Apache, JBoss and MySql. Once the server goes idle, all web connections time out. SSH also times out. Usually the server wakes up on second SSH attempt and then everything: Web, SSH etc seems to run fine.
This is a server machine with no GUI. Can anyone point me to power management or other such settings I can tune from commandline? I have disabled power management by adding kernel parameter acpi=off. I still have the problem. The first network connection after the machine has gone idle takes a long time. All later connections run pretty smoothly.
View 5 Replies
View Related
Feb 2, 2011
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.
View 6 Replies
View Related
Mar 22, 2011
When I run top d 0.5 on my machine and I press 1 to enable the SMP View, I notice that all of the CPUs keep toggling between 100%idle and 0% idle.
The odd part is that when a CPU goes to 0.0% idle, I would expect to see one or more of the other columns peek, but they are not.
What is causing this?
Code:
View 8 Replies
View Related
Sep 23, 2010
Registered: Sep 2010
Location: Pune
Distribution: Fedora and redhat
Posts: 2
Rep: Reputation: 0
how can i change sleep idle time in fedora
View 1 Replies
View Related
Jun 6, 2011
After some idle time Slackware hangs up/freezes. When, for an example, i turn on music i can hear it on idle time but after some time music still plays but i'm losing picture (monitor detects no signal), num lock is locked, led on keyboard are turned on but won't turn off while pressing num lock. I've switched off power saving options in Slackware and on bios setup.
My spec is:
X4 620 (without overclocking)
AMD 760G (Radeon HD 3000)
Catalyst 11.5 for Radeon graphic.
BTW - computer works fine with Windows. Also, with Slackware i can work for an hours, many hours and everything is fine but as soon as i leave it for some amount of time = it hangs/freezes. There is something wrong with hibernation. Not always computern is turned off correctly. TV is switched off, slackware logged off but i hear drives working and cooler fans. It should be switched off completly.
View 11 Replies
View Related
Sep 6, 2010
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.
View 14 Replies
View Related
Feb 22, 2010
What is the command to check all open TCP connections?
View 7 Replies
View Related
Apr 4, 2010
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?
View 3 Replies
View Related
May 6, 2010
I would like to change the formatting on my BASH prompt from this:
anon@machinename.domain.poo:~/some/very/annoying/long/path$
to something like this:
anon@machinename.domain.poo:~/some/very/annoying/long/path
$
The idea is that I would be able to type a reasonably long command on one line without it wrapping to the next line so quickly.
View 2 Replies
View Related
Aug 26, 2010
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
Code:
echo $PATH
which is okay. What could be the problem?
View 7 Replies
View Related
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.
View 8 Replies
View Related
Jul 15, 2010
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.
View 13 Replies
View Related
Mar 18, 2010
I am trying to install Dynebolic 2.5.2 on my system.I copied the dyne/ folder into root of my partition(ie /) and updated grub as follows:
title Dyne
root (hd0,0)
kernel /dyne/2618ckld.krn root=/dev/ram0 rw load_ramdisk=1 max_loop=64 vga=788
initrd /dyne/initrd.gz
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
[code]....
View 2 Replies
View Related
May 27, 2011
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.
View 14 Replies
View Related
Jan 5, 2011
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.
View 3 Replies
View Related
May 9, 2011
Friends currently we are accessing tomcat manager using web page ]
http://localhost:8080 ,
is it possible to start the tomcat manager using command prompt!
View 4 Replies
View Related
Nov 29, 2010
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
[oracle@bhel1 mj]$ ORACLE_SID=V7;export ORACLE_SID
[oracle@bhel1 mj]$ ORACLE_HOME=/usr/lib/oracle/v7/app/oracle/prod
ver;export ORACLE_HOME
[oracle@bhel1 mj]$ PATH=$ORACLE_HOME/bin:$PATH;export PATH
[oracle@bhel1 mj]$ NLS_LANG=AMERICAN_AMERICA.AL32UTF8;export NLS_
[oracle@bhel1 mj]$ LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_P
LIBRARY_PATH
[Code]....
View 1 Replies
View Related
Aug 4, 2010
I need to run one command as different user with out a password prompt.
I did this
Code:
one localhost= (two) /usr/bin/whoami
This work but it prompts for password. Is there a way that can be done with NOPASSWD option ?
View 1 Replies
View Related