How to view a file on PuTTY? [closed] - ssh

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I opened a file in PuTTY and I need the file .flag, how do I open it?
I have tried
vi index.flag
and
cp index.flag

To list all files in a directory with their permissions run
ls -la
Make sure your user have at least read permission on the file you need to open
open the file using vi editor (assuming the file you want to open is called .flag)
vi .flag
you can also use the cat command to just to view the contents of a file
cat .flag

Related

Is there a way to scp copy a .tar.gz file from a remote server using ssh command? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 3 years ago.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I'm trying to copy a .tar.gz file from a remote server onto my machine. I have used the scp method successfully before on different file types but having issues using the same method with a .tar.gz file. What do I need to do differently?
The command I've tried is below..
scp userlogin#remoteserver:/ remote/file/path/.tar.gz local/file/path/to/copy/into
I get that there is 'no such file or directory' - i suspect this may be something to do with how the tar.gz file is compressed? Is it not picking it up?
The source location in your scp command is malformed, try
scp userlogin#remoteserver:/remote/file/path/.tar.gz local/file/path/to/copy/into

run bash (command line) inside Emacs text editor? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
i want to run command line inside emacs text editor .
i have just finished the emacs tutorial i want to practice in some SQL files and i need the command line near to me to see SQL changes and results
any idea ?
There you have some tips how to or basicaly run 2 terminals on one Computer(Subshells)
or GNU documentation website of emacs with some valuable links for shells

Details of program/script which runs when we download a file in windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Where can I find details of program/script which runs when we download any file in windows. When I click on a download link it automatically starts downloading. Which script is responsible for download on windows ? is it Client server runtime Process?

How to stop the individual programs that are specified in supervisord.conf file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I want to manage few process using supervisor.I have made the changes in the supervisord.conf file.I want to stop a few programs later
I tried using "supervisorctl stop program_name" command but I get the following
Sorry, supervisord responded but did not recognize the supervisor namespace commands that supervisorctl uses to control it. Please check that the [rpcinterface:supervisor] section is enabled in the configuration file (see sample.conf).
Can somebody guide me?
Thanks in advance
Add this to your /etc/supervisord.conf:
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
And restart supervisord:
sudo /etc/init.d/supervisord restart

How do I open a VBA file in notepad or notepad++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
When I open a VBA-File directly with notepad or notepad++, I only see a bunch of weird characters.
How did I open a VBA-File:
Unzip a *.dotm file
There you'll find a file /word/*.bin
Unzip this *.bin file
There you have the VBA-Project Source Code
Now try to open/view it with your editor of choise
Do someone know a way to view the source code correctly? Using dll or replace characters, etc...
The .bin is itself a Zip file that contains OLE Structured Storage/BIFF documents that are
somewhat non-trivial to interact with.
http://www.codeproject.com/Articles/15216/Office-2007-bin-file-format
If Word is available on the machine running your application you can use it's COM Automation features to export VBA Projects as plain-text files.