Drenriza
April 24th, 2013, 10:23 AM
So i primarily come from the networking "world", where i heavily use Cisco equitment (because it is the best in my opinion).
And of course on this equitment you work 100% in the CLI(yes their is a web interface).
And their was a thing that struck me, which i'am now pondering on.
When you hit ? in the Cisco CLI, you get a overview of available commands.
If you start a command and then hit ? you get a overview of available options, or you will get a notion of what to do next.
Example you type
router eigrp ?
Then you'll be told to enter a process ID.
Why is such not available in Debian / Ubuntu.
If you start a rsync command (for example), they can be quite long.
So you start
rsync -v -r --log-file=/path
And maybe now wonder "whats next?".
Then you would either need to open a new terminal and see the synopsis in the manual or go
http://linux.die.net/man/1/rsync.
Here a ? could tell you.
Enter source path.
or
Enter user@ip: (of remote system)
So if you go
rsync -v -r --log-file=/path user1@10.0.0.1:
and hit ?
it could tell you.
Enter the path of the file you want to move from the remote system
rsync -v -r --log-file=/path user1@10.0.0.1:/random/file/path
?
Enter destination on local system to where you want to save the file
rsync -v -r --log-file=/path user1@10.0.0.1:/random/file/path .
Now i don't have a problem using the rsync command ,)
But is it only me who think the general idea could be usefull, for different commands?
The descriptions could be boiled way down, just an example.
Let me hear your thoughts of why this is not available. If it was a decision taken or people just didnt add it to the commands.
Kind regards.
And of course on this equitment you work 100% in the CLI(yes their is a web interface).
And their was a thing that struck me, which i'am now pondering on.
When you hit ? in the Cisco CLI, you get a overview of available commands.
If you start a command and then hit ? you get a overview of available options, or you will get a notion of what to do next.
Example you type
router eigrp ?
Then you'll be told to enter a process ID.
Why is such not available in Debian / Ubuntu.
If you start a rsync command (for example), they can be quite long.
So you start
rsync -v -r --log-file=/path
And maybe now wonder "whats next?".
Then you would either need to open a new terminal and see the synopsis in the manual or go
http://linux.die.net/man/1/rsync.
Here a ? could tell you.
Enter source path.
or
Enter user@ip: (of remote system)
So if you go
rsync -v -r --log-file=/path user1@10.0.0.1:
and hit ?
it could tell you.
Enter the path of the file you want to move from the remote system
rsync -v -r --log-file=/path user1@10.0.0.1:/random/file/path
?
Enter destination on local system to where you want to save the file
rsync -v -r --log-file=/path user1@10.0.0.1:/random/file/path .
Now i don't have a problem using the rsync command ,)
But is it only me who think the general idea could be usefull, for different commands?
The descriptions could be boiled way down, just an example.
Let me hear your thoughts of why this is not available. If it was a decision taken or people just didnt add it to the commands.
Kind regards.