Search Results

Search: Posts Made By: slicer4ever
7,702
Posted By slicer4ever
unfortuantly stat is not among the list of...
unfortuantly stat is not among the list of commands i have to use
3,923
Posted By slicer4ever
you didn't learn about scripts?! scripts are...
you didn't learn about scripts?!

scripts are basically files that sequentially run the commands in the file as if you typed them yourself, so simple put the code that wwwzviadi placed in a file,...
7,702
Posted By slicer4ever
thanks all, this is exactly what i needed, thanks...
thanks all, this is exactly what i needed, thanks for the help=-)

edit: sorry to keep asking, but is their any way to retireve file permissions through echo as well?
7,702
Posted By slicer4ever
ls...without ls?
is their any way to retrieve the directory listing with cat?, i'm telneted into my home router flashed with dd-wrt and the very basic command ls isn't their, i have cd, cat, and several other basics...
10,204
Posted By slicer4ever
awk?, i've never heard of this command, however...
awk?, i've never heard of this command, however it gets the job done, i'll look into it more, thanks for the help
10,204
Posted By slicer4ever
lol, it's ok, at least you understand what i mean...
lol, it's ok, at least you understand what i mean now, sorry for not being clear in what i was trying to accomplish
10,204
Posted By slicer4ever
ahh, didn't know that(i was taught piping in from...
ahh, didn't know that(i was taught piping in from cat, thanks)

however with the first grep -v -A 1 'figure' test, the output is the same as the input, making the second grep act the same inversing...
10,204
Posted By slicer4ever
you mean like do: cat test|grep -v...
you mean like do:

cat test|grep -v 'figure'|grep -v 'hopefully' ?

that works on the small scale like here, but the end goal has 11 lines in front of, and 17 lines behind, and i only know of 1...
10,204
Posted By slicer4ever
ok, i see thanks very much for your answer, this...
ok, i see thanks very much for your answer, this helps me understand what is going on, is their any way to achieve the output i desired with just grep or would i have to pipe it into other functions...
10,204
Posted By slicer4ever
Grep -v, with -A or -B?
hello everyone, i'm taking a class on unix and linux, and have come across a problem that my teacher couldn't figure out either:

the testing file i'm using:

This is a test of grep
to see how...
Showing results 1 to 10 of 10

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