Red Hat / Fedora :: Breaking Down Script - Remove Anything That Starts With CCNF
Mar 22, 2011
Working with Red Hat Enterprise Linux ES release 4 (Nahant Update 4). Working at a new company, and the previous guy had created a shell script to take care of a specific task. His role was unique as the manager took advantage of his programming ability (wasn't a part of his job). On top of that, I'm no programmer either. I'm trying to figure out what this script is doing because it's throwing a warning.
REM this is remove /home/public/ccnf* (remove anything that starts with ccnf) rm /home/public/ccnf*
I understand that this retrieves anything that starts with ccnf that has been changed at any given time, but I don't understand anything else after -ctime...
find /usr/CC/DATA1/RPT/ -name "ccnf*" -ctime -1 -print | xargs fgrep -l "GB-1 " > /tmp/t.file
REM while read line = read each line that is "printed" from the above command? while read line do
REM copy each line that was read from above command to /home/public/ cp -p $line /home/public/
REM don't know about this one =( done < /tmp/t.file
REM remove /tmp/t.file that was made by previous command? rm /tmp/t.file
View 2 Replies
ADVERTISEMENT
Jan 31, 2010
Is there an easy way to Remove a package and all packages it depends on without breaking other packages?
View 2 Replies
View Related
Sep 30, 2010
I have windows Vista and Ubuntu 9.04 on my asus laptop and use grub as boot manager. I tried to reinstall windows vista with the recovery CD delivered with my laptop in order to just get rid of the old installations. The Installation was OK, however when rebooting windows doesn't come up printing the error could not load GRUB Error 22.
Now I think I should remove grub from teh master boot record, and the system will supposedly work.My question is is this a solution and how do I reformat the master boot record? Can I do it with the Ubuntu instalation CD?
View 6 Replies
View Related
Jan 9, 2010
The problem is: after i typed: cat </dev/urandom (i think it inserted a controll character where i cant find it)at my bash prompt (sh and python are fine) and only once per prompt before the line should break it just starts at the beginning of the same line and overwrites itsself (only on the screen its interpreted as typed) .This really bugs me because i love working with bash and i don't want to reinstall the system.I tryed reinstalling bash and readline without success.is there any config files i could check? my PS1=e[44m[e]0;u@h: wa]${debian_chroot:+($debian_chroot)}u@h:w$ e[0m
View 3 Replies
View Related
Jun 14, 2010
Why krunner keeps breaking? Sometimes it runs, sometimes it doesn't.
Here's the error message.
Code:
View 2 Replies
View Related
May 10, 2011
I started using 10.10 a few months ago and had very few problems aside from a few minor issues with Wine. I frequently used Skype under 10.10 and it ran perfectly with no issues whatsoever.
Recently I upgraded to Ubuntu 11.04 and well... basically things have just gone downhill from there.
Over the past few days Skype has been ridiculously unstable, I'll be talking to somebody using text chat and it will essentially freeze up. These freezes can occur within minutes of starting Skype and are very infuriating. I am still able to type and send messages but the "message not sent" icon will appear next to each of them and the timestamp on each message will be identical (the messages in question will not send even after a restart of Skype). This problem will persist until I force-quit the application, closing it normally will not work and often I have to restart my computer entirely before it will work again.
I have tried updating to the latest version of Skype to no avail (if anything I think it has made matters worse, but that may just be my imagination.)
I'm not particularly command savvy, just posting on the off chance that anybody has encountered the same problem or has found a relatively simple fix. I don't really want to have to re-install the entire OS just to roll back to 10.10.
View 9 Replies
View Related
May 24, 2011
Is there a way to uninstall all the bloat without breaking ubuntu? It seems like some things (banshee, the calendar, ubuntu one) are integrated with the notifcations and probably other areas too. I think last time I uninstalled them, the calendar was still there in the notifications but clicking a date did nothing, and I'm sure there were other leftover goodies that I didn't take time to find before re-fresh-installing ubuntu. I think ubuntu has a lot of potential as a linux distro, but I'm not interested in their promoted software (i.e. libreoffice)
Another question: when you install an application in windows and then uninstall it, there remain uninstalled changes to your system (leftover icons, links, shortcuts, folders, files, registry entries) like the uninstaller was drunk on the job. Is this fixed in ubuntu or are there remnants of everything you uninstall?Also comments welcome on what you consider both bloat and safe to uninstall.
View 9 Replies
View Related
Jun 28, 2011
To remove pendrive when I click the 'safely remove' tab instead of getting removed from the desktop it reappears again. This problem is there in fedora 14
View 4 Replies
View Related
Nov 8, 2015
When I boot my debian desktop, I get these errors:
Code: Select allnov 08 22:05:12 Luca-PC systemd[1]: Job paths.target/start deleted to break ordering cycle starting with basic.target/start
nov 08 22:05:12 Luca-PC systemd[1]: Job rpcbind.service/start deleted to break ordering cycle starting with basic.target/start
nov 08 22:05:15 Luca-PC systemd[1]: Job paths.target/start deleted to break ordering cycle starting with basic.target/start
nov 08 22:05:15 Luca-PC systemd[1]: Job sysinit.target/start deleted to break ordering cycle starting with basic.target/start
nov 08 22:05:15 Luca-PC systemd[1]: Job rpcbind.service/start deleted to break ordering cycle starting with sysinit.target/start
The system works perfectly, but I'd like to understand why I get these errors, and how I can fix them.
View 4 Replies
View Related
Jul 9, 2010
On my Sid box, I did an update and it appears it also updates udev's rule set that doesn't like the notion of dm-crypt or LVM. For example:
Code:
trilarian@Debian-Desktop:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dm-1 9.9G 2.4G 7.1G 26% /
tmpfs 438M 0 438M 0% /lib/init/rw
udev 10M 192K 9.9M 2% /dev
tmpfs 438M 0 438M 0% /dev/shm
/dev/md0 94M 83M 12M 88% /boot
/dev/dm-2 1008M 630M 328M 66% /var
/dev/dm-3 600G 291G 310G 49% /home
When I used to run df I would get lvm/dm name instead of number, like:
Code:
/dev/mapper/raid-root 9.9G 2.4G 7.1G 26% /
What I need to change in udev to restore the old function?
View 1 Replies
View Related
Sep 20, 2010
I've only gone into the first case statement of the first switch and I am trying to get out of it but the break statement I added doesn't seem to have any effect and it just goes on to the next case instead of exiting the switch.
Code:
import java.util.*;
import javax.swing.*;
public class A2 {
public static void main(String[] args) {
double gross_Pay;
int payment_Method;
final double salary_Pay = 1000.00;
final double hourly_Pay = 25.00;
double overtime1 = 20.00;
double overtime2 = 30.00; .....
View 2 Replies
View Related
Oct 10, 2010
my issue is that the when i put in the correct input its going into the loop like i put in incorrect input and wont break out of the loop even with the correct input entered
Code:
import java.util.*;
import javax.swing.*;
[code]...
View 3 Replies
View Related
Dec 15, 2010
Anyone else seeing this? I do 'safely remove' to remove USB flash drive. disappears. Five seconds (or less) later, it reappears. The second time I do 'safely remove', it stays gone.
View 1 Replies
View Related
May 2, 2010
Everything works great at the moment, no hardware problems or anything like that. But whenever I enable the proprietary nVidia driver 185, it causes the boot screen to not come up, Ubuntu stops recognising my sound-card and refuses to work and when I try to shut down or restart, it just takes me back to the log in screen. When I remove the driver, everything works okay again.
View 3 Replies
View Related
May 11, 2010
I'm on Karmic, and currently the only firefox I have in the repository is 3.5.9, but I would like to install 3.6. Is there a way to just upgrade the current Firefox install without breaking any of my addons/settings or synaptic (and avoid having it screw the version up later)?
View 1 Replies
View Related
Nov 15, 2010
I have a folder that contain about 2,5gb of debs ranging from vlc, gstreamer, jokosher and audacity etcthose programs I backed up with dpkg repack, now I want to restore them but sudo -i .deb breaks my systemI wonder if there is a to install them and skipping those which dependenciws are not met
View 3 Replies
View Related
Dec 5, 2010
I'm in widows xp sp3 right now, I'm just wondering how do I go about, setting up dual booting with out breaking my Windows Xp OS, being last time - I setup Dual booting with the Ubuntu setup disk and that didn't work at all, Xp was broken after that. Would anybody know of software that does the dual-booting setup from windows with the linux ubuntu iso image?
View 9 Replies
View Related
Feb 23, 2011
Please review my webmin Linux firewall. This is a squid proxy / Firewall / Router. Everything works fine until I change that last line to reject or drop all. Then the traffic behind the firewall that is trying to reach the internet gets borked. I can only assume that something is killing the connections to squid. But everything looks right to me. Here is my prerouting. (please ignore the green box) The red box is the action to be taken following the given rule. But I don't think the problem is in prerouting.
View 1 Replies
View Related
Oct 14, 2010
How to break strings of command into multi-lines in crontab? e.g.
Code:
# the following is a very long a gruesome command to be run at 09:59 Monday to Friday.
59 09 * * 1-5 source $HOME/some-definitions; sh /usr/local/my/long/name/application/bin/hello $(date +\%Y\%m\%d) >>/var/log/my/long/name/application/log/hello.log
View 2 Replies
View Related
Jun 14, 2011
Take this block of pseudocode:
Code:
for i in $list; do
<some statements>
if i > 5
exit
<more statements>
done
That is, want to terminate the iteration just after 5 iterations. A first problem, is that list is a string and not a number. It's all I can say, except to keep reading bash monster manual.
View 8 Replies
View Related
Feb 6, 2010
I've installed F12, updated to today. I've set it to boot to runlevel 3. That works. If I run startx, X starts - I see the mouse cursor and the blue/green background. But no panels. No desktop icons.
I tried switchdesk kde, then startx. Same thing. Except kde is running because if I right-click on the desktop, I get a kde dialog that allows me to start an app.
Tried switchdesk gnome. Same thing. Rebooted, same thing.
View 9 Replies
View Related
Mar 4, 2011
I have an Asus eeePC 1001PX which I have installed Linux to. With a 160 GB hard drive, space is limited, which makes it a problem for me that Asus has chosen to place the 16 GB Windows Recovery partition (which I intend to keep in case of emergency or sale) in the middle of the disk, essentially preventing me from partitioning the disk to my liking with one partition taking up the entire drive (except the space used by the recovery partition. Is there any way to move the recovery partition to the beginning or to the end of the disk without breaking it?
View 4 Replies
View Related
Nov 22, 2009
Where can I put a script so that it'll be run whenever gnome starts but not kde? I tried creating a file called .gnomerc in my home directory but that didn't work. I'd prefer to be able to do it without the "Startup Application" interface.
View 6 Replies
View Related
Oct 21, 2010
Has anyone got Drupal-6.19 working on Goddard - install starts to run but does not seem to connect to DB
View 6 Replies
View Related
Feb 10, 2011
I'm not even sure where to start trouble shooting this. All I can tell you is that ksoftirqd starts using 100% cpu. It either happens immediately after a resume (about a 50 % chance), or at some random interval (anywhere from 5 minutes to 3 hours after a fresh boot).
View 1 Replies
View Related
Apr 1, 2011
Tried to install F14 x64 last night, and selected "install or upgrade" from the splash screen. It ran a bunch of text past me a lot faster than I could read it, and the last line (where it ceased all function) said
Code:[ 2.040098] Registered taskstats version 1. I happened to have a 32 bit dvd of the same o/s, and it provides the same error. Anyone know of any parameters that can be entered, perhaps to skip a certain type of test, or whatever it is doing here?
View 2 Replies
View Related
Jun 17, 2011
I am still running Debian Lenny and have found that the curl version 7.18 is just too outdated for my needs, I would rather not do an upgrade just yet to the stable release of squeeze. I was looking for some information on how I could install a newer version of curl and libcurl without breaking my system.
View 8 Replies
View Related
Nov 10, 2010
I continually get times where an applet on the top panel breaks, such as the Indicator Session Applet, where it doesn't show the applet, and is mimicking the clocks display, but frozen, and no functionality. This is seen in the photo, where you can clearly see the right time and applet as 5:11 and the frozen one as 4:49.
View 1 Replies
View Related
Feb 10, 2010
Sometime after I upgraded to ubuntu 9.10 I've been having trouble with my wireless network connection.It will usually log on to the network, then disconnect a shortly after. Then try to connect again, usually successfully, then it cuts off again. Then connects again, then disconnects. FWIW, ubuntu 9.10 works on a different machine pretty consistently, so I don't think its a problem with the router.
View 2 Replies
View Related
Sep 26, 2009
I use Fedora 11 and xfce from official repo. Xfce started to behave unstable two weeks ago. Unstable I mean, when I log in icons on desktop blinks few times, applets don't appear and the result of ps -A command is:
Code:
I've have found the same error with workaround on Ubuntu bug tracker: [url]
View 1 Replies
View Related