I have a file, called a.r, it has a chmod of 755, sayHello <- function(){ print('hello') } s
I successfully shelled to a Docker container using: docker exec -i -t 69f1711a205e bash Now I need to edit
I'm using the MySQL command-line utility and can navigate through a database. Now I need to see a list of
I have several hundred PDFs under a directory in UNIX. The names of the PDFs are really long (approx. 60 chars
I'm trying to use the cp command and force an overwrite. I have tried cp -rf /foo/* /bar, but I am still
I have lines like these, and I want to know how many lines I actually have... 09:16:39 AM all 2.00 0.0
I am trying to print a text in the terminal using echo command. I want to print the text in a red color. How
Suppose that; I have an m-file at location:C:\M1\M2\M3\mfile.m And exe file of the matlab is at this locatio
I'm looking for the string foo= in text files in a directory tree. It's on a common Linux machine, I
How can I reload .bash_profile from the command line? I can get the shell to recognize changes to .bas
I have a pretty simple script that is something like the following: #!/bin/bash VAR1="$1" MOREF='sudo r
How do I copy a folder from remote to local host using scp? I use ssh to log in my server. Then, I would like
How can I POST an XML file to a local server http://localhost:8080 using cURL from the command line? What comm
Related: How can I pretty-print JSON in (unix) shell script? Is there a (unix) shell script to format XML in
I have a web server written in Node.js and I would like to launch with a specific folder. I'm not sure ho
Is there a way to tell Mongo to pretty print output? Currently, everything is output to a single line and it&a
I have a .sql file with an export from phpMyAdmin. I want to import it into a different server using the comma