---
# System prepended metadata

title: LF - Exercises 2

---

# LF - Exercises 2

##### 1. Touch a ﬁle in a way you specify a timestamp (in past and future) to be set instead of current time.
![](https://i.imgur.com/jRRxDgx.png)


##### 2. Show your history; repeat the 11th command on your list… or an interesting one

![](https://i.imgur.com/PHFyWvn.png)

##### 3. Copy an entire directory into another one, it is possible to do it with only one option?

It is possible using `-r` argument to indicate recursive way copying

![](https://i.imgur.com/kM2A1b0.png)

##### 4. Create below dir tree: tdir1/tdir2/tdir3/tdir4/tdir5 in your home; use only one command.

![](https://i.imgur.com/Oo7WywS.png)


##### 5. How would you remove an entire non empty dir?

![](https://i.imgur.com/82JBUYy.png)

