Sponsored Content
Full Discussion: help with a script (fedora)
Operating Systems Linux help with a script (fedora) Post 302544193 by itkamaraj on Wednesday 3rd of August 2011 06:57:33 AM
Old 08-03-2011
@sundar

Code:
 
-r                  Recursively copies entire directories.

here the lucifer is having the problem with the file which has the space in the name
 

9 More Discussions You Might Find Interesting

1. Linux

FEDORA HELP(please)

I RECENTLY LOADED FEDORA LINUX ALL 4CD/S(FULL INSTALL). but i am getting no sound,no proper help documentation.what should i do. Please help. (7 Replies)
Discussion started by: ameya_shaligram
7 Replies

2. UNIX for Dummies Questions & Answers

Fedora to be or not to be?

Hiya folks, I been browsing through the forums on information regarding Fedora. I know this is the version I want but what is holding me back now is whether my computer could run it easily? I'am asking this because alot of the forum posts and replies I have read, most of them ask for the... (2 Replies)
Discussion started by: Mr_Pinky
2 Replies

3. Linux

my c++ script in fedora

to all loving friends i have some scripts in c++, i need to compile and run in fc 2 pls how i can run my scrips from CUI, and from GUI ? can anybody help me (1 Reply)
Discussion started by: sadiquep
1 Replies

4. Ubuntu

Fedora 7

Hi all, Have installed Fedora 7 at home on an oldish Acer 3500. No sound and currently using what I think is a 15inch monitor (not entirely sure). Anyways, was curious to know what others "do" on their home setups. I've been more used to logging into work's HP-UX machines for the most part in... (3 Replies)
Discussion started by: Cameron
3 Replies

5. Linux

Dual Boot Win XP And Fedora with Fedora Installed First

Hi everyone, I hope this question goes here. Anyways, I have a unique situation where my friend's comp has Fedora installed and wants to add Win XP as a dual boot without formatting the drive. Is it possible to create a partition on the current hard drive and then install win xp? I couldn't find... (4 Replies)
Discussion started by: eltinator
4 Replies

6. Red Hat

fedora grub help, moving to tri boot (XP, ubuntu, fedora soemething)

I will shortly be adding a fedora flavor to my devel box. I currently have XP (installed first on an ssd), ubuntu 10.04 (installed second on the first partition of a platter drive), and I want to add either Cent or SL on the second partition of the platter drive. I will probably also want to... (0 Replies)
Discussion started by: LMHmedchem
0 Replies

7. Red Hat

Fedora startup script help

Can someone please tell me how to run a fedora startup script? I read these guides and tried to do what they said with no luck. Create a Startup Script Custom Startup Script | Open Source Club at Ohio State University This is what I put in my startup script. #!/bin/bash # chkconfig:... (6 Replies)
Discussion started by: cokedude
6 Replies

8. Linux

Fedora 14

Anyone know where I can obtain a reliable download of Fedora 14? Every one I have attempted to download charges a fee and a credit card. I have the fee but no credit card. Plus I don't want a prepaid card for just a one-time purchase. :wall: This is how I feel. LOL Any advice? Thank... (4 Replies)
Discussion started by: aeo0868
4 Replies

9. Shell Programming and Scripting

Bash on Fedora error on basic script

I am not able to execute bash script on Fedora. They were running on another environment. This is a sample script: #!/usr/bin/bash input="./data/heu/hout1" i=1 j=0 while IFS= read -r file1 do #Some code here done < "$input" #echo $j I get an error: bash: s.sh: command not... (3 Replies)
Discussion started by: ngabrani
3 Replies
SCRIPT(1)							   User Commands							 SCRIPT(1)

NAME
script -- make typescript of terminal session SYNOPSIS
script [-a] [-c command] [-e] [-f] [-q] [-t[=file]] [-V] [-h] [file] DESCRIPTION
script makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an interactive session as proof of an assignment, as the typescript file can be printed out later with lpr(1). If the argument file is given, script saves all dialogue in file. If no file name is given, the typescript is saved in the file typescript. Options: -a, --append Append the output to file or typescript, retaining the prior contents. -c, --command command Run the command rather than an interactive shell. This makes it easy for a script to capture the output of a program that behaves differently when its stdout is not a tty. -e, --return Return the exit code of the child process. Uses the same format as bash termination on signal termination exit code is 128+n. -f, --flush Flush output after each write. This is nice for telecooperation: one person does `mkfifo foo; script -f foo', and another can super- vise real-time what is being done using `cat foo'. --force Allow the default output destination, i.e. the typescript file, to be a hard or symbolic link. The command will follow a symbolic link. -q, --quiet Be quiet. -t, --timing[=file] Output timing data to standard error, or to file when given. This data contains two fields, separated by a space. The first field indicates how much time elapsed since the previous output. The second field indicates how many characters were output this time. This information can be used to replay typescripts with realistic typing and output delays. -V, --version Output version information and exit. -h, --help Output help and exit. The script ends when the forked shell exits (a control-D to exit the Bourne shell (sh(1)), and exit, logout or control-d (if ignoreeof is not set) for the C-shell, csh(1)). Certain interactive commands, such as vi(1), create garbage in the typescript file. Script works best with commands that do not manipulate the screen, the results are meant to emulate a hardcopy terminal. ENVIRONMENT
The following environment variable is utilized by script: SHELL If the variable SHELL exists, the shell forked by script will be that shell. If SHELL is not set, the Bourne shell is assumed. (Most shells set this variable automatically). SEE ALSO
csh(1) (for the history mechanism), scriptreplay(1). HISTORY
The script command appeared in 3.0BSD. BUGS
Script places everything in the log file, including linefeeds and backspaces. This is not what the naive user expects. AVAILABILITY
The script command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux February 2011 util-linux
All times are GMT -4. The time now is 10:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy