On my system, I have about 75 users. Some uers have two or three sessions on the same systems. when I do w, it shows all the sessions. Is there any way to find only the users and not worry about how many sessions. For example: you can see sshe has four connection. I only want to know the users. From the results below, I am looking for
sak, apr, sshe, xzha, peter. I tried doing w |grep -v but not working.
Last edited by Scott; 11-12-2012 at 06:21 PM..
Reason: Code tags, not ICode tags...
Hey, got a few questions here for anyone who can help......
Command line to - display users using the system, but count them only once.
Command line to - use the lastcomm command to display how many times ive used grep in october.
Command line to - list all logged on users with at least 6... (3 Replies)
Hello,
i just wanted to know how do i find out the list of users whose terminal is writable?i mean i used
who -T
but this gives a list of all users whose terminal is writable or blocked and not writable. So how do i do this?I am new to Unix. (2 Replies)
How can I find the biggest file in a branch?
I tried
find / \*.\* | xargs du | sort -n 1,1 | head 1
but shell do nothings :(
---------- Post updated at 03:07 PM ---------- Previous update was at 02:41 PM ----------
Solved:
find / -name \*.\* | xargs du | sort -nr | head -n 1 (0 Replies)
Hello!Does anybody know how to solve this script:
,,write a shell script which displays a list of names of users who have created files "*. c" in the last day."? (1 Reply)
When I try to configure my HBA ports on Solaris 10; I cant see any output.
bash-3.2# mpathadm list lu
bash-3.2#
I checked /kernel/drv/fp.conf file.
...
mpxio-disable="no";
...
What shall I check more? what shall I do?
---------- Post updated at 10:18 AM ---------- Previous update was... (0 Replies)
hi All,
I am using the command
find /home/mqm/check/ -mtime +1|wc -l
to get a count of the files older than a day under the check directory. But instead of getting the count of the files under check directory I m getting a count including the check directory itself. Can someone please tell... (0 Replies)
Hi
i would like to know were the folder that contain file with list of all users ?
And were i can learn about what kind of folder i have and wheat they have inside?
question 2.
when i write ls -a i see all directories and then i choose for example Documents
and inside Documents i typed again... (1 Reply)
Hello all,
I want to find the files for certain users. I cant make the or condition work in this instance. I've tried the code below but it didnt worked. Any input on how to get the list for all files for this users.
find . -type f -user abc134 -o -user xyz345 -o bce483 -exec ls... (6 Replies)
Is there any command that can used in Linux that export usernames and their manager's name from AD using bash shell script?
I know this can be done using powershell but I need to use Linux for this procedure. (2 Replies)
Discussion started by: dellanicholson
2 Replies
LEARN ABOUT SUSE
dcop
DCOP(1)DCOP(1)NAME
dcop - Console DCOP client
SYNOPSIS
dcop [--pipe] [--user user] [--all-users] [--session session] [--all-sessions] [--list-sessions] [--no-user-time] [application [object
[function [arguments]]]]
DESCRIPTION
Console DCOP client
OPTIONS --pipe Call DCOP for each line read from stdin.
This is roughly equivalent to calling while read line ; do dcop $line ; done but because no new dcop instance has to be started for
each line this is generally much faster, especially for the slower GNU dynamic linkers.
--user user
Connect to the given user's DCOP server. This option will ignore the values of the environment vars $DCOPSERVER and $ICEAUTHORITY,
even if they are set.
If the user has more than one open session, you must also use one of the --list-sessions, --session or --all-sessions command-line
options.
--all-users
Send the same DCOP call to all users with a running DCOP server. Only failed calls to existing DCOP servers will generate an error
message. If no DCOP server is available at all, no error will be generated.
--session session
Send to the given KDE session. This option can only be used in combination with the --user option.
--all-sessions
Send to all sessions found. Only works with the --user and --all-users options.
--list-sessions
List all active KDE sessions for a user or all users.
--no-user-time
Don't update the user activity timestamp in the called application (for use in scripts running in the background).
ENVIRONMENT
DCOPSERVER
ICEAUTHORITY
SEE ALSO dcopclient(1)dcopref(1)dcopfind(1)kdcop(1)
Inside KDE, you can enter help:/kdcop in Konqueror to see the User Manual for kdcop graphical dcop tool.
March 7, 2003 DCOP(1)