Search Results

Search: Posts Made By: Henryyy
3,343
Posted By Scrutinizer
Regarding the security aspect, what is probably...
Regarding the security aspect, what is probably meant by this is that $@ can be expanded into separate fields each within double quotes, thus protecting the fields from unwanted interpretation by the...
3,343
Posted By Skrynesaver
When I call this file #!/bin/bash echo...
When I call this file

#!/bin/bash

echo -e "With \$* I have to chose all or nothing"
echo "ALL"
for i in "$*" ; do
echo -e "\t$i"
done
echo "NOTHING"
for i in $* ; do
echo -e...
11,736
Posted By methyl
From one example of man ls , a man page which you...
From one example of man ls , a man page which you may wish to read on your system.

-f Interpret each argument as a directory and list the name
found in each slot. ...
12,613
Posted By methyl
Quick answer in Bourne-type shells. This is...
Quick answer in Bourne-type shells.
This is what the administrator set for your terminal.
echo $TERM
1,395
Posted By birei
Then, try: $ str=".a/b/c/done" $ echo...
Then, try:

$ str=".a/b/c/done"
$ echo "${str##*/}"
done
Regards,
Birei
1,434
Posted By methyl
Mostly Shell: Count the number of "/"...
Mostly Shell: Count the number of "/" characters, prepend the number to the line, sort, remove the prepended field.
#!/bin/ksh
cat filename.txt | while read line
do
count=`echo...
1,028
Posted By bartus11
find -atime +30 -type f >olds
find -atime +30 -type f >olds
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 11:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy