My REPO
Log in
Register
Search:
Back to the entry by jens@jphilip.nl
Post reply
Reply to the message by
jens@jphilip.nl
Name:
E-mail:
(optional, won't be displayed directly)
Leave this field empty:
Homepage:
(optional)
Leave this field empty:
Location:
(optional)
Remember me (cookie)
Category:
PUBLIC
Subject:
Formatting help
skip to input
format text bold
[b]bold text[/b]
format text italic
[i]italic text[/i]
insert hyperlink
[link=http://example.com/]link text[/link] / [link]http://example.com/[/link]
set text color
[color=#rgb]colored text[/color]
font size
[size=small]small text[/size]
[size=large]large text[/size]
insert list
[list][*]list item[/list]
insert image
[img]http://example.com/image.jpg[/img]
left: [img=left]http://example.com/image.jpg[/img]
right: [img=right]http://example.com/image.jpg[/img]
thumbnail: [img=thumbnail]http://example.com/image.jpg[/img]
thumbnail left: [img=thumbnail-left]http://example.com/image.jpg[/img]
thumbnail right: [img=thumbnail-right]http://example.com/image.jpg[/img]
:-)
;-)
:-P
:-D
:-|
:-(
Message:
> Wachtwoord : su9TmZFDbK > https://pastebin.com/Yg0tcPH1 > > Target: "ls -l /tmp" > > Wrong: ["ls -l /tmp"] > Right: ["ls", "-l", "/tmp"] > > voorbeelden: > Add User : [b]["useradd", "-m", "username"][/b] > Change Permissions : [b]["chmod", "755", "/path/to/file"][/b] > Change Owner : [b]["chown", "user:group", "/path"][/b] > Check Disk Space : [b]["df", "-h"][/b] > Check Connectivity : [b]["ping", "-c", "3", "8.8.8.8"][/b] > Create Directory : [b]["mkdir", "-p", "/path/to/dir"][/b] > > template: [b]["bash", "-c", "*command*"][/b] > > Count how many times each line appears: [b]"bash", "-c", "sort names.txt | uniq -c | sort -nr"[/b] > > Merge two files side-by-side: [b]"bash", "-c", "paste file1.txt file2.txt > merged.txt"[/b] > > Get any range of lines and redirect: [b]"bash", "-c", "sed -n '2,10p' system.log > line_10_only.txt"[/b] > > Get the first 10 lines and redirect: [b]"bash", "-c", "head -n 10 large_file.log > output.txt""[/b] > > Get the last 5 lines (latest logs) and append: [b]"bash", "-c", "tail -n 5 system.log >> archive.log"[/b] > > Count total lines in a file: [b]"wc", "-l", "/etc/passwd"[/b] > > Find and save to new file: [b]"bash", "-c", "grep 'Failed' auth.log > failed_attempts.txt"[/b] > > Get the 3rd column of a CSV (comma-separated): [b]"cut", "-d,", "-f3", "data.csv"[/b]
OK - Submit
Preview