Search Results

Search: Posts Made By: beginner1
2,444
Posted By beginner1
Thank you but what is the command syntax for...
Thank you but what is the command syntax for saving to a usb device at the shell prompt.
3,286
Posted By beginner1
Not much help from anyone!! :confused: I...
Not much help from anyone!! :confused:


I have decided to use sed within a while loop, but my code doesnt seem to work. If anyone knows whats wrong with it, please offer a suggestion.


TMP=1...
3,286
Posted By beginner1
Ok figured out most of it. I am stuck on the...
Ok figured out most of it. I am stuck on the following part.
How do i retrieve a user name from the finger command and assign it to a variable. I would like to loop through each user name.

I have...
3,286
Posted By beginner1
ps help
Does anyone know the syntax of the ps command to view all processes of all users currently logged on the system?
2,444
Posted By beginner1
Saving scripts to usb device
How do I save a script to a pen drive?
2,483
Posted By beginner1
It worked thank you.
It worked thank you.
2,483
Posted By beginner1
How do I assign the results to a variable. I...
How do I assign the results to a variable.

I have tried the following but it doesnt work

TMP= ls -l file1 | cut -c 4-6


This just seems to output the file permissions to the screen, whereas...
2,483
Posted By beginner1
Got it ls -l file1 | cut -c 4-6 Is...
Got it

ls -l file1 | cut -c 4-6


Is there a more efficient way?
2,483
Posted By beginner1
File permissions
Is there any way that I can use the ls command to view the permissions that a group has on a file.

I know ls -l file1 will list all the permissions for file1.
Would I have to use the following...
2,033
Posted By beginner1
Help!
I have a script that takes two arguments.
The first argument is a string and the second argument is the name of a file.
The script inserts the string into the first line of the file and then saves...
4,959
Posted By beginner1
Great thanks. That solved the problem of how to...
Great thanks. That solved the problem of how to save it.
The other problem that I have is that the output seems to join together whereas I want it inserted in a new line.

e.g. file1 with the...
4,959
Posted By beginner1
How do you make the changes permanent in the...
How do you make the changes permanent in the file. I want to be able to save the changes from the awk command.

i tried the example above, then issued the cat command but the "hello world" wasnt...
2,033
Posted By beginner1
Script question
Can anyone help with these scripts? Im new to this and struggling. Thank you for your help.

Pre-requisites

Create a file with x amount of lines in it, the content of your choice. (Have already...
Showing results 1 to 13 of 13

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