shell-script

  1. Can I use a variable content as a shebang?
  2. Proper and reliable way to check for a running process on AIX 7.1.0 in KornShell
  3. Spawn gnome-terminal with -e subcommand and then change its window position
  4. TextEdit producing "egrep: parentheses not balanced" error
  5. Shell script to count the number of uppercase and lowercase characers in a string input

  6. How to do nothing forever in an elegant way?
  7. Universal non-bash `time` benchmark alternative?

  8. Overlaying text onto of htop output
  9. Repeat function of bash x minute(s)

  10. echo $HISTSIZE not printing when executed via shell script but works in command line

  11. find the max value of column 1 and print respective record from column 2 from file
  12. Splitting the working directory in a bash script

  13. single jq command with multiple output possible?
  14. Why would a bash script create a file with the name of one of my variables?

  15. Duplicated (Wordpress) site isn't available in an Nginx environment
  16. What does this script do?

  17. Read script until delimiter and echo result that is piped for command
  18. Bash script string interpolation leaves curly braces intact

  19. How to display CPU temperature in bash prompt?

  20. What purpose does the colon builtin serve?
  21. Using case and arrays together in bash

  22. How can I list all user names and/or home directories?
  23. Script to prompt user to select / input IP address

  24. Writing a command to a script file with proper quoting

  25. Is there any web panel available out there that can start and stop a custom script/command I use to start/stop/update processes?

  26. Why does my shell script not execute sequentially? (might be imagemagick?)

  27. unknown test operator in ksh

  28. How to write script for checking Error jobs and auto resubmit?

  29. pass protocols to command from file

  30. How to parse table for pattern if pattern includes spaces
  31. tail/head piping remove newlines

  32. How can I run a particular script every second?

  33. Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?
  34. Create a multi-script bash script that is compiled and keeps a log
  35. Why does ( exit 1 ) not exit the script?
  36. How can I create an arithmetic loop in a POSIX shell script?

  37. send from variable in #!/usr/bin/expect -f

  38. -eq: unary operator expected

  39. How to prepend a license header recursively for all .h and .cpp files in a directory

  40. backup original in scp
  41. Environment variables are not passed to sub scripts while running on crontab

  42. Why is it better to use "#!/usr/bin/env NAME" instead of "#!/path/to/NAME" as my shebang?

  43. Environment variables are not passed to scripts that are run later in the existing shell while running on crontab

  44. Extracting part of line with using awk or sed

  45. How to check if a glob has an expansion?

  46. How to SSH to a list of network devices and execute a list of commands?

  47. using IFS variable to ser envirionmental variable with awk

  48. Is it possible to re-create a directory structure that creates a binary identical bsdcpio output stream?
  49. Preserve directory structure when moving files using find

  50. An official standard / convention for a file extension for shell scripts to source
  51. Cannot add startup service to openWRT from init.d

  52. How to convert bash shell script to Markdown?

  53. Shell script, linux, unix, shell
  54. BASH: declare a local function in remote host with interactive shell
  55. Run cd with path variable in bash script not working
  56. How to touch everything in a directory including hidden, like directory up `..`?
  57. bash: -q: command not found
  58. bash rename files in directory using regex
  59. bash filter the file names by regex or similar in a while loop
  60. Bash script calls python script that wants interactively input ( not only arguments )
  61. linux + file printed with the linux prompt
  62. How can I kill child processes with start-stop-daemon?

  63. bash string comparison failure, "command not found"

  64. ipvsadm output processing

  65. How exactly should I escape the awk $ variables in a shell script function?
  66. How to pass space separated parameter to shell script without quotation marks?
  67. Iteration in a function Linux nano

  68. What is the correct way of dealing with exit code of the last command?

  69. Execute vim in a loop
  70. Isolating CLI program that uses HOME environment variable to save state to perform parallel execution
  71. head eats extra characters
  72. Need to replace ip and hostname in /etc/hosts file

  73. for loop in nohup
  74. Avoiding busy waiting in bash, without the sleep command

  75. How to make a prefill line with read command?
  76. redirect output of command to /dev/null
  77. converting the value without changing the content of line

  78. Create user from bash script

  79. `set -e` inside a bash function
  80. SSH to multiple servers with username and password

  81. Calling a function within a pipe

  82. How do I write a retry logic in script to keep retrying to run it upto 5 times?

  83. How can I create a Bash conditional script, based on output from a command?
  84. sed-replacing and using a pattern with multi-lines

  85. deleting characters from expression using sed
  86. Bash: combining of the composition of the multiple log files based on the search pattern

  87. Factorial of certain numbers yield negative values
  88. Filter script output and print it in screen while redirecting it in a file
  89. How to combine columns of two files, remove duplicates, and fill in missing lines

  90. How can I find space occupied by the incoming files for a date range,
  91. File Merge and rotate file size Exceed
  92. Pick the specific file in the folder in linux
  93. How to use grep and cut in script to obtain website URLs from an HTML file
  94. How to generate a lot of (blank) images files?
  95. How do I form a new string from a parsed CSV line?

  96. Pass a string or array as arguments in bash
  97. Device node in /dev for a smart card reader

  98. Ran wrong script, moved folders are gone, but where?
  99. remove string ends with certain extension in a file
  100. How to initialize variables for a script