• Register

Recent questions tagged command-line

1 vote
1 answer 3 views
Problem: I am trying to install a file on my device but I keep getting this error : scp: .: not a regular file cp: cannot create regular file '/host_file.txt': permission denied /directory/user/desktop: no such file or directoryAny idea how can I solve it ? Here’s the command I use : scp username@host : /path/to/hosts/file/host_file.txt ~/desktop
asked 18 hours ago Raj Tyagi 14.4k points
1 vote
1 answer 2 views
Problem: Does somebody know what is the command to list all files and subdirectories in a directory? I’ve been searching for it but couldn’t find .
asked 1 day ago Raj Tyagi 14.4k points
0 votes
1 answer 2 views
Problem: There are many files and sub-folders under this path.I want to search for .txt file under given path and want to assign .txt file name to a variable in batch file and echo its name.how to do?
asked 2 days ago sumaiya simi 43.9k points
0 votes
1 answer 3 views
Problem: I navigated to my work's codebase in the Command Line on my MacBook pro, typed in "git status" in the repository and received the error:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun.How do I fix git, and command line tools?
asked 2 days ago sumaiya simi 43.9k points
0 votes
1 answer 2 views
Problem: I'm new to Visual Studio. I'm currently creating a Login form. I have this code. string connectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; try { using (OdbcConnection connect = new OdbcConnection(connectionString)) { connect.Open(); ... to initialize. I'm just wondering what kind of problem is this and how could I solve this? Please help.
asked 3 days ago Yeamin 21.4k points
0 votes
1 answer 2 views
Problem: How can I simply access the already-running unity instance that's either running in batchmode, or even if its open in the editor?So is there a way to simply get the current Unity instance that's running with the desired project, and just run a command from that, or do I have to restart Unity every time I want to run a command from the command line?
asked 3 days ago sumaiya simi 43.9k points
0 votes
1 answer 2 views
Problem: I have a pretty simple script that is something like the following: #!/bin/bash VAR1="$1" MOREF='sudo run command against $VAR1 | grep name | cut -c7-' echo $MOREF When I run this script from the command line and pass it the arguments, I am not getting ... the results of a command that needs to be run within a script, save it to a variable, and then output that variable on the screen?
asked 3 days ago ochena 22.1k points
0 votes
1 answer 2 views
Problem: I would like to run a script every 30 min from my local comp. Most of the time I am away from my desk. I do not want to run my computer all day. What would be some ways to do this. Currently I have the following code. The code works perfectly while my computer is ... that was used in older versions of R but not for the current 3.6.0? I am not to sure what I am doing wrong here. Thank you.
asked 4 days ago muktaa 34.4k points
0 votes
1 answer 4 views
Problem: Any solution to this iisue > Which command will display a list of files and subdirectories in a directory
asked 5 days ago ummeshani 8.8k points
0 votes
1 answer 3 views
Problem: I am stuck now .. need some suggestions .. please help me .. You are trying to debug a shell script called myscript
asked Apr 26 Ifra 34.7k points
1 vote
1 answer 19 views
Problem: Any one who have information about the window command for this; Sbatch: error: batch script contains dos line breaks (\r\n).
asked Apr 25 PkGuy 23.5k points
0 votes
1 answer 6 views
Problem: For some reason, this command $ android update project --name GCMDemo -p . --target android-16 gives me an error: 'android' is not recognized as an internal or external command,
asked Apr 22 ummeshani 8.8k points
0 votes
1 answer 6 views
Problem : How to navigate to folder in cmd? Any solution regarding this?
asked Apr 21 Ifra 34.7k points
0 votes
1 answer 3 views
Problem: Please let me know any solution regarding this .. how to make a powershell script run automatically?
asked Apr 20 Ifra 34.7k points
0 votes
1 answer 3 views
Problem: SSH SCP Local file to Remote in Terminal Mac Os X.Help me figure out how to solve this?
asked Apr 19 sumaiya simi 43.9k points
0 votes
1 answer 2 views
Problem: Ssh copy files from local to remote.Can someone help me figure out how to solve this?
asked Apr 19 sumaiya simi 43.9k points
0 votes
1 answer 5 views
Problem: How do I remotely access a Mac from terminal?
asked Apr 19 sumaiya simi 43.9k points
0 votes
1 answer 4 views
Problem: How to use ssh scp Local file to remote in terminal Mac Os X?
asked Apr 19 sumaiya simi 43.9k points
0 votes
1 answer 4 views
Problem: Please help me … how can I solve it? copy file from remote server to local machine
asked Apr 18 Ifra 34.7k points
0 votes
1 answer 5 views
Problem: How do I run a Java program on a Linux machine? I'd appreciate it if you could make a recommendation for me.
asked Apr 17 padma1 34.3k points