Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Hijanoqu
662
Posted By Hijanoqu
Thanks, the explanation in your manpage is...
Thanks, the explanation in your manpage is clearer than the one in mine.
12,574
Posted By Hijanoqu
You cannot add a Windows user via Cygwin. You...
You cannot add a Windows user via Cygwin. You will have to create the user in Windows, than add the user details to Cygwin by running mkpasswd -l > /etc/passwd .
The user group details can be added...
662
Posted By Hijanoqu
Strange result using find command.
I created a file with the permissions of 776.

When I ran the command find /root/Desktop -perm -644 -type f

The created file shows up as part of the results.

Doesn't -perm -mode mean that...
2,701
Posted By Hijanoqu
Wow thanks for the advice, it is spot on. I used...
Wow thanks for the advice, it is spot on. I used su instead of su - . I fogotten that it will affect the environment variables.:b:
2,701
Posted By Hijanoqu
Unable to access current user's mailbox.
In any non-root account, whenever I enter mail, it gives me:
/var/spool/mail/root: Permission deniedI am not logged in as root, why is mail accessing root's mailbox ?

I am unable to enter the...
Forum: Red Hat 02-01-2015
3,718
Posted By Hijanoqu
"rhgb quiet" controlling the display of commands in single user mode ?
Why does removing "rhgb quiet" from the kernel boot parameters control whether or not the commands I enter are displayed in single user mode ?

For instance, if I do not remove "rhgb quiet", when...
823
Posted By Hijanoqu
Oh yeah you are right, thanks a million :D
Oh yeah you are right, thanks a million :D
823
Posted By Hijanoqu
What does the 2nd number after the process id represent ? [ss command]
For instance, when I run ss -lptn | grep sshd , the output is as follows:

LISTEN 0 128 *:22 *:* users:(("sshd",1252,3))
1252 refers to the process id, but what does the 3...
13,855
Posted By Hijanoqu
Many thanks to bakunin who painstakingly crafted...
Many thanks to bakunin who painstakingly crafted a grep based answer. I improved my regex knowledge while trying to understand your answer haha.

Chees.
13,855
Posted By Hijanoqu
Thanks a million, your 2nd script worked. I don't...
Thanks a million, your 2nd script worked. I don't know what it is, but it is magical.

I actually wanted >100, so I changed le 100 to ge 100.

Cheers :)
13,855
Posted By Hijanoqu
Extract user accounts and home directory from /etc/passwd.
I am trying to obtain all user accounts and their respective home directories.

/etc/passwd contains the required information, but I want to filter it to only show the uid,username and home...
1,529
Posted By Hijanoqu
[Solved] Custom actions in Thunar doesn't display at all.
I have came across a few websites stating some custom actions for Thunar -
crunchbang (http://crunchbang.org/forums/viewtopic.php?id=4854)
ubuntu...
7,219
Posted By Hijanoqu
I tried posting the same script into...
I tried posting the same script into /etc/rc.local , but it doesn't work. The boot log shows the echo message in the tomcat init script.

Run as $0 <start|stop|restart> On the other hand, if anyone...
7,219
Posted By Hijanoqu
Oh yeah, this is the error I found in the boot...
Oh yeah, this is the error I found in the boot logs..

sh: 0: Can't open /home/drg/Desktop/Linux/bin/startup.sh

Hmm why is this so ? The startup.sh has 755 perms and both owner and root is drg.
7,219
Posted By Hijanoqu
who -r returns run-level 2. Under...
who -r returns run-level 2.

Under /etc/rc2.d , I have a S20tomcat7 script symlink inside. It didn't boot up =/

I tried slowing down its boot sequence by changing S20 to S90 , but it still...
7,219
Posted By Hijanoqu
No, I am not familiar with Linux bash scripting...
No, I am not familiar with Linux bash scripting and the boot order like you said =/.

I simply followed instructions I found online, but it didn't work.

update-rc.d tomcat7 defaults
The...
7,219
Posted By Hijanoqu
Oops sorry forgotten about that. OS :...
Oops sorry forgotten about that.

OS : LinuxMint 16 64bit
Environment : Cinnamon ?

I added the relevant symlinks in the rc.* directories via the following commands :

chmod 755...
7,219
Posted By Hijanoqu
Apache tomcat startup script not booting at startup.
I copied the script from an AskUbuntu post -

#!/bin/bash

### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
#...
1,463
Posted By Hijanoqu
Configuring EPEL repo and setting it as default repo.
I am using RHEL 6, but with no RHN subscription. I tried installing the EPEL repo, it is enabled under yum repolist but when I try a sample search such as yum search nginx , there's a string of...
1,490
Posted By Hijanoqu
Oh thanks for the clarification. But why would...
Oh thanks for the clarification. But why would there be the presence of 'what~' after I created the txt file 'what' ?
1,490
Posted By Hijanoqu
Duplicated file names with home directory symbol appearing in ls .
Why are there duplicated file names listed when I execute ls ?

Result of my ls /root/Desktop :
aaa ca new file~ what what~

Thanks.
Showing results 1 to 21 of 21

 

Featured Tech Videos

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