List all existing program paths from your Bash's history. (Bash One Liner)
\#!/usr/bin/env bash
# 1. history and $HISTFILE do not work in scripts. Therefore cat with a direct
# path is needed.
# 2. awk gets the first part of the command name.
# 3. List is then sorted and duplicate entries are removed.
# 4. type -P will expand command names to paths, similar to which. But it will
# also expand aliases and functions.
# 5. Final output is then sorted again.
type -P $(cat ~/.bash_history | awk '{print $1}' | sort | uniq) | sort
After reading a blog post, I had this script in mind to see if its possible. This is just for fun and I don't have an actual use for it. Maybe some parts of it might inspire you to do something too. So have fun.
Fou
in reply to Fou • • •Which state is the wormonger?
1) "Iran will stop attacks on Israel if it stops aggression against the Iran" - Abbas Araghchi
2) "Israeli operations against Iran may continue for weeks" - Israeli Channel 14
#Iran #israel
reshared this
GH Ogawa reshared this.
Fou
Unknown parent • • •Are you still uncertain about which country is the source of evil in the Middle East???
Israel's Herzog says attacks seek to 'change reality' in Middle East
"Our aim is to change the reality in the Middle East. It cannot be that the empire of evil will continue to attack and attack, send its proxies and its terror, its missiles, and of course, develop nuclear capability, which is the most dangerous capability for humanity,"
#IsraelIranWar #IsraelTerroristState
yahoo.com/news/israels-herzog-…
Israel's Herzog says attacks seek to 'change reality' in Middle East
DPA (Yahoo News)Fou
Unknown parent • • •Israel extends the State of Emergency across the nation to June 30.
So, 15 more days of war and destruction? #IsraelIranWar
Disisdeguey🔻Pavlichenko🇵🇸 reshared this.
Fou
in reply to Fou • • •Too many Mossad operatives in Iran, tooooooo many
- Reports of at least 20 car bombings across Tehran
- Sewage and water pipes burst in Tehran from sabotage operations
Disisdeguey🔻Pavlichenko🇵🇸 reshared this.
Disisdeguey🔻Pavlichenko🇵🇸
in reply to Fou • • •Fou
Unknown parent • • •NATO recon and surveillance crafts have been non-stop over Van's airspace, southeast Turkey.
The aircraft and the strategic radar base on the high ground of the Akcadag region, dubbed Site K, are the primary reason (90%+) how Israel detects Iranian launches.
The site is far more important for the defense of Israel than the radar bases in Saudi Arabia and Qatar.
Meanwhile, Turkish right-wing media pretends to be neutral or even anti-Israel.
Disisdeguey🔻Pavlichenko🇵🇸
Unknown parent • • •#IstandWithIranianPeople
Disisdeguey🔻Pavlichenko🇵🇸
Unknown parent • • •Fou
Unknown parent • • •Fou
Unknown parent • • •Iran carried retaliatory strikes against Israel late on Saturday night. The strikes killed 10 people, including a Palestinian family of four in Tamra and six Israelis in Bat Yam near Tel Aviv, with dozens more missing.
Iran said the strikes were in "self-defence" as a response to Israel's massive attack on the Islamic Republic's senior leadership, military bases and nuclear sites the previous day.
Fou
in reply to Fou • • •Iran struck the Weizmann Institute of Science, Israel's top scientific research centre, in a wave of missile strikes on the country late on Satuday night.
Active for nearly a century, the centre conducts research for Israel's military technology, particularly in the fields of artificial intelligence and drones, both of which have been used extensively in Israel's war on Gaza.
#Iran #Israel
Fou
Unknown parent • • •Israelis killed tens of thousand of babies and children and now look at them:
"Khamenei is under pressure, therefore he ordered targeting Israeli civilians. We are working with all our strength to minimize damage," - Eyal Zamir, Israeli Chief of Staff.
Fou
Unknown parent • • •- The United States supports the aggression against our country, and European countries' positions are unilateral in favor of Israel
- Washington and Europe's encouragement of Israeli aggression is a historic mistake and will have major repercussions for the world
- We will prepare the ground for a return to diplomacy and negotiations if the Israeli aggression stops
Iran's Ministry of Foreign Affairs
#IsraelIranWar #Iran #Israel
Disisdeguey🔻Pavlichenko🇵🇸
in reply to Fou • • •They need to resign and fockoff
benda
Unknown parent • • •Fou
Unknown parent • • •I wonder what the consequences of this news might be, if any.
The Iranian parliament has approved a strategic partnership agreement with Russia. - TASS
MenaLive
#IsraelIranWar #Russia
Fou
Unknown parent • • •Israel is reporting a cyber attack against its air raid system that's why they had false alarms for incoming ballistic missiles
#IsraelIranWar
Fou
in reply to Fou • • •Iran has not yet used the Fateh 2 missiles, the new generation Sejjil missiles, or the Khorramshahr missiles, which have a warhead weight of 2 tons and pin point accuracy.
These missiles are among the advanced weapons Iran has stockpiled for future attacks.
MenaLive - Fars News
#IsraelIranWar