Red Hat / Fedora :: How To Do Tasks Via Command Structure

Dec 4, 2010

trying to learn how to do tasks via command structure as I want to become RHCSA in the future.problem: i am trying to copy from (Ubuntu) a driver folder from a CD to another partition so that I can access the internet on CentOS .( which is the OS on another partition on my HD)

View 4 Replies


ADVERTISEMENT

General :: Renaming A Bunch Of Files Using For-structure And The Mv Command?

Feb 3, 2010

Basically I need to rename a bunch of .doc files using the for-structure and the mv command (w/ wildcards) in bash. I guess this would be a bit easier if I'd use the rename command, but since this is a school assignment of sorts I need to use for & mv. The .doc files are named "1filename.doc", "2filename.doc" etc. And I've got to rename them to "aaa_1filename.doc", "aaa_2filename.doc", "aaa_3filename.doc" and so on. Tried to dabble quite a bit with the for and mv commands, basically just got a bunch of errors. Every damn time. For 2 hours. The most common error was "mv: missing destination file operand after ..."

View 6 Replies View Related

General :: Command To Copy Files Older Than <n> Days Keeping Dir Structure?

Jul 6, 2010

I'm trying to truncate a postfix Maildata directory for one of our users. I want to be able to move any files older than <n> days to a new location, but also copying the relevant directory structure. This should be doable in the one comman. I've used find to locate the files, and mv to move them, but I can't figure out how to build the directoryt structure on the fly in the new location.

This is what I have so far:

Code:
find /Maildata/editor -mtime +42 -type f -exec mv -v {} /EditorEmailOld/ ; > ~/editor.txt

View 4 Replies View Related

Fedora :: How To Prioritize Tasks?

Jul 14, 2011

Assume I`m a newbie and I want to run two CPU-consuming tasks but with different priorities - I mean one to get more CPU time that the other. How to achieve this in Fedora?

View 14 Replies View Related

Fedora :: Kpackagekit Waiting For Other Tasks

Oct 3, 2010

Whenever I try to get KPackageKit to do anything, it says "Waiting for other tasks..." and just hangs. I can cancel (when there's a cancel button, but sometimes there's not) and yum runs just fine.Any advice on how to get this working? I hate hunting for the names of packages.

View 2 Replies View Related

Fedora :: Firefox Hangs Too Often With Other Tasks In The Background?

Apr 14, 2010

Ever since I preupgraded to Fedora 12 Firefox has been behaving annoyingly under certain circumstances. I guess the issue is not specific to Firefox, but just that it is the most obvious example. What happens is that whenever there is another program/process in the background using CPU heavily (burning a DVD, for instance) or doing heavy disk I/O (say, Filelight scanning the root folder) Firefox hangs for a few seconds about twice every minute. If I open System Activity during such hangs the Firefox process will report "disk sleep", as if it was paused by some process management mechanism which is prioritizing the background task. Since I never observed such behaviour under similar circumstances under F11, F10 or F8 I wonder if there could be any OS setting which was changed and triggered this change of behavior. I should mention the computer has a dual-core processor.

View 1 Replies View Related

General :: Automating Administrative Tasks In Fedora 10

Jan 10, 2011

I am a student at DeVry University, newly introduced to Fedora and Linux in general, and have a project whereby, we have been asked to consider some administrative tasks that we could automate via a script.I was wondering if there were any thoughts or directives from the community on what admin tasks you guys find to be of inestimable use in automating via a Linux script.

I am new to the Linux commands but have done a wee bit of programming before in C++ and others.I have also done basic DOS batch files before.

View 5 Replies View Related

Fedora :: IPod Directory Structure Not Found ?

Oct 12, 2009

I am using GTKPOD to add music and sync my Ipod touch. I have gtkpod up and running and I have gone through the initial steps of changing the repo and selecting my ipod touch. But now when I try to "load ipod" i am receiving an error stating that the IPOD directory structure not found.

I have changed the repo so that is ipod mount point: /mnt

But after selecting load ipod;

Could not find iPod directory structure at '/mnt'.

If you are sure that the iPod is properly mounted at '/mnt', it may not be initialized for use. In this case, gtkpod can initialize it for you.

Do you want to create the directory structure now? >>>Create Directory Structure

Following this message; Warning

The following has occured:

Error initialising iPod: Problem creating iPod

How do i create the iPod Directory Structure that it is asking for?

View 5 Replies View Related

Red Hat / Fedora :: Elements Of Structure Perl Language

Aug 9, 2010

What elements of the Perl language could you use to structure your code to allow for maximum re-use and maximum readability?

View 2 Replies View Related

Fedora Installation :: F15 Error 16:Inconsistent Filesystem Structure?

Jun 21, 2011

I have two computers, a HP DX2250 with dual SATA drives and a HP D530 with 1 EIDE drive and 1 SATA drive. On each computer Windows XP Pro is installed on the first drive and Fedora is installed on the second drive. I have had no problems installing and running Fedora 15 on the the DX2250.

My persistent problem lies with the D530. I have installed Fedora 15 on the SATA drive several times. I used the Fedora live cd and I have used PreUpgrade. Every install results in the Error 16: message occurring during boot and ending with a Grub prompt. I have even unplugged the EIDE drive during Fedora boot and still get the problem. I might also add: the machine hard drive boot is controlled via F10 and changing the drive controller order. I have installed and used Fedora on both machines from Fedora 11 thru Fedora 14 with no problems. This error is new with Fedora 15. My next attempt is to install Fedora 15 on the SATA drive with the EIDE drive unplugged. All ideas or SWAG guesses are welcome.

[Code]...

View 7 Replies View Related

Fedora :: Automatically Create Destination Directory Structure For Softlinks - Ln -s?

Nov 15, 2009

I have a file that has been created by exiftools and then parsed and cut to fit my needs and thrown into a file that looks like this:

Code:

I then make the file executable and then execute it. Trouble is, the destination directories don't actually exist, so naturally, the "ln -s" fails.

Is there a way to create the destination directories dynamically based on what is specified in the file above?

View 3 Replies View Related

General :: Mounting Fedora ISO DVD And Then Copy The Full DVD Structure Locally

Sep 16, 2011

I need to recreate in a local folder called /distro/fedora/ the full directory tree (including eventually hidden files, symlinks, etc.) contained in the .iso file just downloaded (Fedora-15-i686-Live-Desktop.iso).

I understand I can mount the ISO image using something like this:

mount -ro loop /path/to/image.iso /mnt

but then, which would be the best way to get a copy exact of what I see underneath /mnt in to /distro/fedora ?

cp, tar, clobber?

View 1 Replies View Related

Fedora Installation :: Cannot Find Any Info On The Description Of The Mirror Release Directory Structure

Jun 29, 2010

I have searched all over. I cannot find any info on the description of the Fedora mirror release directory structure and the reason for having a "Fedora" and "Everything" directory? Yes I looked at [URL] I mostly work with the Red Hat 5.x. The Fedora release software is kept on a mirror and the DVD release as, (using i386 release):

[Code]....

View 3 Replies View Related

Fedora :: Kpackagekit "waiting For Other Tasks"?

Dec 16, 2009

i am a new fedora 12 user (kde spin, 64bit)but received not-so-nice welcome from kpackagekit. i cannot install anything it always complains that "waiting for other tasks". how do i solve this?yum also does not work telling that

Code:
Loaded plugins: presto, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 1880.

[code]....

View 3 Replies View Related

Software :: Set Top Box With Scheduling Of Tasks On 2.6.12

Mar 10, 2010

We are seeing some strange behavior on a Set top Box with the scheduling of tasks. We use 2.6.12 kernel. The issue is when we create a Task, say task1 with a priority of 46.But,this task is not Scheduled to run by the scheduler right away. It gets chance to run only after sometime. What we see here is that I create many other tasks with lower priority than task1,but they are immediately scheduled. Ideally, the task1 should have got scheduled before certain other low priority tasks as it has higher priority. Any patch is available wrt this?

View 3 Replies View Related

Software :: Waiting For Other Tasks

May 26, 2010

for the past several months now, whenever the YUM-deamon goes to automatically update, it just says "waiting for other tasks" and after about 10 min it says "can't get yum lock, other program accessing yum" or something to that effect.i get the same message if i try to manually install programs using the graphical program in gNu.

is there another deamon that also could be using yum or the database for programs? i haven't had too much time to trouble shoot the past few months, so i can't give you better descriptions i'm afraid.

View 2 Replies View Related

Ubuntu :: Create A Script To Run Some Tasks?

Jan 6, 2011

I've been trying to create a script to run some tasks, for example: I have this script receita.sh, that needs the input of a time data to run. like: receita.sh <yyyymmdd> and I would like to get it running every 5 am with the computer time date..I have found the command date, that retrieves the system time date like:Thu Jan 6 17:39:39 WET 2011 Is there any way of getting the time date, and make it work in the script

View 3 Replies View Related

Ubuntu :: Free-BSD OS Benefit In Certain Tasks ?

Feb 11, 2011

I Had used Windows but fed-up of his Crashes and Viruses, Therefor i decided to Check out Linux for the 1st time, so i installed Ubuntu and as time Passed, i just love it now..I had also used KDE Environment but a lot of bugs+Little slow KDE Compelled me to stuck with Gnome,And am fine with it......I seen a lot of more OS's which are for special purposes like Backtrack , Free-BSD , Fedora etc....But i don't know their Purpose , So the post Objective is to find their Purpose and Benefits....

First of all i want to know about Free-BSD OS benefit in certain Tasks... & Why would Someone use Fedora , Backtrack..?

Moreover, I am Home-User, but i am interested to know about these OS's benefits, Where they are used and why...? Is these OS's are not for Home-Users....?

View 9 Replies View Related

Ubuntu :: Cannot Locate The Evolution Tasks

Apr 14, 2011

Recently installed 10.10 netbook edition, and evolution is behaving strangely. Albeit I've never used it before, but having read the documentation and googled it a bit I'm still lost. I cannot create or manage task lists. It's as if their functionality has been completely cut out of ev calendar. When I try to go to File->New->Task List, the Task list option does not appear in the menu (not greyed out, nothing). Can't find the button that's supposed to be there either. I've also checked synaptic for evolution task packages, but no avail.

View 3 Replies View Related

Ubuntu :: How To Use Anacron (schedule Tasks)

May 10, 2011

Well I'm totally frustrated. I have been trying to figure out how to use anacron (schedule tasks). I Googled,Binged,Yahooed, and manpaged.I cannot find how to, at least, start anacron. To use 'cron' I use crontab -e. What do i use to start anacron?.

View 2 Replies View Related

Ubuntu :: Tasks Not Showing In Evolution?

Jun 9, 2011

I'm using Evolution in Gnome 3 and I'm having this rather annoying issue---whenever I make a new Task, it does NOT show up in the Tasks bar. Even if I try searching for it, the task doesn't show up (even making a new Task List doesn't show up), which makes me think it was never saved properly in the first place. I also tried seeing if there was any sort of error while running Evolution by opening it via the terminal, but I don't get anything. Does anyone else have this issue? Is this a known bug with Evolution

View 2 Replies View Related

Ubuntu :: Evolution Tasks Missing

Jun 20, 2011

Yesterday, I found that the majority of my tasks on Evolution (2.28.3) had just disappeared. I last did a backup of my system 2 weeks ago but in that time important data has been added to my tasks lists on Evolution. I've read around and found that the problem may be fixed by rebuilding evolution-data-server (see here). However, if this means re-compiling evolution-data-server from the package manager, well, I don't seem to keen on doing that unless I can get confirmation of how to implement it, i.e. how do I rebuild evolution-data-server?

View 4 Replies View Related

Ubuntu Installation :: How To Do Mac OS Finder Tasks

Jun 20, 2011

Tried to use Ubuntu 11.4 to assist in recovering a windows xp system. Ran from cd without installing. Failure. Could not find Windows hd. How do I list all storage media. Where is the Mac OS Finder/Windows explorer? Could not find Terminal. Ran search, but seems limited to just your user data. How do I do a search for the terminal applications. Did get some worthless display of all installed programs, but could not launch application. Is there a way of switching the old User Interface from the running from CD version?

View 2 Replies View Related

Ubuntu :: Run A Script With Scheduled Tasks?

Jun 27, 2011

i have made a search on this subject and i always find the cron to be the solution for me. But i am asking because i think what i want can be done differently. i have a command line to grab stream and save it. i want this command to be run at different time (hours) on specific days. i should use the "at", as far as i saw here on the forum. But are there other way to do it? can i have a simple script that i run the day of the event, before this occur?

View 1 Replies View Related

General :: Automate Tasks In Linux

Feb 10, 2011

I'd like to get the information about automatization of the tasks in Linux, more specifically in Fedora with minimal installation (without graphical interface and so on).The application (developed in C) needs to be started automatically when the computer is initialized. I've read about cron but I guess it's not a solution in this case because whenever computer starts the application must run once.I also have read about the/etc/ rc.local file but I made some tests changing it and they didn't work, the computer starts asking me the login and password but nothing run after that.The inittab was the same. In this way, someone know how to initialize an application developed in C when the computer starts?

View 6 Replies View Related

General :: If Statement With Multiple Tasks?

Feb 2, 2011

I want to have an if statement that does multiple things:

Code:

if [....] ; then
1=...
2=...

[code]....

View 3 Replies View Related

Software :: How To Know How Many Tasks Are Running In Linux?

Feb 26, 2010

As in window we normally use task manager (ctrl+alt+del) to see how many tasks are currently runing in the window ..similarly please give me alternative of this linux . that is how to know how many sottwares are running in linux is there any terminal commands for this or shorcuts keys as window.

View 3 Replies View Related

Debian :: Administrative Tasks Fail To Start

Sep 4, 2010

Over the past few days, I've noticed that administrative tasks sometimes fail to start. I'm asked to enter the administrative password, "Granting rights" appears in the bottom panel for a few seconds, but then disappears. I'm using Debian Lenny. This is only an intermittent problem, and if a task does fail to start, it will start on the next attempt. Tasks which have failed to start are:

*Launching Synaptic form the System menu.
*Launching a root terminal from the Applications menu.
*Launching Nautilus with root privileges from a terminal using gksu.

After coming across the following post, I thought maybe it was an issue with kernel 2.6.32-bpo.5-686, because I'd recently upgraded to that kernel too, but I'm advised that that isn't so.It was suggested that something else from backports might be causing the problem.

View 14 Replies View Related

Ubuntu :: Tool For Automating Repeated Tasks?

Feb 10, 2010

I want a tool, which can record my actions on the gnome desktop and play it again. I must be able to edit the recorded script.

View 3 Replies View Related

Ubuntu :: Installed A Version With No Desktop, Best Way To Do These Tasks?

Mar 6, 2010

Ok so i have a IOn based PC that i use for only xbmc. I previously had a full ubuntu 9.11 install.

I had to reformat the drive but i could not get audio working. I gave the ION Optimized live CD a go and it worked with HDMI audio running perfectly. The thing is when i close xbmc i don't have a desktop, it just goes to command line.

I need to install lirc, copy some keymap files into my xbmc folder and then setup wireless. What would be the best way? Can it all be done through command line? Can i install a desktop environment?

View 7 Replies View Related







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