Linux Community by Let's FOSS 🐧
41 subscribers
58 photos
2 videos
4 links
Join Discussion ➡️ @TalkFOSS
Download Telegram
You can check your Terminal command history using the below command

cat ~/.bash_history

If you find this useful, consider joining @letsfoss ❤️
2👍1
You can easily find the previous command in terminal with the help of Reverse Search

All you have to do is Press Ctrl+R key when the terminal is open.

This will bring up bck-i-search: utility

Here you can start typing the command. It'll show the previously entered commands from the .bash_history file

You can go backward through alternative commands by pressing Ctrl + R repeatedly or If you want to go in forward, Press Ctrl + S key.

Can't understand? Just try it once.

If you find this useful, consider joining @letsfoss ❤️
🔥1
Linux is Power 💥 @letsfoss
😁1
True af 💥
👍3
Whenever I install Kali Linux.. I end up breaking the GTK theme somehow 🥺

Do you have similar experience? Join the Discussion 😢

@letsfoss
Might be helpful for someone. Do share 💯🙏

Via @letsfoss
👍3
Which command do you use frequently?

Mine: cd and ls

What's yours?

Join @TalkFOSS to comment yours
This media is not supported in your browser
VIEW IN TELEGRAM
This belongs here. 😅

🎥 Space Force S02E07

@letsfoss 🎉
😁1
Linus Torvalds ❤️ @letsfoss
1
I use Arch btw 😅

Sent by @letsfoss
😁1
Are you using Green Ubuntu? 😂 @letsfoss
😁3
👆 Example screenshot

Bat command is a good alternative for cat command which comes with lot of extra features

In Ubuntu you can simple install by the below command

sudo apt install bat && mkdir -p ~/.local/bin && ln -s /usr/bin/batcat ~/.local/bin/bat

Once done. Instead of cat filename.txt you can do bat filename.txt

Which shows beautifully with syntax highlighting

You can also do multiple files in the same directory

bat *.txt

Will show all the files with .txt extension

Hope you like it.

@letsfoss