Sponsored Content
Top Forums Shell Programming and Scripting How to Create files using Nano? Post 302569690 by JuankyKong on Tuesday 1st of November 2011 09:17:54 AM
Old 11-01-2011
My bad! Sorry yeah and thanks for the input ^^ what I'm looking to do is work in multiple codes at the same time I'm almost sure that there's a way to switch between them as if they were "tabs" while you are on nano is this correct ? thanks and I do appreciate all of your help
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

nano-2.0.6 HELP!!!!

Hi all, I have this problem. I am running suse linux 10.0 Enterprise. I was able to install nano-2.0.6 and as root I am able to use it. This is where my problem starts. When I exit root and try to use nano, I get this error message. nano: Command not found. but when I type... (3 Replies)
Discussion started by: goku3g
3 Replies

2. Linux

microwindow and nano-X

Dear all I have problem in installing microwindows. What I did 1.I have microwindows-0.90 in home/SHIVA 2.cd microwindows-0.90/src 3.cp configs config 4.make clean; make 5. make 6.now it is giving error :- winevent.c:18: error: static declaration of ‘abs' follows non-static declaration... (0 Replies)
Discussion started by: mishra_sk_in
0 Replies

3. UNIX for Dummies Questions & Answers

Create individual tgz files from a set of files

Hello I have a ton of files in a directory of the format app.log.2008-04-04 I'd like to run a command that would archive each of these files as app.log.2008-04-04.tgz I tried a few combinations of find with xargs etc but no luck. Thanks Amit (4 Replies)
Discussion started by: amitg
4 Replies

4. HP-UX

Nano installation for ON HP UX

How to isntall nano on HP UX? Thanks:eek: (1 Reply)
Discussion started by: ldaliosmane
1 Replies

5. UNIX for Dummies Questions & Answers

using nano x to design GUI

Hi, I am working on a project to develop an embedded device that can transfer files between two usb devices ( pen drives). We are using an NUC950A ARM9 microcontroller and we've put the Linux 2.1 kernel on the development board and it works. Can i use nano -x to design my own GUI so that i can run... (3 Replies)
Discussion started by: dilumcc
3 Replies

6. Shell Programming and Scripting

Need help with these scripts in nano...

So I am trying to write 3 different scripts using nano. Having some trouble with each. The first one is prompting for the person's information, and I would like to store that information in a new text file. I have most of it complete. The only problem I have here is that I do not know the code... (2 Replies)
Discussion started by: tburns517
2 Replies

7. Shell Programming and Scripting

How to create zip/gz/tar files for if the files are older than particular days in UNIX or Linux?

I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also? I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies

8. Shell Programming and Scripting

Create multiple zip files each containing 50 xml files.

Hi, Is there a direct command or need to write a shell script for following requirement? Everyday a folder is populated with approx 25k to 30k xml files. I need to create multiple zip files in the same folder each containing 50 xml files. The last zip file may or may not contain 50 xml files.... (6 Replies)
Discussion started by: Rakesh Thobula
6 Replies

9. Shell Programming and Scripting

How to create or convert to pdf files from csv files using shell script?

Hi, Can anyone help me how to convert a .csv file to a .pdf file using shell script Thanks (2 Replies)
Discussion started by: ssk250
2 Replies
TIME_NANOSLEEP(3)							 1							 TIME_NANOSLEEP(3)

time_nanosleep - Delay for a number of seconds and nanoseconds

SYNOPSIS
mixed time_nanosleep (int $seconds, int $nanoseconds) DESCRIPTION
Delays program execution for the given number of $seconds and $nanoseconds. PARAMETERS
o $seconds - Must be a non-negative integer. o $nanoseconds - Must be a non-negative integer less than 1 billion. RETURN VALUES
Returns TRUE on success or FALSE on failure. If the delay was interrupted by a signal, an associative array will be returned with the components: o seconds - number of seconds remaining in the delay o nanoseconds - number of nanoseconds remaining in the delay CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | This function is now available on Windows plat- | | | forms. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 time_nanosleep(3) example <?php // Careful! This won't work as expected if an array is returned if (time_nanosleep(0, 500000000)) { echo "Slept for half a second. "; } // This is better: if (time_nanosleep(0, 500000000) === true) { echo "Slept for half a second. "; } // And this is the best: $nano = time_nanosleep(2, 100000); if ($nano === true) { echo "Slept for 2 seconds, 100 microseconds. "; } elseif ($nano === false) { echo "Sleeping failed. "; } elseif (is_array($nano)) { $seconds = $nano['seconds']; $nanoseconds = $nano['nanoseconds']; echo "Interrupted by a signal. "; echo "Time remaining: $seconds seconds, $nanoseconds nanoseconds."; } ?> SEE ALSO
sleep(3), usleep(3), time_sleep_until(3), set_time_limit(3). PHP Documentation Group TIME_NANOSLEEP(3)
All times are GMT -4. The time now is 11:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy