Once I knew how to set up a unix file so that the num lock would automatically be on after booting up. How exactly is that done?
Unix has final control on the setting of the num lock from off or on to on at the end of the boot up process.
Any help will be appreciated, especially if detailed.
Oh... (0 Replies)
I have files coming to an input directory every few mins...eg
test_00012.txt
test_00013.txt
test_00014.txt
I need to write a script to monitor these and if a file is missing from the sequence I need my script to spot this so I can alert someone...
ie... if I got the following:... (1 Reply)
Hello Guyz
These days Iam doing pretty good scripting work that is all because of you fellas.Thank you so much.
As it goes ,here comes my next problem.Iam trying to implement automatic port number incrementing.
For ex:
demo()
{
echo "Enter for default port:
read port
... (5 Replies)
This is taken from perlop. I can't understand what's going on, please can someone explain this for me?
$hexdigit = (0 .. 9, 'a' .. 'f');
to get a hexadecimal digit (2 Replies)
Hello,
Not sure if this is the right place to post it but..
I have a requirement to set Caps lock and/or Num lock on and off via a Cron job.
Now I have working scripts that do the job, but as soon as X starts up the jobs no longer run (well they appear to, but Caps lock and Num lock do not... (0 Replies)
I have a textfile containing text similar to the following pattern:
STRING1
UNIQUE_STRING1
STRING2
STRING3
STRING4
STRING5
STRING1
UNIQUE_STRING2
STRING2
STRING3
STRING4
STRING5
STRING1
UNIQUE_STRING3
STRING2
STRING3 (6 Replies)
Hello,
I am a begginer on shell scripting and I need a simple advice.
I have the following script.
The output of DATE is gathered from Oracle and it will be 101115 (for todays date)
Therefore the DAY will be sed-ed , and it contains 15
#!/bin/sh
DATE=`${LIB}/dt_YYMMDD 0`
DAY=`echo $DATE| sed... (5 Replies)
Can anyone tell me what the max num of physical memery depends? It's the bit number of the data bus?
How about the max number of the virtual memory? (1 Reply)
Discussion started by: cateran
1 Replies
LEARN ABOUT DEBIAN
comm
COMM(1) User Commands COMM(1)NAME
comm - compare two sorted files line by line
SYNOPSIS
comm [OPTION]... FILE1 FILE2
DESCRIPTION
Compare sorted files FILE1 and FILE2 line by line.
With no options, produce three-column output. Column one contains lines unique to FILE1, column two contains lines unique to FILE2, and
column three contains lines common to both files.
-1 suppress column 1 (lines unique to FILE1)
-2 suppress column 2 (lines unique to FILE2)
-3 suppress column 3 (lines that appear in both files)
--check-order
check that the input is correctly sorted, even if all input lines are pairable
--nocheck-order
do not check that the input is correctly sorted
--output-delimiter=STR
separate columns with STR
--help display this help and exit
--version
output version information and exit
Note, comparisons honor the rules specified by `LC_COLLATE'.
EXAMPLES
comm -12 file1 file2
Print only lines present in both file1 and file2.
comm -3 file1 file2
Print lines in file1 not in file2, and vice versa.
AUTHOR
Written by Richard M. Stallman and David MacKenzie.
REPORTING BUGS
Report comm bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report comm translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO join(1), uniq(1)
The full documentation for comm is maintained as a Texinfo manual. If the info and comm programs are properly installed at your site, the
command
info coreutils 'comm invocation'
should give you access to the complete manual.
GNU coreutils 8.12.197-032bb September 2011 COMM(1)