Search Results

Search: Posts Made By: Furqan_79
3,786
Posted By Furqan_79
matching a letter in a word
hi,

if i have a string of letters and seperatly i have a single letter. how do i check whether that specific letter is in my string aswell? any ideas?
2,077
Posted By Furqan_79
Pipes not working
Hi,

thanks for b4. can anyone tell me why following not working:

noUsers=$(who | cut -d" " -f1 | wc -l)

What i'm trying to do is get a list of logged on users and pass it to 'wc -l' and...
4,376
Posted By Furqan_79
USERS command
Hi,

how do you display login names of users logged on but in a list? I tried 'users' but that is giving all the user login names on 1 line, I want 1 login name on each line like a list. How do I...
10,054
Posted By Furqan_79
Passing output to variable instead of file
Hi,

In normal shell scripting, how do you pass the output of a command to a variable, instead of a file and be able to use it later?
The code is:

#!/bin/bash

who | cut -d" " -f1 >...
1,743
Posted By Furqan_79
Not homework!
No sir its not homework. 79 used in my login name is my year of birth, by that u can figure out when i left uni. This is a personal activity. Any help will be appreciated. Thanks
1,743
Posted By Furqan_79
Need Urgent Help!!!
Hi guys,

I have to write a script. the criteria is:

Create a script named 'userprocesses' which will allow you to find all users currently logged on to the system and display the processes they...
Showing results 1 to 6 of 6

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