Sponsored Content
Full Discussion: Newbies problem
Top Forums UNIX for Dummies Questions & Answers Newbies problem Post 302259116 by lost on Monday 17th of November 2008 09:51:57 AM
Old 11-17-2008
Hey..
I've used the above to make this: #!/usr/bin/bash
args 2,5 $(<file.list)
and it works but I'll like the results separated into different files or back into the used files.
e.g. use fileA | args 2,5 > fileB or fileA and then do this to 50 files.
Is there an easy way?
Thanks!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Specially for unix newbies

Hi Everyone, I got a good news to unix newbies. If you want to try some unix command on your windows' desktop, I can recommend this program to u all. So you can practice unix command with your PC. It is something like using MS-DOS on desktop. Search "Cygwin 1.3.1" in www.download.com It... (2 Replies)
Discussion started by: clemeot
2 Replies

2. Tips and Tutorials

PERL & CPAN Intro for Newbies

So you want to learn a unix scripting language that you'll be able to use in any situation? Perl is your answer ! This is a little intro to installing CPAN modules. If you don't know what CPAN is, check out http://search.cpan.org/. Basicly, it is a massive archive of perl libraries that will... (0 Replies)
Discussion started by: obitus
0 Replies

3. UNIX for Dummies Questions & Answers

I am one of the newbies, please advise

I am new to UNIX and Linux. I have some experiences with Windows server. I am thinking to start with those OS (Unix/Linux) and more specifically with the OS for the server. however, i have no idea which one would i start first, unix or linux? Because i also dont know how they are different. ... (3 Replies)
Discussion started by: sanlen
3 Replies

4. UNIX for Dummies Questions & Answers

What kind of Linux for the newbies?

I am one of the newbies. I want to load linux on my notebook, however, i am not sure which linux is the most recommend for the newbies. Could you please advise? Thanks you very much for any advise you may give me. Best Regards, SANLEN (2 Replies)
Discussion started by: sanlen
2 Replies

5. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

6. Solaris

2 questions for newbies

Hi I'm totally new to solaris 5.9 Two questions. 1. What is the replacement for /proc/cpuinfo (isn't this part of POSIX). I heard it's psrinfo but it doesn't work. 2. I use ssh - v -X with X tunelling from linux onto a solaris server, but xclock failed. it says won't open display. $DISPLAY is... (6 Replies)
Discussion started by: grossgermany
6 Replies

7. UNIX for Dummies Questions & Answers

rsync tutorial for newbies

Hi. Learning rsync from the man pages can be daunting. I wrote this tutorial to make learning rsync easier: rsync tutorial (rsync2u) The rsync tutorial is for new rsync users. Three small backup examples thoroughly explain rsync --link-dest, --recursive, and --exlcude-from options. Enjoy. (2 Replies)
Discussion started by: wolfv
2 Replies

8. IP Networking

Problem with forwarding emails (SPF problem)

Hi, This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question. I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies

9. UNIX for Dummies Questions & Answers

sed Or Grep Problem OR Terminal Problem?

I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore. Here is what 's happening: * I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies
shells(4)							   File Formats 							 shells(4)

NAME
shells - shell database SYNOPSIS
/etc/shells DESCRIPTION
The shells file contains a list of the shells on the system. Applications use this file to determine whether a shell is valid. See getuser- shell(3C). For each shell a single line should be present, consisting of the shell's path, relative to root. A hash mark (#) indicates the beginning of a comment; subsequent characters up to the end of the line are not interpreted by the routines which search the file. Blank lines are also ignored. The following default shells are used by utilities: /bin/bash, /bin/csh, /bin/jsh, /bin/ksh, /bin/ksh93, /bin/pfcsh, /bin/pfksh, /bin/pfsh, /bin/sh, /bin/tcsh, /bin/zsh, /sbin/jsh, /sbin/sh, /usr/bin/bash, /usr/bin/csh, /usr/bin/jsh, /usr/bin/ksh, /usr/bin/ksh93, /usr/bin/pfcsh, /usr/bin/pfksh, /usr/bin/pfsh, and /usr/bin/sh, /usr/bin/tcsh, /usr/bin/zsh, and /usr/sfw/bin/zsh. /etc/shells overrides the default list. Invalid shells in /etc/shells could cause unexpected behavior, such as being unable to log in by way of ftp(1). FILES
/etc/shells list of shells on system SEE ALSO
vipw(1B), ftpd(1M), sendmail(1M), getusershell(3C), aliases(4) SunOS 5.11 20 Nov 2007 shells(4)
All times are GMT -4. The time now is 09:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy