04-15-2008
strip command
I have created one binary with the debug option debug.out and another without it is production.out. Now, i use stripe on the debug.out.
Now, both binary will be same? or have any differences.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can someone let me know how do I strip out any non-alphanumeric character in string tomake it alphanumeric?
i.e
abc def ghi ->abcdefghi
abc-def-ghi ->abcdefghi
abc#def-ghi->abcdefghi
Thanks in advance (3 Replies)
Discussion started by: braindrain
3 Replies
2. Shell Programming and Scripting
I have a file that looks like this:
/home/fred/opt/bin
/opt/usr/bin
/usr/sbin/var/opt
I need a way to chop of everything after the last occurance of the / sign including the /. So the file above will now look like this below.
/home/fred/opt
/opt/usr
/usr/sbin/var
I tried using... (6 Replies)
Discussion started by: x96riley3
6 Replies
3. Shell Programming and Scripting
Hey guys..
Can experts help me in achieving my purpose..
I have a file which contains email address of some 100 to 1000 domains, I need only the domain names..
Eg: abc@yahoo.com
hd@gamil.com
ed@hotmail.com
The output should contain only
Yahoo.com
... (5 Replies)
Discussion started by: achararun
5 Replies
4. Programming
I am new in Unix. I go through the man strip. But did not understand that, why when we have -G (debug and release ) option in the compiler, than using strip command to strip the debug information from the objects. i want to binary for teh production i will compile it without debug option. What the... (4 Replies)
Discussion started by: Saurabh78
4 Replies
5. Shell Programming and Scripting
I have a list of servers that I need my script to ping however this list also has the env they belong too such as SIT, PRD, warehouse and so on.
The break character for each section is :
A value in my list would look like this...
brutus.grhq.xxx.com:warehouse
Where brutus.grhq.gfs.com is... (13 Replies)
Discussion started by: LRoberts
13 Replies
6. Shell Programming and Scripting
Hi... can anyone please tell how do i strip off the leading filename from the wc -l command....
when i fire command
wc -l new1
... its giving output as
14 new1
i want the output as just '14'...
i need to use this value in the calculations in the later part of the script..... (2 Replies)
Discussion started by: swap21783
2 Replies
7. Shell Programming and Scripting
I want to strip first few characters from each record until a proper datesamp is found.
Request for getNextPage.................06/29/12 07:49:30 VVUKOVIC@67.208.166.131{7A805FEF76A62FCBB23EA78B5380EF95.tomcat1}TP-Processor14 LogExchUsage: ERROR:: isprof=false : exch=NSDQ
output should be... (2 Replies)
Discussion started by: ratheeshjulk
2 Replies
8. Shell Programming and Scripting
What's the command syntax for stripping out the tar.gz file extension in a bash command line (not script file). Thanks!
prompt/> ls *.tar.gz | <what comes here?> (3 Replies)
Discussion started by: ZillaG
3 Replies
9. Shell Programming and Scripting
Hello,
I have a Comma separated input file with one of the sample records as below:
-9223372036854477528,"834","834003325515BXNI00101012013C","5","PLAN_VALUE","PPO, General
Cable","C",20130101,99991231,"A","2012-12-25-13.58.14.434000","ZPL2 ","2012-12-25-13.58.14.434000","ZPL2 ... (4 Replies)
Discussion started by: Praveenkulkarni
4 Replies
LEARN ABOUT POSIX
systemd-debug-generator
SYSTEMD-DEBUG-GENERATOR(8) systemd-debug-generator SYSTEMD-DEBUG-GENERATOR(8)
NAME
systemd-debug-generator - Generator for enabling a runtime debug shell and masking specific units at boot
SYNOPSIS
/lib/systemd/system-generators/systemd-debug-generator
DESCRIPTION
systemd-debug-generator is a generator that reads the kernel command line and understands three options:
If the systemd.mask= option is specified and followed by a unit name, this unit is masked for the runtime, similar to the effect of
systemctl(1)'s mask command. This is useful to boot with certain units removed from the initial boot transaction for debugging system
startup. May be specified more than once.
If the systemd.wants= option is specified and followed by a unit name, a start job for this unit is added to the initial transaction. This
is useful to start one or more additional units at boot. May be specified more than once.
If the systemd.debug_shell option is specified, the debug shell service "debug-shell.service" is pulled into the boot transaction. It will
spawn a debug shell on tty9 during early system startup. Note that the shell may also be turned on persistently by enabling it with
systemctl(1)'s enable command.
systemd-debug-generator implements systemd.generator(7).
SEE ALSO
systemd(1), systemctl(1), kernel-command-line(7)
systemd 237 SYSTEMD-DEBUG-GENERATOR(8)