Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Hijanoqu
662
Posted By Scott
Not sure I could explain it any simpler than the...
Not sure I could explain it any simpler than the man page on my system does:

If the mode is preceded by a dash (-), this primary evaluates to true if at least all of the bits in the mode are set...
2,701
Posted By Walter Misar
For some reason the MAIL variable seems to be...
For some reason the MAIL variable seems to be wrong. Are you using "su" instead of "su -" to change from root to the user? If not I would check the various profile/rc files that set those variables...
823
Posted By blackrageous
I think it's a file descriptor/handle, not sure...
I think it's a file descriptor/handle, not sure do...

ls -l /proc/1252/fd/3
13,855
Posted By RudiC
I'm afraid that [0-9]*[0-9] will match any...
I'm afraid that [0-9]*[0-9] will match any integer number, even longer than two digits. Try [0-9]?[0-9] instead. You may need to escape the quotation mark or use extended grep.
13,855
Posted By bakunin
I think you got offered a better solution here,...
I think you got offered a better solution here, but in case your curiosity is still aroused, this is how grep/cut can do it:

grep's task is to select all lines where UID is below 100. I have no...
13,855
Posted By Aia
awk -F: ' $3 <= 100 {print $1, $6}' /etc/passwd ...
awk -F: ' $3 <= 100 {print $1, $6}' /etc/passwd

---------- Post updated at 11:16 PM ---------- Previous update was at 11:00 PM ----------

while IFS=: read user shadow uid guid geco home sh; do...
7,219
Posted By Neo
The first question that comes to mind is "have...
The first question that comes to mind is "have you looked at your various system and error log files to see if there are any clues there?"

Or have you considered adding a simple logging statement...
Forum: Linux 09-10-2012
8,067
Posted By Tommyk
Do you have SELinux enforcing? ...
Do you have SELinux enforcing?


getenforce


If this is set to enforcing then passwd wont work even at single user mode.


#setenforce 0
#passwd


this will turn SELinux off and...
1,490
Posted By Scott
There are no duplicates. what is not the...
There are no duplicates.

what is not the same as what~.


[scott@kvm ~]$ touch what what~
[scott@kvm ~]$ ls -li what*
23655 -rw-rw-r--. 1 scott scott 0 Sep 6 17:51 what
23477 -rw-rw-r--. 1...
1,490
Posted By wisecracker
Example... If you edit and save "what" then...
Example...

If you edit and save "what" then the original copy of "what" will be automatically saved as "what~" which is a BACKUP of "what" before editing...

This gives you ONE chance of...
Showing results 1 to 10 of 10

 

Featured Tech Videos

All times are GMT -4. The time now is 04:44 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy