04-26-2007
Thank you for this.
There is still the slight potential of missing additions to the logfile between steps 2c and 3 - and its mainly due to how fast I can type "mv file file2" - in a panic, I probably spend more time hitting the backspace than actually typing commands correctly.
Its definitely a better catcher of entries than the solution I had in mind - so thanks very much!
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
Is there a way to ignore a command within /etc/profile only when su'ing as any particular user.
For instance....
As root, if I run "su - oracle -c program" it is running a string in my profile called "echo "^2;$(hostname)-(ABC) @ $(who am i)^G".
I don't want the above string to run if I... (9 Replies)
Discussion started by: lwif
9 Replies
3. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
4. Shell Programming and Scripting
Hi all.
I have a .txt file that I need to sort it
My file is like:
1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO)
2- ... (10 Replies)
Discussion started by: Behrouzx77
10 Replies
5. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
6. Shell Programming and Scripting
Hi,
There are 2 users (T886072 & T864764) that need to be provided full (rwx) access to a directory. I made the changes to the directory permissions using chmod and setfacl :
root@digidb2:# chmod 700 /u02/ftpfiles/MFRS16/discount_rates/
root@digidb2:# setfacl -s... (3 Replies)
Discussion started by: anaigini45
3 Replies
7. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT OSX
xbacklight
XBACKLIGHT(1) General Commands Manual XBACKLIGHT(1)
NAME
xbacklight - adjust backlight brightness using RandR extension
SYNOPSIS
xbacklight [-help] [-display display] [-get] [-set percent] [-inc percent] [-dec percent]
DESCRIPTION
Xbacklight is used to adjust the backlight brightness where supported. It finds all outputs on the X server supporting backlight brightness
control and changes them all in the same way.
-get Print out the current backlight brightness of each output with such a control. The brightness is represented as a percentage of the
maximum brightness supported.
-set percent
Sets each backlight brightness to the specified level.
-inc percent
Increases brightness by the specified amount.
-dec percent
Decreases brightness by the specified amount.
-help Print out a summary of the usage and exit.
-time milliseconds
Length of time to spend fading the backlight between old and new value. Default is 200.
-steps number
Number of steps to take while fading. Default is 20.
SEE ALSO
Xrandr(3)
AUTHORS
Keith Packard, Open Source Technology Center, Intel Corporation.
X Version 11 xbacklight 1.1.2 XBACKLIGHT(1)