General :: Run A Bashscript No Matter What Directory Stand In?

Mar 16, 2010

How to run a bashscript no matter where u stand in the directory?

View 4 Replies


ADVERTISEMENT

General :: Install A Distribution On Stand Alone (possible On A VM And An Intel-based)

Dec 7, 2010

I am a new member on this site. I come from a Windows background and want to take the RedHat System Admin class. I want to install a Linux distribution on my stand alone (possible on a VM and an intel-based). My question is which one is better suited for me in preparing for the training. Should I install RHEL 5, Centos, Fedora or Ubuntu?

View 5 Replies View Related

Ubuntu :: Bashscript To Merge Pdf Files?

Jul 28, 2011

Is there any bash script to merge pdf files in a directory and sub-directory and rename it as the directory/sub-directory name?Like for example using GhostScript/PDFTK/PyPDF etc?I'm kinda new where it comes to bash scripting.I found this script on a blog that seems to do what I want, however, the bookmark functionality is not of importance to me (and requires jPDFBookmark - which I can't manage to install)

Code:
#!/bin/bash
#

[code]...

View 2 Replies View Related

General :: Windows 7 - Order In The Slots Of Memory Modules Matter/ MemTest?

Apr 4, 2011

In a new PC I had constantly BSoD. I tracked it down to bad memory modules and took them back to the shop.Specifically the RAM was Corsair. Anyway they said they will do test on memory to confirm. They did tests and admitted the RAM was faulty and gave me a replacement. At this point: originally I bought 2 kits of 4G RAM. One of the kits turned out bad. They gave me a replacement, it does not seem to be exactly the same, though. In any case, I became causious and as soon as I got them I put them in the PC and run KUbuntu memtest. It started showing thousands of errors! (Again!). I removed the new kit and run the test again. No errors. I swapped the slots I put the memory modules and also no errors. I can not understand now. Is the new RAM kit bad or not? Does the slots I place the kits matter?

View 3 Replies View Related

Ubuntu :: What Does /etc Stand For

Nov 2, 2010

in /etc what is the etc short for? et cetera? (Not asking what it contains.)

View 1 Replies View Related

General :: Shell Script Has Stopped Working - Why Is "" Appended To Filename And Does It Matter

Jun 8, 2011

I am new to Linux, but was put in charge of our company's Amazon presence. My problem is that all of the sudden, a shell script we have been using has stopped working, and returned an odd error that I simply can't decipher. The shell script is pretty simple, and is run on our crontab (however manually running it causes the same error as well). The script name is "sendh.sh" and to run it in Linux is simply typing "sh sendh.sh". Here it is:

[Code]....

Yes, obviously those files are in the directory, I can see them through the "ls" command (or through WinSCP as well). When run one by one, each command works fine, it's just when using this "sendh.sh" shell script then it fails. Does anyone know why "" is appended to the filenames when I try to run it, or what the heck "ambiguous redirect" means?

View 11 Replies View Related

CentOS 5 :: Backup For Stand Alone Server?

Mar 11, 2011

I'm looking to install an automatic backup system for my server. Maybe i will send this backup over internet on ftp server.

Which software to use? There is a better way to do that?

View 2 Replies View Related

Ubuntu :: 11.04 Freezing For 30 Seconds Every Now And Then And Not Waking Up From Stand By?

May 16, 2011

ever since i upgraded to 11.04 + gnome 3 the computer freezes to the point that the mouse doesnt move... for 30 seconds or so Also,if i put the computer to stand by, many times doesnt wake up properly, looks like the graphics are corrupted the mouse moves jamming until it fully freezes

View 1 Replies View Related

Fedora Installation :: Monitor Goes Into Stand-by And Doesn't Come Back / Fix It?

Aug 9, 2010

I'm trying to boot off of the Fedora 13 ISO disc... After the splash screen my monitor kicks into stand-by and never comes back on..

It doesn't happen when I boot off the hard drive into Windows Vista

It doesn't happen with my Back Track 3.0 Live disc either.

I tried switching from my video card to onboard video in cmos, but no good.

I tried removing the video card and plugging directly into the onboard video, but no good.

I tried starting with only one ram module at a time, no good.

I tried removing all other peripherals, no good.

I actually tried using another monitor too, but no good.

I tried booting the disc from a different drive as well, same thing.. code...

View 4 Replies View Related

Ubuntu :: Conky To Run At Start Up - Not Configured To Stand On Top Of My Applications

Jul 13, 2010

I have been wanting conky to run at start up... fortunately I got that part done (I am very new) but after that, even though my conky was not configured to stand on top of my applications it would, and I didn't want that so I added some more code, and now it disappears if I click over it, it is still running, just not visible.

Here is my code...

View 4 Replies View Related

Server :: Matter Serious Because Of Spammers

Nov 27, 2010

Please Help me in configuring postfix or sendmail as a relay server for my Lotus domino i should receive mail from external via relay server and internal it will go via lotus and received mail should be land in lotus mail box. please help in this if any one done this.

View 1 Replies View Related

Ubuntu :: Disable Stand-by - Computer Inactive For 5 Minutes Goes Black And Then Have To Enter My Password ?

May 23, 2010

I upgraded from 9.10 to 10.04 and now if I leave my computer inactive for 5 minutes it goes black and then I have to enter my password. This is really annoying when I am streaming videos or watching movies. I have gone through all the admin and preferences and can't find how to turn this off or even how to change the time for going into stand-by. I would expect it to be in the power management but it isn't there.

View 5 Replies View Related

Ubuntu :: Can't Extract A File No Matter?

May 19, 2010

I can't seem to extract it with any archiver, and when I used unrar from the console, I get this:shai@shai-desktop:~/Desktop$ unrar c1700-adventerprisek9-mz.124-15.T8.rarunrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen DekkersExtracting from /home/shai/Desktop/c1700-adventerprisek9-mz.124-15.T8.rarExtracting c1700-adventerprisek9-mz.124-15.T8.image Failed 1 FailedYou can see that it can open the archive but it can't get the file inside.

View 2 Replies View Related

Ubuntu :: Slave Or Master Drive. Does It Matter?

Aug 14, 2010

i'm about to perform a fresh ubuntu install, and i was wondering if anyone knew whether installing on the slave or master drive mattered. i know if you're installing on the same drives it's slightly faster for ubuntu to be installed first, but that doesn't seem to be the case since i have two separate drives

View 9 Replies View Related

Ubuntu :: Screen Shuts Off No Matter What Power Settings Are?

Aug 24, 2010

running xubuntu 10.04 on an older machine and no matter what the power management settings, the monitor keeps being turned off.Is there any other way (command line, maybe) to completely turn off the monitor power management?

View 3 Replies View Related

Ubuntu :: Decreasing The Number Of Desktops (workspaces) Matter?

Aug 11, 2011

I only use one workspace anyway, so I was wondering if there was any benefit to removing the other three? By that, I mean performance-wise benefits.

View 2 Replies View Related

Networking :: Ram & Flash Matter In Performance Regarding Linksys Router?

Jan 16, 2011

What does having have more ram and flash memory make a router better then another one?

View 2 Replies View Related

Ubuntu Installation :: Grub Rescue Prompt Doesn't Matter

Aug 13, 2011

When I try to boot I only get to the grub rescue prompt doesn't matter if I try booting from ubuntu 11.04 cd windows 7 disc or the hard drive. At the moment ubuntu 11.04 should be installed although it gave me a ton of errors as I installed it and as soon as i restarted the computer i got this prompt.

View 2 Replies View Related

Programming :: Standardize A Perl Script So That Can Use It No Matter How Many Input Files

Mar 21, 2010

I need write a script that can compare multiple input files and output a file. The basic idea is:1: All my input files are in the same format2: I want to find in-common lines (in-common 1) from some of my input files (e.g., input1, 2 an 3), and find in-common lines (in-common 2) from the rest of my input files (e.g., input 4,5,6,7). And then, compare in-common1 and in-common2 and remove any overlap from in-common 1.3: Output the remaining in-common 1 file after removing any of its overlap with in-common 2I know how to write this script by putting all the filenames in one script and compare them. But the thing is, if I have more input files, such as 100, it might not be that efficient to write all filenames in one script and compare them.

I am wondering if there is any way to do such as:1: put all input filenames in a text file (file1)2: write a script3: Everytime, when I run this script, it will read in file1 directly no matter how many input files I have, give an output.I want this because I will have more and more input files and I don't wanna add multiple lines in the script just for reading the new inputfiles and compare them with the previous files. So, I guess this is something related to making my script a package or standardize it and make it easy to use in the future no matter how many input files I will have.

View 5 Replies View Related

Red Hat :: Scientific Linux Install DVD Fails To Boot / No Matter What Options Are Passed

Feb 18, 2010

I hope I'm posting in the right forum for this (since Scientific Linux is based on RHEL)...I downloaded the Scientific Linux 5.4 "Boron" Install DVD's, and I can't get the DVD to boot. It gets to the point where it tries to initialize SMP (I have a Core 2 Quad Q8200 processor), and it just crashes and reboots my computer. I've tried disabling ACPI, APIC and APM using the noacpi, no apic, and apm=off options, one at a time, and all 3 at once (since the problem seems to be with APIC, because it fails to initialize on all 4 of the processor cores)...does anyone know what I'm doing wrong here, or how I can fix this? I really want to run Scientific Linux, but I can't since it crashes.

View 7 Replies View Related

Ubuntu :: Gwibber Can't Re-setup / Showing Private Messages No Matter Which Column Is Select?

May 24, 2010

I just set up my Twitter account on the Gwibber social client.However Gwibber rather than showing tweets,shows only my Private Messages no matter which column i select. I tried doing a re-setup but that did'nt work.

View 3 Replies View Related

Ubuntu :: Email App (free Or Retail, Doesn't Matter) That Will Read In The Outlook Inbox/Sent/Contacts?

Jul 22, 2010

Is there a Ubuntu email app (free or retail, doesn't matter) that will read in the Outlook Inbox/Sent/Contacts?

We have a really old computer with 10 years of Outlook business mail on it, and would like to switch it over to Ubuntu (no dual boot).

View 3 Replies View Related

Ubuntu :: What Does "blkid" Command Stand For

Apr 18, 2011

I think "blkid" command is just a abbreviation likes uname(unix name).what does "blkid" command stand for?

View 5 Replies View Related

General :: Use Mkdir Command To Create 'local' Directory In /usr - There Are Error - Cannot Make Directory

Jun 16, 2010

I am a student studying computer science course.

Well, I am facing problem when doing lab questions.

I must use DLXLinux bundled in Bochs (bochs.sourceforge.net).

I am required to use the /usr/local directory.

In /usr directory, there is no directory named 'local' but there is one thing called 'local@'. So, when I try to use mkdir command to create 'local' directory in /usr , there are error "cannot make directory.....".

Look at my screenshot at [url].

View 9 Replies View Related

General :: Perform A Long Directory Listing Of All Files In The /bin Directory That Have Exactly Three Characters In Their Name?

Jan 18, 2010

How do you perform a long directory listing of all files in the /bin directory that have exactly three characters in their name?

View 1 Replies View Related

General :: Files Created In A Directory Owned By Directory Group?

Jan 29, 2010

Is there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?

View 2 Replies View Related

General :: Cronjob Directory / Send An Email If Directory Contains More Than Ten Files?

Oct 13, 2010

I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.

All I have is this...

*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]

I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.

View 6 Replies View Related

General :: Find Directory Older Than X And Mv Directory With Sub Files Command?

Jul 13, 2011

I'm quite new to linux but I have configured a simple ftp server and it's working great. I have a FTP-Shared folder with upload and download subfolders. Under upload's and download's I have identical category subfolders like mp3's, movies, software etc. in both. As the guy's upload, I would like to create a line crontab where I can move all the content under /FTP-Shared/upload/mp3/* older than 14 day's to FTP-Shared/downloads/mp3/ recursively (Like in cp command), but the timestamp must be searched on the first directory and not sub files example: /mp3/Club Dance/CD1/Hallo world.mp3This is how far I got:[root@clients ~]# /usr/bin/find /FTP_Shared/upload/Mp3s/ -depth -mindepth 1 -mtime +14 -type d -exec mv -f {} /FTP_Shared/download/Mp3s/ ;This command moves the directory and files, but it is not recursively

View 4 Replies View Related

General :: Link A Directory In Ubuntu To A Directory In Windows 7?

Apr 12, 2010

I've just installed Ubuntu 10.04, trying out linux for the first time. I'm wondering if it's possible to link my documents folder in Ubuntu to my documents folder in Windows, so that when I open the folder in Ubuntu, I am linked to the folder in Windows.

View 1 Replies View Related

General :: Mount One Directory To Another While Mapping The Original Directory's UID To Another

Aug 23, 2011

I'd like to mount the directory /var/www/mysite to the directory /home/daniel/mysite, but also have the user of the mounted files mapped from the original user (www-data) to my own user (daniel). So that the file /var/www/mysite/index.php who's user is www-data will appear in the mounted directory as /home/daniel/mysite/index.php and be owned by daniel - and alternatively, if I create a file /home/daniel/mysite/test.php with my own user, it will be created in the original directory under the user www-data Is it possible? If not, what alternatives do I have so I can use an IDE and still make sure all the files belong to the HTTP server's user?

View 2 Replies View Related







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