10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello, sorry to bother anyone reading this
I have an assignment with a question that reads:
Your current directory is stenton. Create empty files called f1, f2, and f12 (in that order), within stenton
So my first thought was to enter: touch f1 f2 f12
but that does not work, does anyone... (1 Reply)
Discussion started by: eleuin
2. Shell Programming and Scripting
I want to use case statement to find the range of missing sequence in my directory which it has some few ( dat & DAT ) files
my directory /home/arm/my_folder/20130428 contains :
f02_201304280002.dat... (2 Replies)
Discussion started by: arm
3. Shell Programming and Scripting
I have a file like this
ID 3BP5L_HUMAN Reviewed; 393 AA.
AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3;
DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot.
DT 05-JUL-2004, sequence version 1.
DT 05-SEP-2012, entry version 71.
FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
4. Shell Programming and Scripting
Thanks in Advance
I wrote the following code
echo "version is 1.1"
for i in "subscriber promplan mapping dedicatedaccount faflistSub faflistAcc accumulator pam_account"
... (5 Replies)
Discussion started by: aealexanderraj
5. UNIX for Dummies Questions & Answers
I'm trying to make this code below to work but I can't find the way to do the following: I want to make the script to touch only 10% of the total amount of files counted inside the given directory instead of all like it is now.
I would greatly appreciate it if someone can give me a direction on... (9 Replies)
Discussion started by: regraphix
6. Shell Programming and Scripting
For example, if I have 6 files, respectively named as:
How to "ls" all files in sequence of two ways?
1) The first way is according to the sequence of the natural number.
Say, the same sequence as shown as they are given.
2) The second way is default... (2 Replies)
Discussion started by: jiapei100
7. UNIX for Dummies Questions & Answers
I have a folder with many subdirectories and i need to set the modified date to today for everything in it. Please help, thanks!
I tried something i found online, find . -print0 | xargs -r0 touch
but I got the error: xargs: illegal option -- r (5 Replies)
Discussion started by: glev2005
8. Shell Programming and Scripting
Please help me on this.
Suppose i have the following directory structure.
each of the directories data,data/eng,data/med,data/bsc holds files with date extension like
b.20081230 and so on
I need a script to loop... (9 Replies)
Discussion started by: sussane
9. UNIX for Dummies Questions & Answers
I have a bunch of files below in some directory /home/tmp:
And I want to rename them with sequence as their extension (in the format 00# see below):
I need some help with this and below is a basic code structure to get... (3 Replies)
Discussion started by: ChicagoBlues
10. Shell Programming and Scripting
Please can you help me with this ?
I have a requirement to compress the files older than a sequence number.
Say the directory has the following files
I would like to compress all files based on a number i supply. IE. if i... (10 Replies)
Discussion started by: kamathg