A case study of how I approached to redesign an education consultancy website to improve the user experience and generate more inquiries.
This blog explains some basic Linux commands to make, copy, rename files as well as make and remove directories.
echo “test” > file.txt
The command above will create a text file named ‘file’ with a word ‘test’ as its content. This command can also be used to create empty file such as,
echo > file.txt
2. Copy and rename the file
To copy file in Linux, we can use cp command. For instance,
cp file.txt file2.txt
The command above will create file2.txt, then copy the content from file.txt to that file. In other words this let us copy the first file as well as renaming the copied file.
3. Create directory and move a file to the new directory
To create a directory, we can use mkdir command and type the directory name as well.
mkdir directory2
The command above will create a new directory named ‘directory2’. Then, to move a file to another directory, we can use mv command. The program below will move file2.txt to directory2.
mv file2.txt directory2
4. Remove directory
Supposed the first directory is named ‘directory1’ and we want to remove it, the command below will do the work.
rmdir directory1
Kali ini saya ingin berbagi tips ketika akan melakukan development menggunakan Raspberry Pi tanpa menggunakan layar monitor, mouse dan keyboard tambahan. Yap, kita akan menggunakan koneksi ssh untuk…
When it comes to getting a good night’s sleep, it’s not just about the quantity of hours you spend in bed, but also the quality of those hours. A healthy nighttime routine can help you fall asleep…
Contemplating the notion of Homeschooling for your child or family can be an arduous task. Especially with one or both parents in the home working to maintain a modern lifestyle. But times are…