×
Use the following text file to answer the questions
Elie-Schoppik-sushi Tim-Garcia-gummybears Janey-Keig-bagels Colt-Steele-tacos Matt-Lane-pizza
-
with :
using sed
cut
and sed
or just sed
)1>>>>2 2>>>>3 3>>>>4 4>>>>5
cut
print out just the numbers 2, 3, 4, 5. Use xargs
to print them all on 1 linexargs
in the ./Desktop
directory, find all of the files that include the text Welcome
access_file.sh
which accepts one parameter and changes the permissions to 755
unaccessible_sh.sh
which accepts one parameter and changes the permissions to 300
sed
write the command to replace all instances of the name "foo" with the string "bar" in a file called baz.txt
pid
s using awk
df -h
command - it will show you much space you have on your hard drive. Using the awk
command, print out only the first percentage capacity.You can find the solutions here