kabir Profile picture
Jan 19 7 tweets 2 min read
- #100DaysOfHacking with
- 📒Notes (included in the last).
- Day - 4
- Viewing Creating Editing Files.
1. print the "hello"
┌──(root💀kali)-[~/twt]
└─ echo "hello"
>> hello
2. Save "hello" into the files
┌──(root💀kali)-[~/twt]
└─ echo "hey" > hey.txt

┌──(root💀kali)-[~/twt]
└─ cat hey.txt
3. Appending data into a file
┌──(root💀kali)-[~/twt]
└─ echo "hey again" > hey.txt
It overwrites hey again instead of append(add).
┌──(root💀kali)-[~/twt]
└─ echo "hey again again" >> hey.txt
```
Now this time with `>>` this got updated instead of replaced.
Creating an empty file
┌──(root💀kali)-[~/twt]
└─ touch kabirOx17.txt
- Retweet (for reach) if you like.
- #100DaysOfHacking with LedgerNotes ⬇
- Give a Start⭐(if you found something useful)
github.com/kabir0x17/100D…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with kabir

kabir Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @kabir0x17

Jan 20
Golden Tips + Resources To get Job/Internships + For self Development

Only these Best Resources you need to start 📈
Opensource, Web Development, Programming, DevOps and all Cyber Security Resources Included ⬇
🧵🔥
[ Open-source ]
Open Source Plays Important role in Self Development + in Job/Internships resume.

What is Open Source & How to Start?
by @kunalstwt

25+ Paid Open Source Programs and Internships
by @kunalstwt
Best Open Source Guidance Channel + My Fav Channel On youtube

youtube.com/c/eddiejaoude/… by @eddiejaoude

Website: eddiehub.org
Read 27 tweets
Jan 18
- #100DaysOfHacking with
- 📒 Notes (included in the last).
- Day - 3 (must checkout)
- 2. File Permission-modifications (in detail). ⬇
File permissions can be viewed using the `ls` command.
Here is an example:

┌──(root💀kali)-[~/twt]
└─ # ls -l filename.txt Image
The write, read, and execute permissions have the following number value: Image
Read 6 tweets
Jan 18
- #100DaysOfHacking with 📒Notes (included in the end).
- Day - 3
- 1. Users and Privileges. ⬇
~# ls -la
List for checking permissions ⬇ Image
`d` - directory
`-` - file Image
Read 10 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(