Questions tagged [command]
186 questions
-2
votes
2 answers
Error executing help manual pages on Fedora 25 for all kind of man pages
[user1@testMachine ~]$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:…

shahjapan
- 141
- 1
- 13
-2
votes
2 answers
windows executable and extract data from file
On my CD-ROM I have this file: ip.txt which has the content:
ip="192.168.1.1" netmask="255.255.255.0" gateway="123.456.789.2"
How can I extract from ip.txt the IP, netmask and gw and use as command to setup the IP.
I know the command works like…

Svan
- 1
-2
votes
1 answer
How to get a process ID automaticly with command prompt
I´d want to know how to get a PID of a process with a single command in command prompt.
I tried it with findstr, but I´m (apparently) not so smart to figure it out. You cannot use tasklist, because you ´ill need to find PID of cmd.exe your self. So,…

Command Bomb
- 9
- 1
- 2
-2
votes
1 answer
backup tidy up script
I've looked around here for an answer to my question but it doens't look like anyone has so far got there.
I'm looking for a way to selectively DELETE files from a directory, so I have;
Every file in the last 7 days
one file for every 30 days.
So…

bookstorecowboy
- 117
- 1
- 2
-2
votes
1 answer
Changing tar parameters
I'd like to change the command I'm actualy using to put files in a tar archive in order to achieve this:
1) Remove directories tree from the archive (actually the .tar.gz file mantains the tree of the files. I want the files to be "parent").
2)…

MultiformeIngegno
- 1,687
- 9
- 26
- 31
-3
votes
1 answer
how to identify the last logged in user in Windows 7 / Windows 10
I am a user in a domain where there are lot of cloud machines available.Now the problem is these machines can be logged in by any people .Though I can restart these machines using the command shutdown /r /f /t 0 -m .Before doing so I want to know…