Search Results

Search: Posts Made By: albertogarcia
2,460
Posted By Scott
Everything up to the final / | is just a...
Everything up to the final /

| is just a separator, for convenience because your string has a / in it.

You could just as easily do

$ sed -n "$ s/.*\///p" file1
name v4or

$ sed -n "$...
2,533
Posted By leopold wenth
try fuser -u filename --there you see process...
try fuser -u filename --there you see process who uses that file
2,533
Posted By funksen
you can use "lsof" lsof | grep...
you can use "lsof"

lsof | grep "/usr/bin/gnome-session"

output should look like:


COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
gnome-ses 25425 ...
3,489
Posted By alister
Hi, alberto: sed's N command appends a...
Hi, alberto:

sed's N command appends a newline followed by the next line in the input to the line currently in the pattern space.

Regards,
Alister
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy