#bashshell — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #bashshell, aggregated by home.social.
-
Conocías la existencia de la opción “—exchange” en el comando “mv”? Pues yo no. Te permite intercambiar el contenido de dos archivos directamente sin utilizar un archivo temporal.
Visto en: https://linuxhandbook.com/newsletter/25-37/?attribution_id=69315b4f7f7be70001e98162&attribution_type=post
#Linux #BashShell -
Mastering Bash shell commands can greatly simplify tasks in data science, boosting efficiency and productivity. Discover the 10 essential Bash commands for data scientists, from file management with `ls` to data manipulation using `awk` and `sed`. Enhance your workflow and focus on insights with these powerful tools. #DataScience #BashShell #Programming #Efficiency #TechTips https://www.kdnuggets.com/10-essential-bash-shell-commands-for-data-science
-
Fun #BashShell #LinuxTip for when you want to remove a bunch of similar commands from the bash history.
> for i in `history | grep -i [part of command to remove] | cut -f 1 -d ' ' | sort -r ` ; do history -d ${i} ; done
The [part of command to remove] should be enough so you find the commands you want to remove, without accidentally including others.
The "sort -r" reverses the results so history deletes from the end, not the top. Very needed. #LearnedFromExperience
-
Fun #BashShell #LinuxTip for when you want to remove a bunch of similar commands from the bash history.
> for i in `history | grep -i [part of command to remove] | cut -f 1 -d ' ' | sort -r ` ; do history -d ${i} ; done
The [part of command to remove] should be enough so you find the commands you want to remove, without accidentally including others.
The "sort -r" reverses the results so history deletes from the end, not the top. Very needed. #LearnedFromExperience
-
Fun #BashShell #LinuxTip for when you want to remove a bunch of similar commands from the bash history.
> for i in `history | grep -i [part of command to remove] | cut -f 1 -d ' ' | sort -r ` ; do history -d ${i} ; done
The [part of command to remove] should be enough so you find the commands you want to remove, without accidentally including others.
The "sort -r" reverses the results so history deletes from the end, not the top. Very needed. #LearnedFromExperience
-
Fun #BashShell #LinuxTip for when you want to remove a bunch of similar commands from the bash history.
> for i in `history | grep -i [part of command to remove] | cut -f 1 -d ' ' | sort -r ` ; do history -d ${i} ; done
The [part of command to remove] should be enough so you find the commands you want to remove, without accidentally including others.
The "sort -r" reverses the results so history deletes from the end, not the top. Very needed. #LearnedFromExperience
-
Fun #BashShell #LinuxTip for when you want to remove a bunch of similar commands from the bash history.
> for i in `history | grep -i [part of command to remove] | cut -f 1 -d ' ' | sort -r ` ; do history -d ${i} ; done
The [part of command to remove] should be enough so you find the commands you want to remove, without accidentally including others.
The "sort -r" reverses the results so history deletes from the end, not the top. Very needed. #LearnedFromExperience
-
A Bash Script to Read All Command Line Arguments into an Array Using mapfile Command: Simplify Argument Handling https://www.cyberciti.biz/tips/a-bash-script-to-read-all-command-line-arguments-into-an-array.html #linux #unix #macos #bashshell
-
Simple Linux Hacks: Group-Based Bash Prompt Customization #BashPrompt #BashShell #Linuxhowto #Linuxadmin #Linux #CustomizeBash
https://ostechnix.com/change-bash-prompt-for-specific-user-group/ -
Simple Linux Hacks: Group-Based Bash Prompt Customization #BashPrompt #BashShell #Linuxhowto #Linuxadmin #Linux #CustomizeBash
https://ostechnix.com/change-bash-prompt-for-specific-user-group/ -
Simple Linux Hacks: Group-Based Bash Prompt Customization #BashPrompt #BashShell #Linuxhowto #Linuxadmin #Linux #CustomizeBash
https://ostechnix.com/change-bash-prompt-for-specific-user-group/ -
Simple Linux Hacks: Group-Based Bash Prompt Customization #BashPrompt #BashShell #Linuxhowto #Linuxadmin #Linux #CustomizeBash
https://ostechnix.com/change-bash-prompt-for-specific-user-group/ -
Simple Linux Hacks: Group-Based Bash Prompt Customization #BashPrompt #BashShell #Linuxhowto #Linuxadmin #Linux #CustomizeBash
https://ostechnix.com/change-bash-prompt-for-specific-user-group/ -
@epidiah I'm a huge advocate for #PowerShell on #Linux - it's everything a shell should be in the modern age.
But... I still fire off a quick #bashshell as often as not when I can't remember the PSH way to do something. Old habits die hard.
-
Anyone interested to follow and be followed by me?
I'm interested in:
#archlinux
#linux
#BASHShell
#lgbtq
#atheismLook forward to hearing from you ☺️