About 27,200,000 results
Open links in new tab
  1. linux - How does "cat << EOF" work in bash? - Stack Overflow

    The cat <<EOF syntax is very useful when working with multi-line text in Bash, eg. when assigning multi-line string to a shell variable, file or a pipe. Examples of cat <<EOF syntax …

  2. linux - Retrieve last 100 lines logs - Stack Overflow

    Aug 6, 2018 · I need to retrieve last 100 lines of logs from the log file. I tried the sed command sed -n -e '100,$p' logfilename Please let me know how can I change this command ...

  3. Is there replacement for cat on Windows - Stack Overflow

    Is there replacement for cat on Windows [closed] Asked 16 years, 10 months ago Modified 4 months ago Viewed 550k times

  4. How to solve Permission denied (publickey) error when using Git?

    cat ~/.ssh/id_rsa.pub [Access your public key & copy the key to gerrit settings] Note: You should not be using the sudo command with Git. If you have a very good reason you must use sudo, …

  5. How to concatenate string variables in Bash - Stack Overflow

    Nov 15, 2010 · to give an example of inserting into a string do echo "sh ${HOME}/ultimate-utils/run_tb.sh"

  6. How to find out line-endings in a text file? - Stack Overflow

    I'm trying to use something in bash to show me the line endings in a file printed rather than interpreted. The file is a dump from SSIS/SQL Server being read in by a Linux machine for …

  7. python - `stack ()` vs `cat ()` in PyTorch - Stack Overflow

    Apr 1, 2022 · xnew_from_cat = torch.cat((x, x, x), 1) print(f'{xnew_from_cat.size()}') print() # stack serves the same role as append in lists. i.e. it doesn't change the original # vector space but …

  8. How to get the CUDA version? - Stack Overflow

    Mar 16, 2012 · Is there any quick command or script to check for the version of CUDA installed? I found the manual of 4.0 under the installation directory but I'm not sure whether it is of the …

  9. How to get .pem file from .key and .crt files? - Stack Overflow

    Oct 11, 2017 · If this is for a Web server and you cannot specify loading a separate private and public key: You may need to concatenate the two files. For this use: cat server.crt server.key > …

  10. See line breaks and carriage returns in editor - Stack Overflow

    Apr 8, 2021 · Is there a text editor on Linux that allows me to see line breaks and carriage returns? Does Vim support this feature?