10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I've a folder in remote server and it has 50 files. I like to transfer these files by first 10 and next 10 files.
I'm using mget command to transfer the files. How to limit the file transfer limit to 10. instead of copying 50 files at a time.
Thanks
Janarthan (5 Replies)
Discussion started by: Janarthan
5 Replies
2. Shell Programming and Scripting
I am trying to find a way to move files into corresponding date files.
i=0
while read line
do
array="$line"
(( i++ ))
done < <(ls)
cd $(echo ${array})
echo ${array}}
pwd
#cd "$(array}"
] || mkdir 2015
cd "2015"
] || mkdir 02-February
] || mkdir 03-March
] || mkdir... (10 Replies)
Discussion started by: newbie2010
10 Replies
3. Debian
Hi,
The other day i installed a PHP based CMS (modx) on my shell account and noticed that i couldn't delete any of files/dirs it created after.
Also, i noticed that all that stuff is owned by username-www instead of username.
I tried chown, chmod and using a PHP script to do the same wti... (4 Replies)
Discussion started by: pentago
4 Replies
4. UNIX for Dummies Questions & Answers
hi guys
how can i limit number of files in a disk or partition ?
or how can i make a limit to inode number for a disk or partition ?
ext3 or ext4 file system (1 Reply)
Discussion started by: mhs
1 Replies
5. Shell Programming and Scripting
I have a list of pattern in a file, I want each of these pattern been searched from 4 files. I was wondering this can be done in SED / AWK.
say my 4 files to be searched are
> cat f1
abc/x(12) 1
abc/x 3
cde 2
zzz 3
fdf 4
> cat f2
fdf 4
cde 3
abc 2... (6 Replies)
Discussion started by: novice_man
6 Replies
6. Solaris
Is there a way that I can limit number of commands that one user can run during period of time. For example Max 10 commands per senconds.:) (3 Replies)
Discussion started by: winger0608
3 Replies
7. UNIX for Dummies Questions & Answers
Hi
Hi! I'm currently using AIX 5.2 and would like to know where can i find to see that there's a restriction on the number of login times a user can have. Example, I want give a 2 login per user but some one to give 3 login and some one have to give unlit login time (without logging off the... (2 Replies)
Discussion started by: herath
2 Replies
8. Shell Programming and Scripting
Hello all
Im doing search in jar files using this oneLiener :
find . -name "*.jar" -print -exec jar -tvf {} \; | grep -n \/someClassName.class
but I also will like to see the jar file names that the grep succeed the search
What I need to add to this command so it will give the file names? (2 Replies)
Discussion started by: umen
2 Replies
9. UNIX for Advanced & Expert Users
Everyone,
We are on a unix AIX 4.3 platform and our application is written as such that all configuration files must reside in a specific directory. Currently there are over 10,000 files in this directory (and growing at about 300 per month). My question is is there a physical limit to the... (2 Replies)
Discussion started by: hedrict
2 Replies
10. UNIX for Dummies Questions & Answers
I need to print to file , a listing of all files below a certain directory.
Example: I need to print to file a listing of all files below the etc dir (including the subdirectories) with their full path. Any ideas on how to do this with one command. Or is this something I need to do on all... (4 Replies)
Discussion started by: gforty
4 Replies