General :: When Type "crontab -e" To Edit The File, It Is Not Opening In The Editor & Showing Output As "285"?

Aug 8, 2011

when I type "crontab -e" to edit the file, it is not opening in the editor & showing output as "285". I just wanted to edit crontab, So could anybody please tell me which is the real file of crontab, so I can manually edit that file using vi editor or nano. Or if that default editor is corrupted when I type "crontab -e", how can I change default editor before using "crontab -e" command. I will be waiting for your kind reply

View 2 Replies


ADVERTISEMENT

General :: Cron / Crontab - Do Not Edit This File

Mar 19, 2011

I am trying to have the files from /user/directory copy every hour to /backup/user/directory. It would seem that cron or crontab is what I need to use. Looking at previous posts and other documentation only shows how much I don't know. When I type crontab -e I get a blank file I can type into, seemingly using vi as the editor. I have no problem with that but when I type cron -l, I get my text after a message about "Do Not Edit this File". What I am reading just makes no sense, I am not understanding even the most fundamental aspects of cron or crontab. Where I can get the most basic of basic instructions to try to understand this function?

View 4 Replies View Related

General :: E-Mailing Whole Output Of A File With Crontab

May 3, 2011

I have this code that is 'bashed' regularly with crontab and basically it will send me an E-Mail of most of the output but it misses out some of it!

Here is the crontab code to automatically run the script:

Code:

So that sends me an E-mail with most of the output of the following code:

Code:

It sends me everything up to echo "*******" "Begin compressing and transferring files" "*******" but it wont output the tar bit.. so it should give me a list of files that have been tarred.

View 1 Replies View Related

General :: Disk Based Text Editor To Edit File Larger Than Memory?

Aug 2, 2010

I am using Ubuntu and looking for a good editor to edit a file that is > 4GB. I just need to put content at the end and beginning of the file. I suppose I could use something like

cat "text to add" >> huge_file

To append to the file. Is that the route to go? What about prepending? In general, what is the best route if I wanted to edit somewhere in the middle?

I've tried VIM and it fails miserably. I assume emacs and nano would be even worse. What else is there? I assume to accomplish what I am looking for, the editor would have to be specifically designed for this by not keeping the entirety of the file's contents in memory.

View 5 Replies View Related

General :: Error Opening Terminal - Edit Sudoers File By Typing Visudo

Nov 13, 2010

Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this
error: Error opening terminal: vanilla How can i solve this.

View 1 Replies View Related

General :: Crontab Not Working \ Edited Crontab File Using Crontab -e?

Apr 27, 2010

I am using Linux 64 bit Redhat Linux. I am trying to setup simple crontab as follow...1. Edited crontab file using crontab -e2. Listed the file once to verify it using crontab -l. This will display as.. 18 5 * * 2-3 ksh $HOME/testScript.sh > $HOME/testscript.out3. Logged in a root and restarted cron deamon using "/etc/init.d/crond restart"As per my understanding now my testScript should start running at 5:18 am Thuesday

View 3 Replies View Related

General :: Identify File System Type From The Output Of Fdisk Command?

Nov 16, 2010

The output of my fdisk command is as follows :-zodiac@gml-admin:~$ sudo fdisk -l[sudo] password for zodiac: Disk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63sectors/track, 19457 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe30ce30c

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 4752 22437838 f W95 Ext'd (LBA)

[code]...

View 2 Replies View Related

Ubuntu :: Movie Editor For File Type .ogv?

Mar 23, 2010

do you know of a movie editor for the file type .ogv?

View 1 Replies View Related

Red Hat / Fedora :: Magic Set Editor - No File Type Associated

May 25, 2009

I am having trouble getting a certain program to work. It's called Magic Set Editor and it has a linux version. It seems to install fine, but when I press the link to run the program it always says there is no file type associated with this program. Here is the site to download it: [URL]. I've tried the full and reduced versions, and I tried building it from source, which I have no idea how to do. I am using Fedora 10. Also, I've gone to their linux guy and he tried to help, but has never used Fedora, and so nothing he said worked.

View 5 Replies View Related

Ubuntu Servers :: Use Vi Editor To Edit The Smb.conf File ?

Jul 28, 2010

Trying to get this server to work and abandoned trying to do it with Xubuntu last night and installed Ubuntu server. But now I'm stuck on Samba again as I decided to use the vi editor to edit the smb.conf file and now I can't get out of it.

View 4 Replies View Related

General :: How To Edit The Job Using Crontab

Jun 1, 2010

I setup a cron job to trigger a script that I wrote every morning at 12:00 AM, but it does not seem to be working.

This is how I edit the job using crontab -e

Why it isn't triggering at 12:00 am every night. If I run the script manually it works just fine so I know is not the script causing troubles.

View 7 Replies View Related

Ubuntu :: Edit Mime Types To Remove A File Type Association?

Oct 30, 2010

I installed a trial copy of Anquet Map V06 under Wine then decided to remove it. Afterwards I could find many remnants associated with the Anquet program which I've deleted. Except what remains is an association between my .gpx files with Anquet and that includes and any new gpx file I download. My interpretation is that during the install process an association has been created with the gpx file type and the Anquet map program. This is what I want to stop. If I download a .gpx file and look at it's properties I see- Type: GPX File -Anquet Mapsv06 (application/x-wine-extension-gpx) I found this file and it's contents-

/.local/share/mime/application/x-wine-extension-gpx.xml
<mime-type type="application/x-wine-extension-gpx">

<!--

[code]....

Running "sudo update-mime-database /usr/share/mime" and rebooting didn't remove the association. How can I stop the Anquet name making as association with my gpx files?

View 9 Replies View Related

General :: Opening Files In Text Editor From The Terminal

Mar 7, 2010

Using ubuntu 9.10

If I'm in a terminal window, and I open a file by typing eg :

It opens as a blank document... I know it has text in it though!

I've tried with other files and also with nano so it's not just a problem with a particular file.

How do I view the current contents of the file so I can then edit it?

View 4 Replies View Related

General :: No Output From Top Command Run By Crontab?

May 17, 2011

I write a little script that run top command and clear the output leaving only cpu ram and swap values. If i run the script manually everityng works fine but when i schedule the cript to run every 5 minutes from /etc/crontab all run fine but the output of the top command doesnt appear in the log :

This is the cript :

#!/bin/sh
echo "#############################" >> /var/log/performance.log
echo "" >> /var/log/performance.log
/bin/date >> /var/log/performance.log

[code]...

View 6 Replies View Related

Fedora :: System Monitor Not Opening / Thunder Bird Opening But Not Showing Any Folder Including Inbox?

Nov 20, 2010

i am using Fedora 14. Once system get hanged during opening a video file so I had to restart the system by pressing restart button. But after restarting there are few problems appearing like system monitor not opening and Thunder bird opening but not showing any folder including inbox.

---------- Post added at 04:54 AM GMT ---------- Previous post was at 04:42 AM GMT ----------

Looks like SElinux has stopped working

View 3 Replies View Related

General :: Bash Shell Syntax For Opening A Text Editor?

Apr 28, 2011

I'm trying to be able to Open a text editor without needing an existing file.This is my code:

case $ans in
"Show Today") echo "$(date)";;
"Show Calendar") cal;;

[code]...

View 14 Replies View Related

General :: Text Editing Remote Edit With Local Editor

May 26, 2010

I have a server I can ssh into, and I am also running Ubuntu. How do I edit this remote file using any program I have installed on my local Ubuntu, without copying it to local, editing it, and copying it back?

View 4 Replies View Related

General :: Installing Arch - Warning: Do Not Edit /etc/sudoers Directly With An Editor

Sep 7, 2010

Warning: Do not edit /etc/sudoers directly with an editor; Errors in syntax can cause annoyances (like rendering the root account unusable). You must use the visudo command to edit /etc/sudoers. In the previous section we added your user to the "wheel" group. To give users in the wheel group full root privileges when they precede a command with "sudo", uncomment the following line:

%wheelALL=(ALL) ALL

so i signed in as root and typed in visudo now i alreayd made the changes but how do i exit and save super+x doesnt seem to do it for me since im not using nano and not supposed to cause it causes errors

View 3 Replies View Related

General :: Capturing Output Of Command In Vim Editor?

Sep 28, 2010

I have a file which contains a table

row1 ✔ no ✔ no
row2 no ✔ ✔ no
... so on

I want to prefix the number of ✔ to corresponding row If I use the command :.s/✔//gn I get output written like '2 matches on 1 line' How can I extract the '2 matches' in above case ?

View 11 Replies View Related

General :: Getting Content-type/Mime Type Of The File Using Shellscript

May 24, 2011

I am copying the file form one directory to another directory using shellscript.

Here i want to get the Mimetype/Content-type of the file.

How to i can get the MimeType.

View 9 Replies View Related

General :: Ps -A In Script Not Showing Full Output?

Feb 25, 2010

i have a problem with ps, and pgrep when used in a script. with the -A option it does not print all processes and pgrep on a known running process returns nothing. So I made a script with nothing but "ps -A" and the shebang and it does show all of them. Also, ps -A on the command line is showing all processes. I am running this script as root and it is owned by root.edit: I have ps -A in a function called in a case and if I put ps -A outside the function and case it shows all. how is where it's at changing it's output

View 2 Replies View Related

General :: Prevent Hidden Folders Showing In Output?

Sep 27, 2009

ls -R recursively lists subdirectories encountered, is there a way to prevent hidden folders showing in the output?

View 2 Replies View Related

Ubuntu :: Edit File Inside It, Open It, Edit A File, Then Remake The Bin File?

Mar 3, 2011

I have a linux.img image for ubuntu.I want to edit file inside it, how can open it, edit a file, then remake the bin file?

View 7 Replies View Related

Fedora :: Opening Folder Triggers Appearance Editor?

Jan 18, 2011

When I click on a folder in "Places" the appearance editor starts up and says that for example "Home Folder" or "Documents" does not appear to be a valid theme. XDG-open has the same results. Folders on the desktop open fine. I am at a loss here, I can't figure out what I did.

View 1 Replies View Related

Fedora :: Which Video Editor To Edit DVD

Jul 1, 2010

I recorded someone using a VCR (tape) camcorder-it was all I had available. I've now recorded/transfered the tape to DVD format, so it's now digital instead of analog. I want to edit the file and separate it into smaller files. What's a good program to use?

View 6 Replies View Related

Software :: Scheduling Backup In Crontab When Put This File In Crontab To Schedule The Backup Program It Wont Run?

Apr 9, 2011

I have installed an application manager(monitoring application) on my linux server. Now, i need to have backup schedule for my application. The application itself has executive file to backup database.But when i put this file in my crontab to schedule the backup program it wont run!50 09 * * * root /opt/ME/AppManager9/bin/BackupMysqlDB.sh

View 1 Replies View Related

Ubuntu :: Output Redirect With Crontab?

Sep 16, 2010

My Problem: The output redirection auf a script works if the script is called in the terminal but not when its called via crontab.

My Situation: I have 2 scripts:
~/backup1
Code:
echo backup a to c
rsync -a -v --progress --delete --exclude=.Trash-1000 /path/a/ /path/c/backup/
echo backup b to c

[Code]...

View 1 Replies View Related

Ubuntu Installation :: Localhost Not Opening Php Files Text Editor?

Jun 17, 2011

localhost not opening php files text editor

View 1 Replies View Related

Ubuntu :: Video Editor That Allow To Edit The Audio

Jan 3, 2011

Is there a video editor that also allows me to edit the audio. For example I have 2 videos and want to take the audio from one clip and add it to the other clip. I have tried Avidemux and Pitivi but these don't seem to have this ability.

View 9 Replies View Related

Debian :: Crontab Script Is Not Producing Any Output?

Jun 16, 2010

I have created a small script to compile a network weathermap using the cacti RRD files. The script reads the *.conf files and outputs an html and a png file. When I manually run the script it works normally.

I have edited my crontab with the crontab -e command to run this script every minute

The problem is script itself works when I manually call it but when it is run using crontab it doesn't do anything. The cron.log shows that the script IS being run every minute with no errors but the files (html and png) do not get written. What am I doing wrong and how do troubleshoot this?

View 1 Replies View Related







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