root

joined 2 years ago
MODERATOR OF
 

Author: Nupur J Sharma

The outrage was amusing and deafening, in an attempt to defend the insidious comments of the man who oversaw the rise of ISIS - Barack Obama. One wonders if those opposing Himanta Biswa Sarma and claiming to fight for the rights of Muslims are fighting for the right of Islamists and Jihadis to unleash violence against Hindus and tear India apart once again

Obama, who has a notorious record as a potential war criminal, suggested that the Indian Prime Minister must be told by the Biden administration about protecting the ‘Muslim minority in a majority Hindu India.’ He also hinted at another ‘partition’ of India, under which the Modi government did not mend its ways.

He said, “If President (Joe Biden) meets with Prime Minister (Narendra) Modi, the protection of Muslim minority in a majority Hindu India is something worth mentioning.” Barack Obama also claimed, “If I had a conversation with Prime Minister Modi, then part of the conversation would be that if you do not protect the rights of minorities, then there is a strong possibility that India at some point starts pulling apart…That would be contrary to the interests of India”.

The Liberal and Islamist cabal was celebrating this comment by former US President Barack Obama. It is pertinent to note that Obama himself has the unique distinction of bombing more Muslims across the globe than any other leader. He launched airstrikes in at least seven Muslim-majority countries of Afghanistan, Yemen, Somalia, Iraq, Syria, Libya and Pakistan, killing thousands of Muslims.

The United States of America, whether Obama was the President or not, has a terrible human rights track record with rampant atrocities against minorities – with a history of slavery, modern-day racism and atrocities against African-Americans, a crippling wage gap and further persecution of Muslims right after the 9/11 terror attack.

The Liberals and Islamists, who claim to be bleeding hearts for the Muslims of the world, including the terrorists and Islamists, had no compunctions allying with a potential war criminal who murdered several Muslims while he was in power simply to bring PM Modi and India down, furthering the mythical trope of Muslim persecution.

Rohini Singh, the woman who had disappeared from social media after emphatically claiming that Akhilesh Yadav would win Uttar Pradesh, extended her support to Obama and, strangely, picked Assam to berate the current government dispensation. Displaying the glory of her terribly low IQ, she wondered if the Assam police were on their way to arrest Obama for hurting sentiment. Responding to her wondrous asininity, Assam Chief Minister Himanta Biswa Sarma responded with a scathing tweet. He said, “There are many Hussain Obama in India itself. We should prioritise taking care of them before considering going to Washington. The Assam police will act according to our own priorities,” the Assam CM tweeted.

Leftists and Islamists, of course, had their knickers in a bunch rather instantly. The outrage was amusing and deafening, in an attempt to defend the insidious comments of the man who oversaw the rise of ISIS – Barack Obama.

Essentially, the global Left ecosystem used the comments by Himanta Biswa Sarma to allege that the concern about Muslims displayed by Obama was spot on, given that Modi’s Chief Minister was himself talking about persecuting Muslims. Further, many asked for USA intervention in India based on this comment, saying that the tweet was an example of the human rights of Muslims being stifled in India under the leadership of PM Modi and another leader of the BJP.

If one breaks down the statement by Obama, there are two main components that one needs to focus on to understand what ‘kind of people’ was Himanta Biswa Sarma talking about arresting.

  1. Obama’s distinction between Hindu India and Muslim India
  2. The fact that he alluded to a second partition of India

Firstly, Obama should realise that India is India. Bharat. A ‘Muslim India’ was already carved out of the nation when Muslims claimed they could not survive with Hindus in India as their Muslim identity constituted a nation of its own. In 1947, Pakistan was created based on the fanaticism of one religion, and that religion certainly was not Hinduism – it was Islam – however, one won’t be remiss if one says that Barack Hussein Obama would not have the temerity to acknowledge the fanatic moorings of Islam and what those moorings did to Bharat. The partition of India based on religion, a partition demanded by the Muslims, was a blood-soaked one with several genocides of Hindus – from the Malabar genocide of Hindus to the Direct Action Day, the streets of Bharat were littered with Hindu bodies, chopped, raped, massacred by Muslims. If one wishes to go further back in time, one could also evaluate the period of Islamic invasion, where Hindu Temples were desecrated, Hindus were forcefully converted, beheaded upon refusal, barred from practising their religion, and so on. This article, however, is not to give Barack Obama a history lesson, one he desperately needs.

One simply needs to reiterate that a “Muslim India” already exists – in the form of Pakistan – the greatest exporter of Islamic terrorism, cross-border aggression and Islamic fundamentalism. It is in “Muslim India” that Hindus are persecuted regularly, with minors being raped and converted to Islam, forced to marry old Muslim men, Hindus being lynched in the streets in broad daylight and more.

One also needs to reiterate that Hindus and Bharat are not new to threats of partition, similar to the ones issued by Barack Hussein Obama. The nature of Muslim separatism was encapsulated rather well by the father of Communism. Karl Marx stated in 1854, “The Koran and the Mussulman legislation emanating from it reduce the geography and ethnography of the various people to the simple and convenient distinction of two nations and two countries; those of the Faithful and the Infidels. The Infidel is “Harby,” i.e. the enemy. Islamism proscribes the nation of the Infidels, constituting a state of permanent hostility between the Mussulman and the unbeliever.”

It was this very mentality, which was verbalised by Barack Hussein Obama, that led to the partition of India. The cycle has continued to date. Jinnah, for example, called for a separate Muslim nation because he felt that Muslims were not safe in Hindu majority India – this – while it was the Muslims who were massacring Hindus and this – while he gave a call to murder Hindus leading to the Direct Action Day. Once the violence was unleashed by the Muslims after they believed they were being victimised, sans proof or merit, they would blame the Hindus aided by the ‘secular’ politicians and leaders, threatening and demanding that they be given special privileges because they were persecuted.

There are, to this date, several Islamists in India who follow the same pattern. Despite the Islamist aggression, it is the Muslims who are to branded as victims in perpetuity. The Communal Violence Bill aimed to do just that. In the Purola case, too, for example, it is a Muslim man who abducted a minor Hindu girl, but the narrative is spun as such that the Muslims of the area are the REAL victims simply because the Hindus decided to protest against these religiously motivated crimes. Delhi Riots was another such example. While people from both communities died in the riots, it is pertinent to note that the Delhi anti-Hindu riots were planned for three months before the low-level everyday violence and hate speech culminated in the anti-Hindu riots. Several Islamists and Leftists had meticulously planned the riots to “teach Kafirs a lesson”, in the words of Tahir Hussain. The violence in February 2020 started with an onslaught against Hindus as well. The first to lose his life in the riots was countable Ratan Lal, who was lynched to death by a Muslim mob. Thereafter, others like Ankit Sharma, Dilbar Negi and several others were brutally murdered. Disregarding the conspiracy, the plan hatched, the meticulous planning of the violence, the hateful slogans, and so much more, the global media run by the Left and the Islamists cries hoarse, turning it into an anti-Muslim pogrom. The propaganda was such that NDTV deliberately cropped live footage of a mosque to ensure that bricks on the terrace were not visible to people.

When Himanta Biswa Sarma says that those who are like Barack Hussein Obama would be dealt with in India, he merely means that those who believe in the concept of a Muslim India – that is, Pakistan – and those who unleash violence and then threaten to tears India apart if their demands are not met – won’t be tolerated and will be met with the full force of the law.

One only wonders why the Liberals and Islamists globally are outraged by the idea of Bharat protecting its integrity and sovereignty. One wonders if those opposing Himanta Biswa Sarma and claiming to fight for the rights of Muslims are fighting for the right of Islamists and Jihadis to unleash violence against Hindus and tear India apart once again, all the while painting themselves as the victims with the help of Indian liberals and others like Barack Hussein Obama.

However, as a leader with appeal beyond Assam, he should henceforth avoid replying to jobless trolls masquerading as journalists, something PM Modi excels at

 

The invite-only event, organised by the United States Indian Community Foundation (USICF), also marked the end of PM Modi's 3-day State visit to the United States.

On Friday (local time), Prime Minister Narendra Modi delivered his goodbye speech to the Indian diaspora at an event, which was held at the Ronald Regan Centre in Washington DC.

The invite-only event, organised by the United States Indian Community Foundation (USICF), also marked the end of PM Modi’s 3-day State visit to the United States.

During his speech, the Indian Prime Minister said, “The amount of love I am getting in the US is wonderful, all the credit goes to the people of this country. President Biden and I had a lot of discussions in the last 3 days…He has always tried to take the India-US partnership to another level.”

He pointed out that the India-US relationship has become stronger over the years with strong defence cooperation, transfers of technology and increased cooperation on strategic issues.

He said that the US State Department was working on a pilot programme wherein Indians working in the US on H-1B visas do not need to leave the country to renew them.

“America’s new consulates will be opened in Bengaluru and Ahmedabad. It has now been decided that the H1B visa renewal can be done in the US itself,” the Indian Prime Minster added.

PM Modi on return of antiquities

He stated that more than 100 artefacts that were stolen and smuggled from India to the United States will be returned to the country.

PM Modi added, “I am happy that the American government has decided to return more than 100 antiquities of India that were stolen from us. These antiquities had reached the international markets. I express my gratitude to the American government for this”

He also lauded India’s digital revolution. “Hundreds of years of colonisation had taken this belief away from us,” the Indian Prime Minister emphasised.

PM Modi urges entrepreneurs to ‘Invest in India’

He also urged entrepreneurs in the United States to invest in India. PM Modi informed, “During my visit, companies like Google Micron, Applied Materials and others have announced to make huge investments in India.”

He added, “India is the mother of democracy and America is the champion of advanced democracy – our biggest trading partner and export destination – but the real potential of the bilateral relation is yet to come out.”

“Technology handshake held at the White House today is a direct message to the companies, businesses, manufacturers and innovators of both the countries – This is the moment. India & US Governments have done the groundwork for you. But now, the responsibility to grow on this ground is yours,” PM Modi concluded.

 

Tunnel Boring Machine will be deployed for the main tunnel under the river, while the open cut and cover method will be used for the sections of the tunnels on both ends. The length of the main tunnel will be 11.4 km, with a total length of around 15 km.

A tunnel under the mighty Brahmaputra River will finally become a reality, Assam chief minister Himanta Biswa Sarma announced on Friday. He said that the centre has approved the project, and tenders will be invited to prepare DPR for the project soon. He informed that a tunnel will be constructed under the Brahmaputra at an estimated cost of ₹6000 crore.

Addressing a public rally at Biswanath Chariali in Assam, Himanta Biswa Sarma said he thought that a tunnel under the river was just a dream, and it will not become a reality. But he was surprised during a recent visit to Delhi, where the union govt told him that the project has been greenlighted. He said that after much deliberation, it was decided that the tunnel will be constructed between Gohpur on the north bank and Numaligarh in the south bank. It will be a road cum rail tunnel.

Assam CM said that the first tenders for Detailed Project Report (DPR) will be opened on 4th July. ‘If everything goes as planned, we may be able to start the construction during the current tenure of my govt,’ he said. Sarma further said that PM Narendra Modi has already signed a file to connect the north and south banks of Brahmaputra through a tunnel. The tunnel will connect NH 15 on the north with NH 715 on the south.

The centre has entrusted NHIDCL (National Highways and Infrastructure Development Corporation Ltd.) with the project. The NHIDCL has floated tenders to prepare DPR and will start pre-construction activities for the construction of the tunnel soon. 4-lane approach roads on both ends of the tunnel are part of the project.

Tunnel Boring Machine will be deployed for the main tunnel under the river, while the open cut and cover method will be used for the sections of the tunnels on both ends. The length of the main tunnel will be 11.4 km, with a total length of around 15 km.

Artificial islands are also proposed on the northern and southern sides of the river Brahmaputra, and the construction zone will be created within the islands to facilitate the construction of the tunnel and also during the operational phase. The islands will act as bunds to prevent flood water from entering the tunnels.

NHIDCL has already prepared a Pre-Feasibility Report for the tunnel project. However, the report is only for a two-lane road tunnel and does not mention a rail tunnel. Therefore, significant changes in the DPR is expected from this report.

At present, there are six bridges over the Brahmaputra, which include twin bridges at Guwahati and Tezpur. Three more bridges at Dhubri, Guwahati and Majuli are under construction. Construction of two more bridges in Guwahati, on its eastern and western ends, will start soon, and Railway will build two bridges at Guwahati and Tezpur. Several other bridges are under the pipeline connecting the north and south banks of the Brahmaputra river across the state.

However, the bridges are seen as vulnerable in case of a war or major terrorist activities in the region, and the security establishment was considering a tunnel as an alternate route. Connectivity across the Brahmaputra is vital for the defence of the frontline on the border with China, and a tunnel is considered much more secure compared to a bridge over the river.

According to previous reports, there will be three separate tunnels, one for road, the second one for rail, and the third one for emergency use including military transport. The tunnels, including the 11.4 km long main tunnels, will be around 15 km long and will be around 32 meters below the riverbed.

The proposal for a tunnel was originally floated by the Border Roads Organization (BRO), considering its strategic importance. BRO started surveys for the project in 2014 and selected two sites, Tezpur-Nagaon and Gohpur-Numaligarh. In 2020, the centre gave in-principle approval for the project, after which detailed studies were conducted, including an airborne electromagnetic survey.

Initially, the Tezpur site was favoured, as the river is narrower there, and Tezpur is home to the headquarters of the GOC 4 Corps of the Indian Army. However, later the Gohpur-Numaligarh location was selected.

There are already two road bridges over the Brahmaputra at Tezpur, and a Railway bridge has been planned. That could be the reason for not selecting the site as both banks of the river are already well connected there. With the tunnel coming, the plan for a bridge between Gohpur and Numaligarh will be scrapped. In fact, the project was delayed because the centre was deliberating between the tunnel and the bridge, which would have been a cheaper option. The tunnel was approved after several cabinet ministers supported the plan, considering its strategic importance.

The project will be undertaken under the Special Accelerated Road Development Programme (SARDP-NE) of the Union Ministry of Road Transport & Highways.

 

Despite his active war-mongering and mass killing of civilians in the name of drone attacks against terror groups, Barack Obama was awarded the Nobel Peace Prize in 2009.

On Thursday (June 22), former US President Barack Obama courted controversy by virtue-signalling India about its ‘human rights’ record.

Obama, who has a notorious record as a potential war criminal, suggested that the Indian Prime Minister must be told by the Biden administration about protecting the ‘Muslim minority in a majority Hindu India.’ He also hinted at another ‘partition’ if India, under the Modi government, did not mend its ways.

The former US President made the contentious remarks during an interview with CNN news host Christiane Amanpour, just hours before PM Modi made his historic address at the joint session of the US Congress.

He said, “If President (Joe Biden) meets with Prime Minister (Narendra) Modi, the protection of Muslim minority in a majority Hindu India is something worth mentioning.”

Barack Obama also claimed, “If I had a conversation with Prime Minister Modi, then, part of the conversation would be that if you do not protect the rights of minorities, then there is a strong possibility that India at some point starts pulling apart…That would be contrary to the interests of India”

The former US President, who is now mouthing platitudes about protecting the interests of Muslims in India, has been single-handedly responsible for the death of 100s of innocent people in Muslim-majority countries.

Human rights record of ‘war monger’ Barack Obama

Barack Obama scripted history in 2008 by being the first African-American man to become the President of the United States. In 2016, he also created another record of being the only President to take the country to war during the entirety of his 8-year term.

As per a report by the ‘Bureau of Investigative Journalism’, Obama oversaw more drone strikes (54) in his first year than George W Bush did in his entire term. Prior to his Presidency, he would talk about ending ‘dumb wars’ but did the opposite when he came to power.

Barack Obama, who holds the distinction of being a Nobel Peace Prize Winner, reportedly launched airstrikes in at least seven Muslim-majority countries of Afghanistan, Yemen, Somalia, Iraq, Syria, Libya and Pakistan.

He sanctioned the use of a whopping 563 drone strikes and killed 3797 people in this process. In one instance, a CIA drone strike targeted a funeral in Pakistan, which led to the death of 41 civilians in Pakistan.

More than 89 civilians in the same country were killed by the Obama administration over the course of 128 targeted drone strikes. The US President was aware that the drone strikes were far from accurate and were increasingly leading to the death of civilians.

But this did not stop him from continuing with such attacks in Somalia (2010) and Yemen (2011). Reportedly, 21 children and 12 women (five of them being pregnant)were killed by the Obama administration’s first strike in Yemen, with the aim of targeting Al-Qaeda.

It also came to light that in 2016 alone, the US government under Obama carried out at least 26,171 bombings, which translates to 72 bombings every day on civilians in other countries.

Mass civilian casualties were also reported in Afghanistan. An average of 582 people were killed annually in Afghanistan by the US, its allies and the Afghan government in Kabul between 2007 to 2016.

The Obama administration has also been accused of conducting ‘double-tap drone strikes’, which means that the site of a drone strike is attacked again. This is despite knowing the fact that such follow-up strikes lead to the death of first responders, which is against the guidelines laid down by the 1948 Geneva Conventions.

Obama administration warmed up to Muslim brotherhood, oversaw the rise of ISIS

During the tenure of Barack Obama, the US government warmed up to the radical Islamist outfit ‘Muslim Brotherhood’ in Egypt during the Arab Spring. It was a complete departure from the approach undertaken by previous US administrations.

According to author Hany Ghoraba, Barack Obama believed that he could separate the terror outfit ‘Al-Qaeda’ and Muslim Brotherhood. “Empowering the Muslim Brotherhood would, according to Obama, weaken Al-Qaeda in a decision that can be considered as one of the severest cases of political naiveté in modern times,” he noted.

“The core fault of the Obama administration was its adoption of a false rhetoric, presented for years by Islamist activists and later liberal Western politicians and pundits, that there is a distinction between the Muslim Brotherhood and Al-Qaeda,” Ghoraba pointed out.

The Arab Spring led to significant political changes in several countries, including the ousting of long-standing autocratic leaders. In Egypt, the Muslim Brotherhood’s political arm, namely, the Freedom and Justice Party, emerged as a major political force.

In 2011, the Obama administration thought it was a great idea to engage with the Muslim brotherhood-led- government, mistaking it to be a ‘new democratic force’ and looking past its radical Islamism, dangerous ideology and its mistreatment of religious minorities.

Later when protests erupted against the government in Eqypt, the Obama administration quickly took a U-turn and called for the removal of the Muslim Brotherhood-backed-Egyptian President Mohammed Morsi. Documents now reveal that the US government funded anti-Morsi activities.

The Presidential tenure of Barack Obama was also marked by the rise of the dreaded terrorist organisation, the Islamic State of Iraq and Syria aka ISIS.

One of the major contributing factors was the withdrawal of the US troops, failed negotiations with the Iraqi government and lack of residual US military presence in the country. The security vacuum left in Iraq gave opportunities for radical Islamist groups to expand.

Conclusion

Barack Obama has been at the helm of building secret drone bases in the Middle East and Africa and increasing the deployment of warships and troops in the Western Pacific and Eastern Europe.

He has been accused by his first three Defense Secretaries at the Pentagon of micro-manging the military from the White House. Through the killing of dictator Muammar Gaddafi, Barack Obama ensured that Libya plunged into complete chaos.

Later, the oil-rich nation became a magnet for terrorist groups. Despite his active war-mongering and mass killing of civilians in the name of drone attacks against terror groups, he was awarded the Nobel Peace Prize in 2009. With the left media acting as his PR agent, Obama has been able to keep up with the false image of being a ‘great ex-President.’

At the time of PM Modi’s visit to the US on the invite of the incumbent President Joe Biden, Barack Obama is pontificating the Modi administration about human rights and peddling the distorted narrative of ‘Muslims being in danger in India.’

 

cross-posted from: https://lemmy.run/post/15922

Running Commands in Parallel in Linux

In Linux, you can execute multiple commands simultaneously by running them in parallel. This can help improve the overall execution time and efficiency of your tasks. In this tutorial, we will explore different methods to run commands in parallel in a Linux environment.

Method 1: Using & (ampersand) symbol

The simplest way to run commands in parallel is by appending the & symbol at the end of each command. Here's how you can do it:

command_1 & command_2 & command_3 &

This syntax allows each command to run in the background, enabling parallel execution. The shell will immediately return the command prompt, and the commands will execute concurrently.

For example, to compress three different files in parallel using the gzip command:

gzip file1.txt & gzip file2.txt & gzip file3.txt &

Method 2: Using xargs with -P option

The xargs command is useful for building and executing commands from standard input. By utilizing its -P option, you can specify the maximum number of commands to run in parallel. Here's an example:

echo -e "command_1\ncommand_2\ncommand_3" | xargs -P 3 -I {} sh -c "{}" &

In this example, we use the echo command to generate a list of commands separated by newline characters. This list is then piped (|) to xargs, which executes each command in parallel. The -P 3 option indicates that a maximum of three commands should run concurrently. Adjust the number according to your requirements.

For instance, to run three different wget commands in parallel to download files:

echo -e "wget http://example.com/file1.txt\nwget http://example.com/file2.txt\nwget http://example.com/file3.txt" | xargs -P 3 -I {} sh -c "{}" &

Method 3: Using GNU Parallel

GNU Parallel is a powerful tool specifically designed to run jobs in parallel. It provides extensive features and flexibility. To use GNU Parallel, follow these steps:

  1. Install GNU Parallel if it's not already installed. You can typically find it in your Linux distribution's package manager.

  2. Create a file (e.g., commands.txt) and add one command per line:

    command_1
    command_2
    command_3
    
  3. Run the following command to execute the commands in parallel:

    parallel -j 3 < commands.txt
    

    The -j 3 option specifies the maximum number of parallel jobs to run. Adjust it according to your needs.

For example, if you have a file called urls.txt containing URLs and you want to download them in parallel using wget:

parallel -j 3 wget {} < urls.txt

GNU Parallel also offers numerous advanced options for complex parallel job management. Refer to its documentation for further information.

Conclusion

Running commands in parallel can significantly speed up your tasks by utilizing the available resources efficiently. In this tutorial, you've learned three methods for running commands in parallel in Linux:

  1. Using the & symbol to run commands in the background.
  2. Utilizing xargs with the -P option to define the maximum parallelism.
  3. Using GNU Parallel for advanced parallel job management.

Choose the method that best suits your requirements and optimize your workflow by executing commands concurrently.

 

cross-posted from: https://lemmy.run/post/15922

Running Commands in Parallel in Linux

In Linux, you can execute multiple commands simultaneously by running them in parallel. This can help improve the overall execution time and efficiency of your tasks. In this tutorial, we will explore different methods to run commands in parallel in a Linux environment.

Method 1: Using & (ampersand) symbol

The simplest way to run commands in parallel is by appending the & symbol at the end of each command. Here's how you can do it:

command_1 & command_2 & command_3 &

This syntax allows each command to run in the background, enabling parallel execution. The shell will immediately return the command prompt, and the commands will execute concurrently.

For example, to compress three different files in parallel using the gzip command:

gzip file1.txt & gzip file2.txt & gzip file3.txt &

Method 2: Using xargs with -P option

The xargs command is useful for building and executing commands from standard input. By utilizing its -P option, you can specify the maximum number of commands to run in parallel. Here's an example:

echo -e "command_1\ncommand_2\ncommand_3" | xargs -P 3 -I {} sh -c "{}" &

In this example, we use the echo command to generate a list of commands separated by newline characters. This list is then piped (|) to xargs, which executes each command in parallel. The -P 3 option indicates that a maximum of three commands should run concurrently. Adjust the number according to your requirements.

For instance, to run three different wget commands in parallel to download files:

echo -e "wget http://example.com/file1.txt\nwget http://example.com/file2.txt\nwget http://example.com/file3.txt" | xargs -P 3 -I {} sh -c "{}" &

Method 3: Using GNU Parallel

GNU Parallel is a powerful tool specifically designed to run jobs in parallel. It provides extensive features and flexibility. To use GNU Parallel, follow these steps:

  1. Install GNU Parallel if it's not already installed. You can typically find it in your Linux distribution's package manager.

  2. Create a file (e.g., commands.txt) and add one command per line:

    command_1
    command_2
    command_3
    
  3. Run the following command to execute the commands in parallel:

    parallel -j 3 < commands.txt
    

    The -j 3 option specifies the maximum number of parallel jobs to run. Adjust it according to your needs.

For example, if you have a file called urls.txt containing URLs and you want to download them in parallel using wget:

parallel -j 3 wget {} < urls.txt

GNU Parallel also offers numerous advanced options for complex parallel job management. Refer to its documentation for further information.

Conclusion

Running commands in parallel can significantly speed up your tasks by utilizing the available resources efficiently. In this tutorial, you've learned three methods for running commands in parallel in Linux:

  1. Using the & symbol to run commands in the background.
  2. Utilizing xargs with the -P option to define the maximum parallelism.
  3. Using GNU Parallel for advanced parallel job management.

Choose the method that best suits your requirements and optimize your workflow by executing commands concurrently.

 

Running Commands in Parallel in Linux

In Linux, you can execute multiple commands simultaneously by running them in parallel. This can help improve the overall execution time and efficiency of your tasks. In this tutorial, we will explore different methods to run commands in parallel in a Linux environment.

Method 1: Using & (ampersand) symbol

The simplest way to run commands in parallel is by appending the & symbol at the end of each command. Here's how you can do it:

command_1 & command_2 & command_3 &

This syntax allows each command to run in the background, enabling parallel execution. The shell will immediately return the command prompt, and the commands will execute concurrently.

For example, to compress three different files in parallel using the gzip command:

gzip file1.txt & gzip file2.txt & gzip file3.txt &

Method 2: Using xargs with -P option

The xargs command is useful for building and executing commands from standard input. By utilizing its -P option, you can specify the maximum number of commands to run in parallel. Here's an example:

echo -e "command_1\ncommand_2\ncommand_3" | xargs -P 3 -I {} sh -c "{}" &

In this example, we use the echo command to generate a list of commands separated by newline characters. This list is then piped (|) to xargs, which executes each command in parallel. The -P 3 option indicates that a maximum of three commands should run concurrently. Adjust the number according to your requirements.

For instance, to run three different wget commands in parallel to download files:

echo -e "wget http://example.com/file1.txt\nwget http://example.com/file2.txt\nwget http://example.com/file3.txt" | xargs -P 3 -I {} sh -c "{}" &

Method 3: Using GNU Parallel

GNU Parallel is a powerful tool specifically designed to run jobs in parallel. It provides extensive features and flexibility. To use GNU Parallel, follow these steps:

  1. Install GNU Parallel if it's not already installed. You can typically find it in your Linux distribution's package manager.

  2. Create a file (e.g., commands.txt) and add one command per line:

    command_1
    command_2
    command_3
    
  3. Run the following command to execute the commands in parallel:

    parallel -j 3 < commands.txt
    

    The -j 3 option specifies the maximum number of parallel jobs to run. Adjust it according to your needs.

For example, if you have a file called urls.txt containing URLs and you want to download them in parallel using wget:

parallel -j 3 wget {} < urls.txt

GNU Parallel also offers numerous advanced options for complex parallel job management. Refer to its documentation for further information.

Conclusion

Running commands in parallel can significantly speed up your tasks by utilizing the available resources efficiently. In this tutorial, you've learned three methods for running commands in parallel in Linux:

  1. Using the & symbol to run commands in the background.
  2. Utilizing xargs with the -P option to define the maximum parallelism.
  3. Using GNU Parallel for advanced parallel job management.

Choose the method that best suits your requirements and optimize your workflow by executing commands concurrently.

 

Speaking during a joint press conference with US President Joe Biden, PM Modi said, "India and America are walking shoulder to shoulder in the fight against terrorism and extremism. We agree that concerted action is necessary to end cross-border terrorism."

US and India on Thursday strongly condemned cross-border terrorism, and the use of terrorist proxies and called on Pakistan to take immediate action to ensure that no territory under its control is used for launching terrorist attacks, according to US-India joint statement.

US President Joe Biden and Prime Minister Narendra Modi reiterated the call for concerted action against all UN-listed terrorist groups including Al-Qaida, ISIS/Daesh, Lashkar e-Tayyiba (LeT), Jaish-e-Mohammad (JeM), and Hizb-ul-Mujhahideen. Both countries stood together to counter global terrorism and unequivocally condemn terrorism and violent extremism in all its forms and manifestations.

They called for the perpetrators of the 26/11 Mumbai and Pathankot attacks to be brought to justice, read the statement.

Earlier, PM Modi had highlighted the need to fight terrorism and extremism that constitutes a real threat to democracy, the rule of law and the enjoyment of human rights.

Speaking during a joint press conference with US President Joe Biden, PM Modi said, “India and America are walking shoulder to shoulder in the fight against terrorism and extremism. We agree that concerted action is necessary to end cross-border terrorism.”

Notably, his comments come days after China blocked proposals at the United Nations to designate Pakistan-based Lashkar-e-Tayyiba’s Sajid Mir as a “global terrorist.”

Even 15 years after the Mumbai terrorist attacks, its masterminds have not yet been brought to justice.

Both leaders also raised concern over the increasing global use of unmanned aerial vehicles (UAVs), drones and information and communication technologies for terrorist purposes and reaffirmed the importance of working together to combat such misuse, added the joint statement.

They welcomed the cooperation between the two governments on counterterrorism designations and homeland security cooperation, including intelligence sharing and law enforcement cooperation.

Both leaders called upon the Financial Action Task Force to undertake further work identifying how to improve global implementation of its standards to combat money laundering and the financing of terrorism, added the statement.

President Biden and PM Modi reiterated their strong support for a peaceful, secure, and stable Afghanistan.

They discussed the current humanitarian situation and concurred on the need to continue to provide immediate humanitarian assistance to the people of Afghanistan.

The leaders urged the Taliban to abide by UNSC Resolution 2593 which demands that Afghan territory should never be used to threaten or attack any country, shelter or train terrorists, or plan or finance terrorist attacks, added the statement.

Committing to continue close consultations on the situation in Afghanistan, the leaders emphasized the importance of the formation of an inclusive political structure and called on the Taliban to respect the human rights of all Afghans, including women and girls, and to respect freedom of movement.

 

PM Modi autographed the joint session address booklet, presented to him by US House of Representatives Kevin McCarthy.

On Thursday (June 22), Narendra Modi became the only Indian Prime Minister to address the joint session of the US Congress twice. He received 15 standing ovations and 79 applauses during his hour-long speech.

The Indian Prime Minister was also greeted with chants of ‘Modi Modi’, ‘Bharat Mata ki Jai’ and ‘Vande Mataram.’ Following his speech, US lawmakers were seen lining up to interact with Narendra Modi.

During this time, he signed autographs and clicked selfies with members of the US Congress. PM Modi also autographed the joint session address booklet, presented to him by US House of Representatives Kevin McCarthy.

During his historic address, Narendra Modi highlighted India’s success story on the economic front. “When I first visited the US as a PM, India was the 10th largest economy in the world. Today, India is the 5th largest economy. India will be the 3rd largest economy soon,” he had said.

The Indian Prime Minister also pointed out how a tribal woman from Odisha went on to become the President of the country. He remarked, “India’s vision is not just of development that benefits women. It is of women-led development where women lead the journey of progress. A woman has risen from a humble tribal background to be our Head of State.”

PM Modi also reiterated his commitment towards climate goals. “We became the only G20 country to meet its Paris commitment…Our mission is pro-planet progress, pro-planet prosperity, pro-planet people,” he pointed out.

Narendra Modi also emphasised India’s unity in diversity. He said, “India is the home to all faiths in the world and we celebrate all of them. In India, diversity is a natural way of life, today the world wants to know more and more about India.”

“We have over 2,500 political parties. About 20 different parties govern various states of India. We have 22 official languages and thousands of dialects, yet we speak in one voice,” he further added.

PM Modi also underline India’s commitment to global cooperation and peace. He stated, “We live by the motto of ‘Vasudhaiva Kutumbakam’-the world is one family. Our engagement with the world is for everyone’s benefit.”

“The same spirit is also seen in the theme when we chair the G20 Summit, One Earth, One Family, One Future. Last week, all nations joined our proposal at the UN, to build a memorial wall to honour the peacekeepers,” he concluded.

 

As per reports, OceanGate's carbon fiber hull was unsuited for dives into such depths. In a video now going viral, CEO Stockton Rush is seen admitting that he knows there are issues, but he is taking the risk anyway.

OceanGate's sub Titan, (L), wreck of the Titanic on the seafloor (R)

The HMS Titanic had sunk on April 15, 1912, taking more than 1500 people with it. 111 years later, 4 high-profile passengers and the CEO of the OceanGate company, who was the pilot of the tourist submersible ‘Titan’, died after their sub imploded due to extreme pressure deep in the North Atlantic Ocean.

The US Coast Guard has confirmed that one of their ROVs from the vessel Horizon Arctic located the debris of a tail comb from the OceanGate sub-Titan approximately 1600 feet from the bow wreckage of the Titanic on the seafloor. Other debris was also found scattered in the general area. The debris was confirmed to be from Titan, the lost tourist sub from OceanGate.

Speaking to the media, OceanGate’s co-founder Guillermo Stohnlein said that in the case of any failure, the implosion would have been instantaneous.

It is notable here that the Titanic wreckage sits at a depth of around 3800 meters. As per reports, the implosion at a depth like that causes immediate crushing of the vessel and everything inside it. The pilot and the passengers would have died within a few milliseconds.

CEO of OceanGate was the pilot, the 4 passengers included the billionaire explorer Hamish Harding, a British-Pakistani father-son duo named Shahzada Dawood and Suleiman Dawood, and the popular ‘Mr Titanic’ Paul-Henry Nargeolet. Nargeolet, a French Navy veteran, was part of the first expedition to visit the wreck in 1987, just two years after it was found. He has earned the moniker ‘Mr. Titanic’ as he has reportedly spent more time at the wreck than any other explorer.

The deceased CEO’s wife is a descendant of an old couple who died in the Titanic disaster in 1912

Wendy Rush, the wife of OceanGate CEO Stockton Rush, is the great-great-grandaughter of Isidor and Ida Straus, an old couple who had perished in the Titanic disaster in 1912. The old couple was depicted in James Cameron’s Oscar-winning movie too.

Isidor and Ida Straus were first-class passengers who had refused to board a lifeboat and had gone down with the ship on that fateful night in 1912.

Titanic tours

Tourists spend thousands of dollars to be taken to the wreckage of the liner, 12,500ft underwater. It is claimed that OceanGate Expeditions charges $250,000 (£195,270) for a place on its eight-day expedition.

It is important to note that submersibles are different from submarines. A submersible needs a mother ship that can launch it and recover it. Contrary to it, a submarine has enough power to leave port and come back to port on its own.

37 years ago, the wreckage of the Titanic was discovered in the Atlantic, around 400 nautical miles from Newfoundland, Canada. A team led by legendary explorer Robert Ballard had found the vessel.

OceanGate sub had ‘quality’ issues

As per reports, OceanGate’s carbon fiber hull was unsuited for dives into such depths. In a video now going viral, CEO Stockton Rush is seen admitting that he knows there are issues, but he is taking the risk anyway.

On Sunday morning, the surface crew of the accompanying tug boat had lost contact with the submersible one hour and 45 minutes after it went down the sea.

OceanGate staff had confirmed that in addition to a very limited oxygen supply, those onboard will also be experiencing frigid temperatures.

As per reports, David Lochridge, former director of marine operations associated with OceanGate, had refused to greenlight the sub, citing that the viewport is only certified to withstand pressure up to the depth of 1300 meters. The wreckage of the Titanic sits at a depth of 3800 meters on the ocean floor.

Lochridge was fired by OceanGate later. Months later, over 3 dozen people from the industry, including deep sea explorers and oceanographers included, had voiced concerns and warned the company of potential ‘catastrophic problems’ with their tours using that sub. Lochridge had also stated that OceanGate was unwilling to have the sub inspected and certified by established agencies.

 

cross-posted from: https://lemmy.run/post/15070

Author: Swapnanil Chatterjee

The agreement involves the potential joint production of GE Aerospace's F414 engines in India, supporting the IAF's LCA Tejas MK2.

General Electric (GE) Aerospace has signed a memorrandum of Understanding (MOU) with Hindustan Aeronautics Limited (HAL) to produce fighter jet engines for the Indian Air Force (IAF). The agreement involves potential joint production of GE Aerospace's F414 engines in India, supporting the Light Combat Aircraft (LCA) Tejas Mk2 program.

This partnership strengthens defence collaboration between the US and India, aligning with President Biden and Prime Minister Narendra Modi's vision of closer coordination. This is a major milestone amid PM Modi's historic trip to the US. GE Aerospace has a long-standing presence in India and aims to create a family of products, including the F404 engine, and collaborate on the development of the AMCA program and other future programs. Over 1,600 F414 engines have been delivered globally.

[–] [email protected] 3 points 2 years ago

Yeap, but most of the time you end up trying to figure out issue on remote system, where you don't have ripgrep always installed, but if you have that available on the system you are working on. ripgrep is always a better alternative.

[–] [email protected] 1 points 2 years ago

Hmm, OpenBSD commands sometime have different behavior than Linux.

I know as I had run into issues with rsync earlier where some options I used on Linux didn't work as same on FreeBSD/OpenBSD.

[–] [email protected] 2 points 2 years ago
[–] [email protected] 1 points 2 years ago

Seems like you are trying to build the docker image locally for your service. And you missed the dockerfile which contains all the information about building the container.

[–] [email protected] 2 points 2 years ago

AFAIK, there is not centralize community for that.

[–] [email protected] 2 points 2 years ago (1 children)

This seems like a bug.

Also it could be that lemmy.world is overloaded and is stuck at processing to clear this.

Keep it documented and submit a bug report so that devs can look at it when they can.

[–] [email protected] 1 points 2 years ago (3 children)

Yeap, this is definitely weird.

How about you try to login in private/incognito?

Do you still see it?

If it is, I would advise you to submit a bug report to lemmy devs here.

[–] [email protected] 1 points 2 years ago (5 children)

Hmm, in that case, try to clean your browser cache.

[–] [email protected] 1 points 2 years ago (7 children)

You can go to the notifications and mark it as read by clicking the checkmark. It should disappear after that.

view more: ‹ prev next ›