9 More Discussions You Might Find Interesting
1. What is on Your Mind?
Hi guys,
What do you think about these certifications? (18 Replies)
Discussion started by: Luca.Francesca
18 Replies
2. Shell Programming and Scripting
i have a file that's about 2GB, i have to get the total number of lines in this file every 10 minutes.
the interval is not an issue. i just need the proper, most efficient way to do this.
any ideas?
i got the following from another thread on this site, but:
awk 'int(100*rand())%5<1'... (12 Replies)
Discussion started by: SkySmart
12 Replies
3. Ubuntu
I am planning to dual boot Windows XP and Ubuntu 9.04, I have already burned Ubuntu into a CD and have also downloaded the ISO. But when I go to My Computer to start the installation, a different icon appears. And when I open it with ISO Buster, it opens up separately. I'm confused on what to... (5 Replies)
Discussion started by: Anna Hussie
5 Replies
4. Shell Programming and Scripting
i have a one column txt file, which has a large amount of data which look like this
a
11
3
b
45
77
r
7
9
blah
blah
blah
what i am trying to do here is for every 3 lines, i want to move the 2nd and 3rd line to the first line, so it will look like this
a 11 3
b 45 77
r 7 9 (8 Replies)
Discussion started by: fedora
8 Replies
5. UNIX for Dummies Questions & Answers
I've been a LAMP developer for years and am considering switching gears toward system security and virtualization - I know they are quite different goals.
What is the fastest way to get to that goal? I am going through Linux+ CBTs now which will form a basis from which to grow. After that,... (1 Reply)
Discussion started by: webdevguy
1 Replies
6. Shell Programming and Scripting
Hi
I have some files that contain be anything up to 100k lines - eg. file100k
I have another file called file5k and I need to produce filec which will contain everything in file100k minus what matches in file 5k..
ie.
File100k contains
1FP
2FP
3FP
File5k contains
2FP
I would... (2 Replies)
Discussion started by: frustrated1
2 Replies
7. UNIX for Advanced & Expert Users
Hi,
I want to check whether a file of the format myfile_YYYYMMDD_HHMMSS.txt exists in a particular directory. Here YYYYMMDD_HHMMSS is the time stamp, so it will be numbers always .
What is the best method to do this
I did it like this :
ls myfile_*_*.txt
but it will list files... (1 Reply)
Discussion started by: shihabvk
1 Replies
8. Shell Programming and Scripting
I have this in my script:
DEBUG_DIR=/log/rotate_output
DEBUGLOG=${DEBUG_DIR}/rotate.${TIMESTAMP}
SERVER_FILE_LIST="\
wasint0206 /logs/squid_backup
wasint0201 /logs/squid_backup"
/usr/bin/echo "${SERVER_FILE_LIST}" | while read SERVER DIRECTORY
do
cd /log/squid_logs/${SERVER}... (2 Replies)
Discussion started by: LordJezo
2 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I am in need of a easy to read and easy to understand, Unix scripting book.
Can anyone make any recommendations ?
thanks in advance
simon2000 (2 Replies)
Discussion started by: simon2000
2 Replies