Computer problems,Computer help
*AX SOFT>>>Programming & Design

Unix command helps!!?


What command results in creation of a new file named
yesterday.txt that contains yesterday's date but no time?

How would you store a list of all files in /bin to ~/temp/bin.txt?

date -v -1d "+%D" >yesterday.txt
(better read the man page to figure out why/how this works)

ls -a /bin >~/temp/bin.txt

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • How do I make a groupbox border appear and darker and black?

    Basically the border code has a lot of border styles and some are pretty neat if the border size is set correctly. Like the style "inset": border: 5px inset #000; A simple border: ...

  • Adobe Photoshop Ghost Rider text recreate poster???

    Yes, you can create it in photoshop alone. No need additional images. 1. Steel effect can be achieved by gradient fill in blending options. Or, if your PS do not have blending option, just add a...

  • Changing text in a Div Box?

    Since the div has a class assigned to it, you refer to the class with CSS: <div class="Div1">HOW WOULD I CHANGE THIS TEXT???</div> <style type="text/css"> ...

  • Need help with Java programming (involving arrays)?

    Just write one yourself. It's easy. // array1 is already defined double total = 0; for( int i=0; i < array1.length; i++){ total+=array[i]; } double avg = total/array1.length;

    ...
  • Trying to understand a piece of code in VBA [excel]?

    Sub Processor() ->Beginning of subroutine:Processor Dim ConstantCells As Range ->Define ConstantCells as a range of cells Dim FormulaCells As Range ->like above statement Dim cell As...

  • How do I keep a running total score in c++?

    Set the value to 0 above the loop and add to the value test = 0; loop{ score = 15; test+=score; } cout << test

    ...
  • Use ASP .NET's membership system or roll your own?

    Well the pro's are pretty obvious. It offers you a ready component for use to save/retrieve users for your website, it integrates pretty well very easily with Login server controls thus saving...

  • Is there an equivalent for the GetChar() function from VB.Net in VB6?

    Have you tried Mid(String,Index,Length)? MyString = "HELLO!" Print Mid(MyString,2,1) Would print "E"

    ...
  •  

    Categories--Copyright/IP Policy--Contact Webmaster