10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Gurus,
I have some weird issue. when using
ls -l
the result shows different time format:
-rw-r--r-- 1 abc gourp1 3032605576 Jun 14 2013 abc
-rw-rw-r-- 1 abc gourp1 1689948832 Aug 10 06:22 abc
one display 2013 which is year; another one displays 06:22 which is time.
... (4 Replies)
Discussion started by: ken6503
4 Replies
2. Shell Programming and Scripting
Dear Gurus,
I'm in a strange situation, hence need some kind of advice or possible syntax to carry on.
let's say current time/date is 2013-12-18, 15:58:15
I got a file something like this, which keep getting updated with respect to time.
2013-12-18,... (4 Replies)
Discussion started by: manas_ranjan
4 Replies
3. Shell Programming and Scripting
Hi All,
Would like to ask on how to refrain the message file not exists from display out.
if ; then
When it execute, the OS will throw the error file does not exists
ls: 0653-341 The file COL_*/*.CTL does not exist.
Thanks. (3 Replies)
Discussion started by: ckwan
3 Replies
4. Shell Programming and Scripting
Hi all,
How to:
Run a bash script, display on the screen and save all information in a file including error information.
For example:
I have a bash script called test.sh
now I want to run the test.sh and display the output on the screen and save the output including error info to a file.
... (1 Reply)
Discussion started by: Damon sine
1 Replies
5. Shell Programming and Scripting
hiii,
i have to write a shell script like this----
i have a huge log file name abc.log .i have to search for a pattern name "pattern",it may occur 1000 times in the log file,every time it finds the pattern it should display the 10 lines above the pattern.
I appericiate your help. (30 Replies)
Discussion started by: namishtiwari
30 Replies
6. Shell Programming and Scripting
Friends
I have to redirect STDERR messages both to screen and also capture the same in a file.
2 > &1 | tee file works but it also displays the non error messages to file, while i only need error messages.
Can anyone help?? (10 Replies)
Discussion started by: vikashtulsiyan
10 Replies
7. Shell Programming and Scripting
Hello All,
I have a file that is formatted like this
1234556
1234567
1234588
1123888
1999999
1010101
1919191
1919191....
for a total of 26000 + lines
how do I get a script to read lets say 50 lines at a time
and display the output to the screen in column format around 5 or 6... (2 Replies)
Discussion started by: zilla30066
2 Replies
8. What is on Your Mind?
Hi,
I am going to buy a new TV set, but I am not sure what to buy.. I would like to have a Flat Screen, around 42" (~106cm), but i am a bit confused... Reading the technical papers, plasma displays seems to better, but talking with friends and colleagues, they would prefer LCDs...
Plasma... (2 Replies)
Discussion started by: pressy
2 Replies
9. Shell Programming and Scripting
Below is a part of the script that I wrote when checking whether a file exist in the Internal Disk or not. If a file doesn't exist, how do you get rid of the error message "file or directory does not exist" to show up on screen? Instead, I wanted only the warning message "FILE DOES NOT EXIST IN... (5 Replies)
Discussion started by: ilak1008
5 Replies
10. Shell Programming and Scripting
hi can some body please help me...i'm been sitting here trying to figure how to do this..but still don't understand. Like each type of *.src (if any) in the given directory will be displayed on the screen one page at a time....
can someone explain how to do this..plz (1 Reply)
Discussion started by: zip_zip
1 Replies