Ubuntu :: How To Save Cron Job In Nano Text Editor
Jan 17, 2010
I've looked at tutorials but can't find out how to save a cron job in nano text editor.
I open crontab with
Quote:
crontab -e
The cron job I want to save is
Quote:
wget --output-document=dwr_$(date +\%Y\%m\%d\%H\%M).gif http://imd.gov.in/section/dwr/img/caz_chn.gif
So now I've got this in nano text editor
Quote:
# m h dom mon dow command
wget --output-document=dwr_$(date +\%Y\%m\%d\%H\%M).gif http://imd.gov.in/section/dwr/img/caz_chn.gif
What exactly do I do now to save the cron job? File doesn't have a Save As option,;just Open Terminal, Open Tab and New Profile.
View 9 Replies
ADVERTISEMENT
Mar 27, 2011
I am trying to copy paste from a file in Nano to a text editor outside of nano on my machine (I am running windows using Nano through Putty) and I cannot figure out how to do it. I can select with mouse support enabled everything that I want to in Nano and I can cut it, but when I try to copy into my other text editor, it does not work.
View 4 Replies
View Related
Jul 23, 2009
i have been trying to find the nano or pine text editor for suse 10 64bit architecture but unable to find it and use it. i am not interested in vi editor. i have been using nano for fedora/RHEL for a long time. in finding rpm of nano/pico for suse 64bit architecture.
View 3 Replies
View Related
Jan 9, 2010
I try to name a file in the editor with this and nothing happens...(creating a conky_start.sh file under home directory and add it to start up)$cd && touch conky_start.sh && chmod +x conky_start.sh && gedit conky_start.shAnd add these lines to that file and save it :
#!/bin/bash
sleep 30 &&
exec conky -d -c ~/.conkyrc &
[code]....
View 2 Replies
View Related
May 18, 2010
I just switched from Windows to Linux. I've been using EditPlus for many years mainly because of it's ability to save locally, and then send the file via FTP, with easy keyboard shortcuts (ctrl-s to save, ctrl-alt-s to ftp).
I also need syntax highlighting and basic code editing features. Is there anything for Linux that can do this? I don't want to run EditPlus via Wine
I need to save locally and remotely simultaneously, or at least with a few keystrokes. I already know of plenty of ways to edit remote files.
View 3 Replies
View Related
Nov 4, 2009
what is the processing of nano editor in linux???
View 4 Replies
View Related
Aug 11, 2011
How do I disable sudo password for nano editor in my box ? I've already tried this following line in /etc/sudoers. But I haven't logged off or rebooted the box maybe this is why it did not work.
user ALL=(ALL) NOPASSWD: /usr/bin/nano
so for example when I try to edit file /etc/nginx/nginx.conf I run nano /etc/nginx/nfingx.conf
or this won't work because nginx.conf file belongs to root ?
View 2 Replies
View Related
Nov 14, 2015
debian 8 64bit
lxde
On a notebook mainboard, that has no display, a vga display is connected, I want to set mainboard display to turned off and vga display turned on and primary. Keeping the settings after restarting.
In lxde there is 'display settings'. If I set 'turn off laptop lcd and use external monitor only vga', it does not keep the setting, not even until the computer is turned off. It defaults to the setting with both displays turned on.
I got this link [URL] ....
I cannot find the location of the file.
Using nano editor on a file, can I set the vga display to get the only and primary display also after restarting the mainboard? What file and location?
Should I edit text to
xrandr --output VGA1 --mode 1024x768 --rate 60
xrandr --output VGA1 --primary
What do I write to turn off lvds display? Will the settings apply such that the debian login screen will show on the vga display when starting the mainboard?
View 7 Replies
View Related
Jun 26, 2010
I prefer to use the built-in editor that came with mc, which can be accessed with 'mc -e', however, I find when using midnight commander, if I type 'F4', then I'm presented with nano, which isn't what I want.
View 1 Replies
View Related
Jul 25, 2011
On windows I really only used Notepad++ as my text editor, it had two features that I loved.What I need to accomplish is what I would do with Notepad++ column editor.I could have like 100 lines, and place the cursor at a column, and goto edit>column editor, and I could insert an incrementing number. (I could also pad the incrementing number with 0s, this was GREAT for making batch files among other things.)So each line at that column had a number higher than the previous line.The other feature that I used sometimes was a search/replace with regex patterns.Does anyone know of an editor that has those features for linux? I am mostly after the column editor insert feature but if you know of one with both features that would rock.
View 1 Replies
View Related
Apr 5, 2010
How do you save the GNU nano 2.0.7 sources.list file after you have edited it?
View 5 Replies
View Related
Mar 21, 2010
I'm looking for a light-weight text editor for general-purpose composition that can preserve indentations on wrapped lines.
View 3 Replies
View Related
May 11, 2010
Is there a simple text editor for Linux that will let you color or highlight text on demand? Something like gedit or leafpad with color? I know I can probably do this with vi or emacs, but I'm looking for something simple, need not be feature rich.
View 4 Replies
View Related
Oct 6, 2010
I open a file in Ubuntu nano editor from the comand line and I want to copy all the contents of the file so I can paste it in an another application outside the shell. So far I can only copy using shift on the screen that is visible but not on all content.
View 4 Replies
View Related
Jan 24, 2010
I'm using GNOME terminal to SSH into a Debian server and would really like a way to paste multiple lines of text into configuration files (using the nano text editor if possible).
So far whatever I try dumps all the text onto a single line meaning I have to manually go through inserting line feeds which is tedious and can introduce errors.
Is there a way to paste text with line feeds intact? Rather than copying each line individually?
View 2 Replies
View Related
Jul 17, 2009
I was trying to install GTK+-2.8.20, so I installed it's necessary dependencies in this order:
pkg-config-0.23
glib-2.20.4
pango-1.24.4
jpeg library
tiff library
cairo
And I was about to install the last dependency: ATK (Accessability Toolkit).I opened the Archive Manager to extract the "atk-1.26.0.tar.gz" file (yes, I'm still switching from Windows so I'm fond of GUI), but I noticed all the text in that window was boxes, like the □ type box for every letter of text.So instead I thought it wouldn't be a big deal, because the terminal and regular windows weren't screwed up.I opened a text file in gedit (reference to commands in terminal, such as how to extract files via terminal), but yet again all of the text was □-like boxes.
View 2 Replies
View Related
Feb 13, 2011
How do I save a file edited with the VI editor? How do I get help information on this program?
View 1 Replies
View Related
Nov 10, 2010
i have done something while changing permission in vi editor. now when i open any file, i am not able to save and exit from it. when i type esc+shift:wq after opening a file. it says cant open file in write mode.
View 5 Replies
View Related
Mar 1, 2010
Is there anything like Visual C++ on linux? Or just a text editor and a seperator compiler?
What's the best C++ Compiler, and best Text Editor with C++ syntax highlighting.
View 9 Replies
View Related
May 3, 2010
I would like to use notepad++ for my text editor. Is there away to get this only my Ubuntu 10.04 Netbook?
View 5 Replies
View Related
Jul 20, 2010
You know how nano, vi, vim, etc... all use the entire screen when they are started? I am wondering if it is possible to get a text editor (or modifying an existing one) that doesn't take the entire terminal. The reason for this is that I to look at the output of a different command, then modify a different file while looking at the output. I want to be able to do this very fast, and it would be great if there was some way I could this all in one shell instead of creating two terminals and resizing or flipping between them. I realize the ideal solution would be a second monitor, but I can't get that right now.
View 6 Replies
View Related
Feb 25, 2011
I recently scanned in a whole bunch of hand written notes and compiled them in a few pdf documents. I was just wondering if there was some way to edit the underlying searchable data, so that I may be able to give keywords to pdf pages (i.e. I have a page of notes that is dealing with energy conservation, so I could under the image data write "energyconservation, problem 2.3") and jump to that page.
View 2 Replies
View Related
Aug 4, 2011
I would like to start using kate to write c++ programs but kate i am not sure how to go about actually running the code. Right now i just have a simple Hello World script. How would i now run this and see an output on the konsole?
View 2 Replies
View Related
Jan 14, 2011
I am really trying to find a cli/console text editor that can open/edit RTF text files? I know they them for Dindows, but what about Linux?
View 1 Replies
View Related
Jan 2, 2010
I wanted to know what is the best (non) GUI text editor for Linux.I know there are emcas, vi(m), pico, nano, ted, ed, and so others.But I can't learn working with all of them.Which one is the best for non professional for standard text editing and a little programming?
View 7 Replies
View Related
Jan 10, 2010
I'm an Ubuntu newbie and I'm looking for a text editor that has options for DOS-like or Unix-like end of line characters. I'm used to working with Notepad++ for windows that has an option for Unix/Mac/DOS end-of-line characters.It would be great if I could find a text editor for Ubuntu that has this built in or as a plugin instead of running the file through a converter.
View 3 Replies
View Related
Jun 4, 2010
I'm using Thunar, and I would like to know how to change the default text editor. It's set to emacs (due to a weird install), and I'd like it set to gedit globally.
View 3 Replies
View Related
Jul 3, 2010
I have just downloaded the Screem text editor source from their website.I tried to aptitude it first, but it wasn't available in the repos. So I thought maybe building from the script would be the solution. The problem is, this package doesn't build with the usual configure, make and make install commands.Well ./configure works. It checks the system and dependencies.
View 7 Replies
View Related
Jul 13, 2010
I'd like to set Vim as my default text editor (so it opens when I click a file). How can I do this?
View 9 Replies
View Related
Sep 23, 2010
text editor that has column mode capabilities like UltraEdit?
View 5 Replies
View Related