Saturday, April 20, 2013

How to enter password by linux command?

Q. As the title.I would like to find out How to enter password by linux command?

eg: when you write a script to sudo root. then you will be asked to enter password.
how can i do it by linux script? Is there a command can do the job?
Thanks in advance.

A. Don't. just run sudo script instead of trying to put sudo into the script.

What does it mean for windows users if basic knowledge of linux commands are required?
Q. For example FTP and Telnet both run Linux. So that would indicate that some basic konwledge of Linux commands is necessary. However, I am a Windows user...

A. FTP can run on Linux, but it doesn't always run on Linux.

You can run an FTP server on Windows and an FTP client on Windows. Same for Mac.

It is just a File Transfer Protocol. The protocol is cross-platform, not Linux-specific.

Is there a way to reset the stats for the Linux command df?
Q. For a while now whenever I use the command df in Linux it shows that one of my partitions is full but if I use the du -ac command it shows that I am using only 4.2 of 7.8 Gigs of storage. Is there a way to reset the stats for the Linux command df?

A. Df and du do not measure the same exact things. You can google for: df VS du and see a lot of explanations.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment