Been using UNIX since the late 80s; Linux since the mid-90s; virtualization since the early 2000s and spent the past few years working in the cloud space.
Location
Alexandria, VA, USA
Education
B.S. Psychology from Pennsylvania State University
Note: I set awk's search to the slightly longer -kde- (from your grep's kde) for more-precise targeting.
Similarly, if you really need your tr capability, you can subsume its use by switching up awk's outputer to printf (and using appropriate formatting-specification).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You can collapse your two commands:
Into one command:
Note: I set
awk
's search to the slightly longer-kde-
(from yourgrep
'skde
) for more-precise targeting.Similarly, if you really need your
tr
capability, you can subsume its use by switching upawk
's outputer toprintf
(and using appropriate formatting-specification).