Search Results

Search: Posts Made By: rprules
10,116
Posted By rprules
thank you
d'oh! yes thats now very obvious.

thank you
10,116
Posted By rprules
chmod -R 444 [folder]
using the recursive option for chmod i am trying to make all the folders and subsequent files read only

i.e. chmod -R 444 folder

when i go to check the folder or contents using any command...
103,931
Posted By rprules
sorry
sorry i had meant please ignore this thread as i had already figured out that problem
103,931
Posted By rprules
got it
zip -r filename directory

sorry please ignore
103,931
Posted By rprules
zip a folder
is it possible to zip a whole folder instead of each file individually?
2,103
Posted By rprules
add numbered bulletpoints to grep output
I would like to add "word -esque" numbered bulletpoints to the output of a grep search, which has multiple hits for the search term

i.e. grep x filename

1) abcd x
2) efgh x
3) ijkl x

I...
2,922
Posted By rprules
cant use sed or awk
i cant use sed or awk so i was thinking of something like using head and tail to split up the file but it aint working quite right, plus it doesnt fit with the notion of adding any argument

head...
2,922
Posted By rprules
the only thing i understood from that was wc. ...
the only thing i understood from that was wc.

i just need to know how to put the text like 2 lines in or if there is an automatic way - i.e. a command that can enter text at around 50% of wc.
2,922
Posted By rprules
using vi i want to make a script that takes 1...
using vi i want to make a script that takes 1 argument (some text) and inserts it into a 2nd argument (another file)

I need to know how to insert that text into the top and middle of the file....
2,922
Posted By rprules
how do I insert argument into TOP of file using vi?
when directing some text into a file can you choose where it goes like the top of the file (which is text aswell) or the middle??

if so how - especially would like to know how to do so in vi (text...
Showing results 1 to 10 of 10

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