General :: How To Write A Script

Dec 12, 2010

Can anyone tell me how to write a command that open2 mozila firefoc at 3 p.m. on monday using CentOs 5.

View 16 Replies


ADVERTISEMENT

General :: Write A Shell Script Which Will Simultaneously Collect OS User Information And Write In An Individual Text Files?

Feb 17, 2010

I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.

View 8 Replies View Related

Hardware :: Mtrr: Type Mismatch For C0000000,10000000 Old: Write-back New: Write-combining?

Jan 31, 2011

solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.

View 10 Replies View Related

Fedora :: Erroneous Write During File Extend. Write -1 Instead Of 4096

Nov 17, 2009

Ive installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error

Code:

Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1

View 3 Replies View Related

General :: Write A Script To Send General Mail To Users At 9AM Everyday In 4?

Mar 3, 2010

I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.

Below is my little effort:
# !/bin/bash
userlist=`cut -f 1 -d : /etc/passwd`
mail -s "mailbackup" << END

keep mailbackup in another drive daily for security purpose

View 3 Replies View Related

Ubuntu :: Can't Write To USB On 11.04 \ Can't Write To USB On Natty?

May 3, 2011

I can't write to USB on Natty. I can read the files and copy them to my netbook fine, but I can't change anything, I can't write or delete files

View 1 Replies View Related

General :: Different Write Through Put On The Same Disk?

Apr 5, 2011

I am using kernel 2.6.32.21, and my hard disk is West digital WD10EARS-00Y, 1TB. This disk is just for data, I made 2 partitions on it, each has half. And I have another small disk for system. I am using ext3.

this is my fdisk /dev/sdc
Device Boot Start End Blocks Id System
/dev/sdc1 1 60800 488375968 83 Linux
/dev/sdc2 60801 121601 488384032+ 83 Linux

[Code]....

I ran some dd to test the write throughput on /dev/sdc2. If I run it in /data2, I got around 70MB/s. If I create some directory, say /data2/dir/, and run dd again, I might get 60MB/s. Sometimes I still get 70MB/s, sometimes I get 60MB/s, differs for directories.

I wonder if this is because the allocation policy of file system, ext3, or this is from my hard drive?

View 7 Replies View Related

General :: Can't Write To A File

May 24, 2011

I'm writing a script/plugin for Nagios for testing a WebLogic server.. I redirect some output to a file, and then i read that file to get some data, but i can't seem to write to that file with my script :s... this is the most important code

[Code]...

* EDIT * When i execute this script through a local terminal (PuTTy), it works but when i execute it from Nagios, it doesn't work..

View 5 Replies View Related

General :: What Are Hooks And How To Write Them

Mar 29, 2011

what are hooks and how to write them

View 2 Replies View Related

General :: Write To System Log?

Apr 27, 2011

I'm using Ubuntu 10.0.4. I downloaded an old script for starting/shutting down a service I have, and evidently "initlog" doesn't exist anymore. What is the correct way to write to the boot (system?) log?

View 2 Replies View Related

General :: How To Write C Libs To Php

Mar 7, 2011

I need to use a lib developed by me in c in my php app but i don't now how. I will use it in Linux.

View 2 Replies View Related

General :: How To Write Grub On Another HD

Feb 5, 2010

I have XP on the boot HD, Ubuntu 8.04 on the other HD, and grub on the MBR of the Windows side. Then the Windows HD went bad and I need to get grub onto the other side so I can change the boot sequence to what was the second HD (the Linux one) and abandon the Windows side. Booting from a live CD is no problem, but I can't figure how to install grub onto the Linux side, which has been partitioned. I know where menu.lst is, and have backups of it as well.

Is this something that needs supergrub, or can a simple write to the proper place be done in a terminal window?

If switching the boot sequence is not enough (don't see why it shouldn't be) then I can also switch the jumper configurations on the two hard disks. But I don't think that should be necessary.

View 4 Replies View Related

General :: How To Write Over Current OS

Jun 11, 2010

I have an old Mac OS (Tiger) and the new OS are not backwards compatible with computers as old as mine. In the reading I've found they explain how to partition the hard drive, but this is not what I want. I only want to have the Linux OS.

View 14 Replies View Related

General :: Write An SPI Driver?

Sep 21, 2009

I am keen in understanding the Linux SPI Framework and how to write an SPI Driver.So could anyone kindly show me any good reference for understanding the Linux SPI Framework.

View 2 Replies View Related

General :: How To Write Own Shell

May 26, 2011

how to write own shell in linux?i want to know procedure of shell programming.

View 5 Replies View Related

General :: Best Way To Allow A User To Write To The /var/www Directory?

Mar 3, 2010

On my laptop for testing, I simply chown each subdir of /var/www to my myuser:www-data. But, now that I am setting up a public facing server, I'm wondering if this is the proper way to do so? If not, what is the best way to allow a non-root account to write to /var/www.

View 4 Replies View Related

General :: Can't Write To Raid On Fedora

Mar 17, 2010

I just did a fresh install of Fedora 11 and added Raid 1 following this tutorial: [URL]

Now I see the filesystem when I open 'Computer' in the GUI, and I open it and see 'lost+found', but i can't write to the drive. The option is simply greyed out. And when I view Properties on the drive and go to Permissions, it says 'The permissions of {driveid} could not be determined.'

View 1 Replies View Related

General :: Able To Write On Stdout But Not In A File

Aug 16, 2011

I want to keep a trace of the URL I visit, so I use a command line like this:

tcpdump -ien1 -v -X 'tcp port 80' | sed -nl
's/^.0x[0-9a-f]{4}:.{43}(.)$/1/p' |perl break.pl |perl -pe
's/(GET|POST).(.*?).HTTP/1....Host:.([a-zA-Z._0-9-]*)../"
BEGURL

[Code]....

I also tried redirecting stdout and stderr to /tmp/out, it's still empty. The file has write access. I have no idea what it can be. Is there anything else than stdout and stderr?

View 2 Replies View Related

General :: Write Device Driver For Pen?

Apr 6, 2010

If I were asked to write a linux device driver for a pen, How should I start?

View 4 Replies View Related

General :: Cannot Write To SD Card Anymore

Dec 24, 2008

I am using OpenSuSE 11.0
KDE 3.5.9
Konqueror

I was able to copy 227 images to a brand new 2GB memory card and I am only using 8% of the card and now I can't write to it anymore?

Code:
Filesystem Size Used Avail Use% Mounted on
df -h returns this : /dev/sdd1
1.9G 136M 1.8G 8% /media/disk-2

This isn't the first time this has happened either. Just the last couple times I didn't really care enough to pursue it. But now I am trying to load a card for my daughters digital photo frame and I can't because now all of a sudden I can no longer write to the drive? The exact error message I get is: "Could not write to /media/disk/image.jpg" and when I try to create a new folder, I get a disk full error message? How in the heck is this possible when I am only using 136MB of 2GB of capacity?

View 5 Replies View Related

General :: Figure Out How To Write An Awk Script

Jul 5, 2011

I am trying to figure out how to write an awk script(or something better if it exists) to read a text file that contains lines like below.

4517-s-1295546289-10:58:09-2011-01-20.wav | 19990 KiB | 2940.5 KiB/s | binary | 100%
4517-s-1303247233-15:07:13-2011-04-19.wav | 167 KiB | 2918.3 KiB/s | binary | 100%
4517-s-1301431748-14:49:08-2011-03-29.wav | 36220 KiB | 2589.3 KiB/s | binary | 100%
4517-s-1295974735-09:58:55-2011-01-25.wav | 20038 KiB | 2646.0 KiB/s | binary | 100%
4517-s-1295648478-15:21:18-2011-01-21.wav | 45561 KiB | 2154.1 KiB/s | binary | 100%
4517-s-1300384178-11:49:38-2011-03-17.wav | 6752 KiB | 2216.0 KiB/s | binary | 100%

I want to find lines that start with 4517-s and end with 100% and delete them from a directory.

View 14 Replies View Related

General :: Removal Of Write Protection On A USB?

Oct 5, 2010

I have couple of USB modules. They are full of unwanted Windows files.I want to remove everything and format it.The message is it is write protected. The command fdisk -l gives the following:

Disk /dev/sdc: 2008 MB, 2008416256 bytes
57 heads, 56 sectors/track, 1228 cylinders
Units = cylinders of 3192 * 512 = 1634304 bytes

[code]...

View 5 Replies View Related

General :: VIM Settings To Write More Efficiently

Jan 18, 2010

I really enjoy using VIM to write python, but I recently tried to use it to write some essays for school. Are there any configurations that I could change in order to make writing longer essays easier using VIM? For instance, a way to be able to just jump one line (on the computer screen) down when I press the K key instead of jumping to the next paragraph?

View 5 Replies View Related

General :: Cannot Write On Someone's Else /home Directory?

Sep 26, 2010

This might see a dump question but I will make it anyway .Here is the scenario:I have two users on my Linux Mint installation:

User A
User B

I want User A to be able to write on User B home directory, say /home/B.For this I have changed users's B home directory to look like this:ls -ld drwxrwxr-x 36 B music 4096 2010-09-26 10:31 /home/BI have created a "music" group and assigned to /home/B, so all users that are member of "music" are going to be able to write on User B home directory, right?The answer is No! Not here in my box Can you tell me why?Why users under group music can't write on /home/B if B directory is owned by group music and group music has write permissions?

View 5 Replies View Related

General :: Cannot Write Into Hard Disk

Mar 17, 2010

Well appears to be that i have two partitions..one of 300gb i did on windows time ago and one of 100gb where i place my DEBIAN LENNY 5.0, the problem is that i cannot write into it..only i can copy stuff from it.

View 13 Replies View Related

General :: Cannot Write Or Delete From SD Card

May 20, 2011

Code:
mount
/dev/sdd1 on /media/E0FD-1813 type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
cp 'Aankhon Aankhon Mein hum tum ho gaye deewane.mp3' /media/E0FD-1813/Music/sumeet/a
cp: cannot create regular file '/media/E0FD-1813/Music/sumeet/a/Aankhon Aankhon Mein hum tum ho gaye deewane.mp3': Read-only file system
The micro sd card mounts & works as fat32 in windows xp just fine.

View 14 Replies View Related

General :: Write A Script To Ftp To Windows?

Jun 27, 2011

I want to write a script to ftp to windows ( the script will run on linux ) to get data , if the default drive is c: , now I want to change to another drive eg. d: , what can i do ?

View 9 Replies View Related

General :: Write Special Characters In UTF-8?

May 25, 2011

I want to be able to enter special characters into OOWriter and gedit. Ubuntu supports UTF-8, and I've no idea how to use it.

View 1 Replies View Related

General :: How To Write A Script File

Apr 16, 2010

I want to write a shell script file for the below subject

subject / situation : i have many users say user1, user2, user3, user4 and so on... within my /home dir

Within a user dir say.. /home/user1 i have many unwanted files. these unwanted files start with the name core for eg. core2324, core9789, core 9079 etc.. i need to delete them.

I want to write an automated script for this, which can do the same. How to write a script which can delte these unwanted core files which exist in all user dirs.

View 12 Replies View Related

General :: How To Write Non Recursive Makefile

Dec 14, 2010

I want to write simple non recursive makefile, but I am not getting syntax of it. Please give me example with simple description. I had read docs, html's but I am not getting how that works please give simple example. consider I have following directory structure.

[Code]...

View 1 Replies View Related







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