Search Results

Search: Posts Made By: Tiago
Forum: Red Hat 06-02-2015
6,361
Posted By Tiago
Hi Peasant, You're right. I've configured the...
Hi Peasant,
You're right. I've configured the /etc/cgconfig.conf and it works properly !

Tks all !
Forum: Red Hat 05-28-2015
6,361
Posted By Tiago
Cpu, memory - limit by user
Hi all !

I'm new in this site, so sorry if this question is into wrong place.

How can I limit cpu/core and memory usage by user?
System: RedHat Ent. Linux. 6.4

Tks,
2,500
Posted By Tiago
Hi Pravin27 ! Tks for your help, but sed...
Hi Pravin27 !

Tks for your help, but sed works fine to me and is not necessary a temp file using
sed -i '\;/'"$folder"'$;d' FILE.txt

Tks again !!!
2,500
Posted By Tiago
Hi MadeInGermany ! Worked 100% Tks !
Hi MadeInGermany !

Worked 100%

Tks !
2,500
Posted By Tiago
Hi neutronscott ! Not worked. See: cat...
Hi neutronscott !

Not worked. See:

cat FILE.txt
/folder1/folder2/folder3/ZZZ
/folder1/folder2/folder3/ZZZ_xy

folder='/ZZZ$'
sed -i ";$folder;d"
sed: -e expression #1, char 8:...
2,500
Posted By Tiago
sed - specific line
Hi all !
Please see if you can help me. I've used sed comand (with success) to remove content from the file when some word is found. Example:

Into to the file (FILE.txt) I've:...
Showing results 1 to 6 of 6

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