Guys,
can you help me in doing cut first 21 and 32-35 characters from file.
I tried with cut -c to cut first 21 characters ,It is succeeded.
But i need both first 21 and 32-35. (1 Reply)
Hi Gurus,
I am trying to execute the below command. However the output shows the value + path of the folder where the command is being executed. But I am only interested in the value but not the path.
du -hs /aps/inf/SeLogs
when I execute the above command, output is
32G... (5 Replies)
Hello, can someone help me how to find a word and 2 lines after it and then send the output to another file.
For example, here is myfile1.txt. I want to search for "Error" and 2 lines below it and send it to myfile2.txt
I tried with grep -A but it's not supported on my system.
I tried with awk,... (4 Replies)
i have following fixed width text(also has a delimiter)
id;name;age;comments1;comments2;title;date
to get output as
id;name;age;;;title;date (remove comments but keep the delimiter in between)
i use cut -c1-12,22,32-
suppose if i want to insert another ; somewhere like ... (3 Replies)
Hello All
I have a file like this
abc.tpt.ctl
bdc.tpt.ctl
cdw.tpt.ctl
I have looped every line using the for Loop, now I want to take each line and cut the .tpt.ctl part of it and store it in a variable and use the variable in same loop.
The part I am stuck at is how do I cut the last... (9 Replies)
Trying to match $2 in original_targets with $2 of new_targets . If the two numbers match exactly then a match.txt file is outputted using the information in the new_targets in the beginning 4 fields $1, $2, $3, $4 and value of $4 in the original_targets . If there is "No Match" then a no... (2 Replies)
The below bash connects to a site, downloads a file, searches that file based of user input - could be multiple (all that seems to work). What I am not able to figure out is how to display on the screen match found or no match found" and write a file to a directory (C:\Users\cmccabe\Desktop\wget)... (4 Replies)
I am trying to create a cronjob that will run on startup that will look at a list.txt file to see if there is a later version of a database using database.txt as the source. The matching lines are written to output.
$1 in database.txt will be in list.txt as a partial match. $2 of database.txt... (2 Replies)
Hi,
i have 2 files , the data i need to match is in masterfile and i need to pull out column 3 from master if column 1 and 2 match and output entire row to new file
I have tried with join and awk and i keep getting blank outputs or same file
is there an easier way than what i am... (4 Replies)
Discussion started by: axis88
4 Replies
LEARN ABOUT OPENSOLARIS
bbc_beep
bbc_beep(7D) Devices bbc_beep(7D)NAME
bbc_beep - Platform-dependent Beep driver for BBC-based hardware.
SYNOPSIS
beep@unit-address
DESCRIPTION
The bbc_beep driver generates beeps on platforms (including Sun Blade 1000) that use BBC-based registers and USB keyboards. When the KIOC-
CMD ioctl is issued to the USB keyboard module (see usbkbm(7M)) with command KBD_CMD_BELL/KBD_CMD_NOBELL, usbkbm(7M) passes the request to
the bbc_beep driver to turn the beep on and off, respectively.
FILES
/platform/sun4u/kernel/drv/sparcv9/bbc_beep
64-bit ELF kernel driver
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |BBC-based SPARC |
+-----------------------------+-----------------------------+
|Availability |SUNWcarx.u |
+-----------------------------+-----------------------------+
SEE ALSO kbd(1), attributes(5), grbeep(7d), kb(7M), usbkbm(7M)
Writing Device Drivers
DIAGNOSTICS
None
SunOS 5.11 18 Dec 2001 bbc_beep(7D)