Fedora :: Checking Automated FTP Script's Status (Bash)

Jan 31, 2011

I am using an automated bash script to upload some files to a remote ftp server . The script is working fine as it is , however I need to check if it uploaded the file successfully or not , so it can remove them. This is the ftp part of the script which is working fine for uploading files.

[Code]...

View 2 Replies


ADVERTISEMENT

Ubuntu :: Checking Status Of File In Terminal?

Jun 1, 2011

How do I check if a file is a soft link in the terminal? They're usually color coded, but I gave permissions to a colleague and now every file is green. Is there a simple command for this?

View 3 Replies View Related

General :: Command For Checking The Network Performance And Status?

Jun 15, 2010

what is the command for checking the network performance and status?

View 3 Replies View Related

Programming :: Creating An Automated Bash Scrpit

Feb 2, 2011

list the used variables.

1. display menu until user quits the script
2. menu would give following options to
a. create backup
b. restore files from backup
c. quit
3. for option a or b user would be required to specify the files and name of the archive]
4. has option to be run with use of parameters if that is the case it will not display menu but carry out required task unless it was not possible to do
5. incase of any errors are encountered it would call external scrpit that would display custom disigned error message.

View 6 Replies View Related

Ubuntu :: Make A Automated Build-script With Bash

Apr 13, 2010

I'm trying to make a automated build-script with bash but i keep getting different errors.

Code:

#!/bin/bash
gpg --import /home/epm/first_installation/config_chroot_sources_local.gpg
gpg --import /home/epm/first_installation/config_chroot_sources_packages-inl-fr.gpg

[code]....

View 5 Replies View Related

Programming :: Make A Automated Build-script With Bash?

Apr 14, 2010

I'm trying to make a automated build-script with bash but i keep getting different errors that I can't seem to figure out. Could anyone please tell me what's wrong with this package of build-scripts? I'm posting the main build-script and attaching the rest of the scripts in a compressed form. The errors mainly comes from the scripts in "/first_installation/usr/share/siem-live/init"

[Code]...

View 2 Replies View Related

Programming :: Make An Automated Build-script With Bash

Apr 14, 2010

I'm trying to make a automated build-script with bash but I keep getting different errors that I cant't seem to solve for various reasons. what's wrong with this build-script? I'm posing the main build-script and attaching the rest of the scripts in a compressed form. Buld-script link: [URL]

[Code]....

View 3 Replies View Related

General :: Bash - Checking Which Window Is Active In A Script?

Aug 8, 2010

In a Linux bash script I can do several things with windows using wmctrl but I'm trying to figure out how to determine what the currently active window is.

View 1 Replies View Related

Programming :: Bash Checking For File Write Completion Before Acting?

Jan 20, 2011

I have a bash script that checks for contents in a folder every 15 seconds and then acts on it's contents. This works great for the average size file however on very large files it starts acting on the file before it's completely written. Is there a facility in bash shell to get a file complete signal or such? here is trigger to launch a larger script.

Code:

#!/bin/sh
while true
do
$HOME/bin/hpgl.sh >/dev/null 2>&1 &

[code].....

View 10 Replies View Related

Programming :: Bash - Propogate Exit Status ?

Jun 10, 2010

I am running a command pretty similar to the one below:

Code:

I need to capture the exit status of that part of the command.

What I am trying to do is set a variable that can be modified within my_job.sh, and used to exit.

However, no matter what I set "status" to in my_job.sh, it exits with "0".

What can I do differently?

View 3 Replies View Related

Programming :: Bash - Using Exit Status For Decisions

Mar 3, 2010

How exactly can I use the exit status of a command in an if statement ?

Something like this:

Code:

View 3 Replies View Related

Programming :: Using The Process Status (ps) Command In A Bash Script?

May 27, 2009

I am new to scripting and been working on this bash script for awhile now. I been researching this problem, but I can't seem to find a solution. I was wondering if someone could please help me out. Here is my script:

#!/bin/bash
NO="ps -ef | grep NO | grep -v grep"
NOWC=`ps -ef | grep NO | grep -v grep | wc -l`

[code].....

I cannot get this script to run the "ps -ef" command on the client. It get its value from the host machine that I am running this script from. I need this command to execute on the client. When I run the command (ps -ef | grep NO | grep -v grep) on the client, I get something back. Here is what I get when I try to debug the script.

XX# ./test_ps5.sh XXXXX
+ NO='ps -ef | grep NO | grep -v grep'
++ ps -ef

[code]....

View 5 Replies View Related

Fedora :: Automated Mouse Cursors?

Mar 7, 2010

It there a way to enable automated mouse cursors in Fedora 12? About the only thing I miss from WinDoze is the animated hourglass cursor when I start an application by double-clicking its icon. With Fedora, I'll sometimes double-click an icon again, thinking that my first attempt didn't work, only to find that the program was loading and then I have two instances of the program.Yeah, it's a minor thing and, yeah, I can live without it, but it sure would be nice.

View 1 Replies View Related

Red Hat / Fedora :: Complete Automated Installation Using Kickstart

Jan 25, 2010

I want to install Red hat based custom OS in a complete automated mode.I ll have my kick start file inside the CD rom and when I boot with that ISO or CD.The OS should start installing by taking parameters from the kick start file without having to specify the path of the kick start file inside the CD.like "linux ks=<path>".Is it possible to achieve this by writing any script or something so that when the CD boots the kick start path is passed automatically to the anaconda installer.

View 5 Replies View Related

Ubuntu :: Checking Disk Mean Checking All Partitions On Hd?

May 10, 2010

Sometimes at startup I get this message "Checking disk 1 of 1". Does that mean it's checking all partitions on the hd? After a bad shutdown there is no prompt for fsck to run and the system just boots up. In fstab I have both options set to "1" for the partition Ubuntu is on, all others set to "0". Any ideas on both?

View 3 Replies View Related

Fedora Networking :: Scripts To Automated FTP Login To More 20 Server

Apr 22, 2009

How do I make a scripts to automated login ftp to more 20 server at one time? From fedora to ftp X 20 linux server.

View 2 Replies View Related

Red Hat / Fedora :: Automated Service-shutdown If Load Exceeds A Defined Value?

Dec 1, 2008

i just wanna know if there is some script out there for shutting down a certain service if the load exceeds a specified value?

I've a system with a DBI-Proxy running, most of the time the systems load is about 2~3...if a DB-connection dies, the load rapidly increases (very fast) and after some seconds the load is > 200 and i'm no longer able to shut down the DBI-Proxy manually...or do anything else via ssh...

Now i wanna have a script running in background that checks the system-load permanently and stops the DBI-Proxy if the load exceeds...well, lets say 10 or whatever.

View 1 Replies View Related

Ubuntu :: Twitter Status / Update Pidgin Status In Lucid

Jul 5, 2010

I have just upgraded to Lucid on Ubuntu. I am a long time Pidgin user. I tried using Empathy with Gwibber, but I can't get Gwibber to update my IM status(es) in Empathy, so I want to go back to using Pidgin. (Additionally, I can't get Skype to work with Empathy.)I installed pidgin-microblog and pidgin-mbpurple, and they allow me to view my Twitter feed in Pidgin and update my Twitter status in Pidgin. However, in Karmic, I was also able to specify certain "status availabilities" (one named "Twitter-Available" and one named "Twitter-Away", for instance) to have the IM status message for these statuses become populated with my Twitter feed. This capability seems missing in pidgin-mbpurple in Lucid (and it seems to be the only thing missing from Karmic).

Is there a way to have pidgin-mbpurple update certain "status availabilities" in Lucid (and I'm just missing something) or is this no longer possible?Equivalently, is it possible to have Gwibber update my status message in Empathy? (I just want to be able to update my status once on one of my three computers - and have it propagate to all my other accounts (IM and social networking) and computers).

View 1 Replies View Related

Fedora :: Bad HDD Stop Kernel From Checking It

Aug 24, 2009

I will keep this short, I have a bad HDD possibly PCB damage due to heat.It's a laptop although I can remove it but in the mean time till then, is there any way I can pass an option to the kernel to stop scanning it.My OS mounted on a 8 gb sd card plus 4 gb flash drive.It takes 20 minutes for Fedora to bootup and Debian base Linux 30 to 35 minutes.

It wouldn't been a problem setting my laptop to sleep mode when I'm done and it was working fine but after a few updates, once I put my laptop to sleep I can't do it again in the same row. I have to shutdown. Lets say I tried anyway, system stop being responsive, while I let it continue to see it will become responsive again, it went on for an hour and half. It's annoying... So my question is, what option can tell the kernel to not scan my HDD.

View 3 Replies View Related

Fedora :: Checking If OpenGL Is Working?

May 31, 2010

I'm trying to get a program to compile with OpenGL support and it's saying that the headers are missing. But I think (or thought!) that I already had Open GL up and running. My suspicion is that I need to install the appropriate -devel files...but I just can't seem to find them. Furthermore, I don't want to tweak my system and install proprietary Nvidia drivers if things are already working just fine.

I have a Geforce 8300 GS in a i586 32bit Dell Inspiron 530. I'm trying to compile Cinelarra and keep getting:

Quote:

OpenGL 2.0 libraries missing Hardware acceleration using OpenGL 2.0 is disabled

Does anyone know which driver (ie: 96xx? 173xx?) I should be using for this? Where are these libraries? How can I find them and tell Cinelarra where to look?

And even more basically: How do I tell if OpenGL is working or not? Maybe I don't have them afterall..

View 6 Replies View Related

Fedora Installation :: Checking For Libraries Currently In Use?

Jul 19, 2010

I have just installed from the Live Cd (Fedora 13). So far so good except that I have just installed the updates (which has taken some time) .

The updater screen shows a full progress bar and next to the progress bar is this text " checking for libraries currently in use" this has been at least one hour showing the same thing, it hasn't changed (PC is still running OK). Does this mean I can safely quit and the updates will be OK or should I keep waiting for a reboot screen or updates success message ? Is this normal, if so how long does it usually take to complete?

View 1 Replies View Related

Ubuntu :: Remove Gwibber Status Indicator / Gwibber Status In The Panel While Keeping The Shutdown Button?

Mar 16, 2011

After a fresh installation of Ubuntu 10.10 I uninstalled empathy (im using skype). The empathy menu in the evolution indicator was gone after that.I also uninstalled gwibber. But the gwibber status indicator remains within the about-me panel... Uninstalling the gwibber package also removes the me-menu which I want to keep actually. Especially the shutdown/restart... part of it. See attachment.I know there is a shutdown panel-app...but its butt-ugly and it doesnt allow to logon/off.

In another thread I read that the gwibber status shouldnt be there if no account for it is configured... which it is not... I do use ubuntu-one though which is in the same menu... I saw that this issue was addressed at some bug report before, but not fixed yet...

Does anybody know a good workaround to get rid of the gwibber status in the panel while keeping the about me and the shutdown button?

View 3 Replies View Related

Fedora :: Checking Hard Disk For Errors

Aug 2, 2009

On my FC11 installation Palimpset Disk Utility icon in the top menu bar is reporting that I have a disk failure with the caption "one or more disks is failing".When I open up the details section in Pilimpset I can see that "2 sectors are failing",I have checked this with gparted checking facility and it reports that the disk is OK.What I would like to do is to check the disk using a command like tool or ofline tool, which would then tell me where those bad sectors are on that partition so that I can resize it (using gparted) and have the bad sectors in NON ALLOCATED DISK SPACE.

View 4 Replies View Related

Fedora :: Checking For GNU Libc Compatible Malloc... No \ Fix It?

Jul 13, 2010

I'm trying to compile ink but with no luck. Here are the terminal output,

Code:
[trumpet@Trumpet-PC ink-0.5.1]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c

[code]...

View 6 Replies View Related

Fedora Installation :: Fed 7 To 8 Upgrd, Hangs At Dependancy Checking?

Feb 6, 2009

Whenever I get to the dependancy check, it gets up to 99% and appears hung. I am in text, not GUI. Any idea why or if I just need to wait longer? I waited about 1/2 hour. Also, on newer versions, there seems to be no text install option. I saw in the stickies there is this option, and I was wondering how to get to it? I hit the function keys to get different menus while installing fedora 10 on my laptops but just can find a place to type text. I'm no guru, but I've been around the block and I'm just faster at the old text way. Old fart you might

View 5 Replies View Related

Fedora Security :: Disable Strict Password Checking?

Jul 12, 2009

I'm not necessarily gonna do this, but I have to know. Is there a way to make the system not complain about every single freaking password you try to use? Make it so that any regular user could make "hello" their password without complaint? Like I said, I won't necessarily do it, but I have to know if it can be done.I did some searching and found the su -c "passwd username" trick, which is working for right now (I have root access but a user account I made for a friend doesn't)... it's just irritating when it won't even let him use something like "snuh123" because it seems to think it's based on a (reversed) dictionary word. Any use of a dictionary word, even with other chars, fails

View 6 Replies View Related

Fedora X86/64bit :: Yumex Crashes After Checking Repositories?

Dec 18, 2009

yumex crashes after checking repositories:

Code:
running
Current Settings
autorefresh: True
branding_title: 'Yum Extender NextGen'

[Code].....

View 7 Replies View Related

Fedora Security :: Easy Integrity File Checking ?

Feb 9, 2010

How to do an easy file integrity checking on fedora 11 ? just to make sure that the necessary core os files are not corrupted using rpm and yum.

View 2 Replies View Related

Fedora Installation :: F13 Install Freezes When Checking For Dependencies

Sep 1, 2010

Installing from a CD, and F13 constantly freezes at the same spot - "Checking dependencies in packages selected for installation" - gets stuck 1/3 to 1/2 thru.

Dell Dimension 2400, Celeron 2.4GHz, 768MB memory, 120GB drive.

I've used same CD set to install several other systems so CDs are good.

View 9 Replies View Related

Fedora :: System Freezes After Checking Media During Installation

May 27, 2011

I tried installing F14 and F15 but display resulted in freezing. The display would work upto "Check Media/Skip Test" for media during installation and the system freezes immediately after that. So I did a VNC installation from another system. But the initiation of X would always result in hanging of the box. After googling and trying various solutions, I found a ray of hope in one solution which suggested adding "vesafb:mtrr,ywrap vga=0x318" to the kernel arguments. This resulted in displaying successfully the boot-time flash (Fedora logo being filled with white color) during booting. But "startx" or "inittab 5" result in hanging of the system.

The following is the relevant information:
I see 5 monitors and 5 cards!

Code:
# lspci | grep ATI
09:0c.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)
09:0d.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)

Code:
# cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
Screen 3 "Screen3" RightOf "Screen2"
Screen 4 "Screen4" RightOf "Screen3"
Screen 5 "Screen5" RightOf "Screen4"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection .....

View 2 Replies View Related







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