| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 11 online users. » 0 Member(s) | 11 Guest(s)
|
| Latest Threads |
Test, just a XRumer 23 St...
Forum: Announcements
Last Post: XRumer23lip
09-25-2025, 01:01 AM
» Replies: 0
» Views: 30
|
Comment créer un sous-dom...
Forum: Cpanel
Last Post: XRumer23lip
10-28-2024, 04:29 AM
» Replies: 1
» Views: 1,188
|
Tutorial: Create an Onlin...
Forum: Ellohost
Last Post: mikox
08-03-2024, 07:46 AM
» Replies: 0
» Views: 288
|
Tutoriel : Créer un Site ...
Forum: Ellohost
Last Post: mikox
08-03-2024, 07:45 AM
» Replies: 0
» Views: 314
|
Tutorial: Create a Profes...
Forum: Ellohost
Last Post: mikox
08-03-2024, 07:13 AM
» Replies: 0
» Views: 220
|
Tutoriel : Créer un Site ...
Forum: Ellohost
Last Post: mikox
08-03-2024, 07:12 AM
» Replies: 0
» Views: 252
|
Slither.io - Become the L...
Forum: Others
Last Post: mikox
04-05-2024, 07:30 AM
» Replies: 0
» Views: 310
|
MooMoo.io - Build, Defend...
Forum: Others
Last Post: mikox
04-05-2024, 07:28 AM
» Replies: 0
» Views: 331
|
Smash Karts - The Ultimat...
Forum: Others
Last Post: mikox
04-05-2024, 07:26 AM
» Replies: 0
» Views: 712
|
Dream Chef - A Cooking Ad...
Forum: Others
Last Post: mikox
04-05-2024, 07:24 AM
» Replies: 0
» Views: 305
|
|
|
| Set Specific Access and Modification Time Using Linux Touch Command |
|
Posted by: aaron - 09-08-2023, 12:38 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Set Specific Access and Modification Time</title>
</head>
<body>
<h1>Set Specific Access and Modification Time</h1>
<p>You can also set a file's access and modification time to a specific date by using the <code>t</code> option followed by a date-time. It would look like this:</p>
<pre>touch -t 202203081047.30 file_name.txt</pre>
<p>Make sure to check whether the date changed with the following command:</p>
<pre>ls -lu file_name.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694176627_64fb157387bed.jpeg">
<p>Remember that the date-time format must follow the CCYYMMDDhhmm.ss style:</p>
<ul>
<li>CC – the first two digits of the year</li>
<li>YY – the second two digits of the year</li>
<li>MM – the month of the year (01-12)</li>
<li>DD – the day of the month (01-31)</li>
<li>hh – the hour of the day (00-23)</li>
<li>mm – the minute of the hour (00-59)</li>
<li>ss – the second of the minute (00-59)</li>
</ul>
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Join ellohost</button></a>
</body>
</html>
|
|
|
| Modifier l'heure d'accès sans créer un nouveau fichier avec la commande Linux Touch |
|
Posted by: aaron - 09-08-2023, 12:35 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Changer l'heure d'accès sans créer un nouveau fichier</title>
</head>
<body>
<h1>Changer l'heure d'accès sans créer un nouveau fichier</h1>
<p>Dans certaines situations, vous souhaitez modifier l'heure d'accès et de modification d'un fichier existant à l'heure actuelle sans en créer un nouveau. Pour ce faire, utilisez l'option <code>c</code>, suivie du nom du fichier avec la commande touch :</p>
<pre>touch -c nouveau_fichier.txt</pre>
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Rejoignez ellohost</button></a>
</body>
</html>
|
|
|
| Change Access Time Without Creating a New File Using Linux Touch Command |
|
Posted by: aaron - 09-08-2023, 12:34 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Change Access Time Without Creating a New File</title>
</head>
<body>
<h1>Change Access Time Without Creating a New File</h1>
<p>In some situations, you want to change an existing file’s access and modification time to the current time without actually creating a new one. To do that, use the <code>c</code> option followed by the file name with the touch command:</p>
<pre>touch -c new_file.txt</pre>
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Join ellohost</button></a>
</body>
</html>
|
|
|
| Changer l'heure d'accès et de modification avec la commande Linux Touch |
|
Posted by: aaron - 09-08-2023, 12:32 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Changer l'heure d'accès et de modification</title>
</head>
<body>
<h1>Changer l'heure d'accès et de modification</h1>
<h2>Changer l'heure de modification</h2>
<p>L'option <code>m</code>, associée à la commande touch, modifie l'heure de modification d'un fichier pour qu'elle corresponde à l'heure actuelle :</p>
<pre>touch -m nom_du_fichier.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694176175_64fb13af7c297.jpeg" alt="Capture d'écran de la modification de l'heure de modification à l'aide de la commande touch" width="400">
<h2>Changer l'heure d'accès et de modification</h2>
<p>Pour changer à la fois l'heure d'accès et l'heure de modification avec une seule commande, utilisez les options <code>a</code> et <code>m</code> ensemble :</p>
<pre>touch -am nom_du_fichier.txt</pre>
<p>Maintenant, vérifiez la date avec ces deux commandes :</p>
<pre>ls -l nom_du_fichier.txt</pre>
<pre>ls -lu nom_du_fichier.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694176175_64fb13af7c02c.jpeg" alt="Capture d'écran de la modification de l'heure d'accès et de modification à l'aide de la commande touch" width="400">
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Rejoindre ellohost</button></a>
</body>
</html>
|
|
|
| Change Access and Modification Time Using Linux Touch Command |
|
Posted by: aaron - 09-08-2023, 12:31 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Change Access and Modification Time</title>
</head>
<body>
<h1>Change Access and Modification Time</h1>
<h2>Change Modification Time</h2>
<p>The <code>m</code> option, along with the touch command, changes the modification time of a file to the current time:</p>
<pre>touch -m file_name.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694176175_64fb13af7c297.jpeg" alt="Screenshot of changing modification time using the touch command" width="400">
<h2>Change Access and Modification Time</h2>
<p>To change both access time and modification time with a single command, use the options <code>a</code> and <code>m</code> together:</p>
<pre>touch -am file_name.txt</pre>
<p>Now, check the date with both of these commands:</p>
<pre>ls -l file_name.txt</pre>
<pre>ls -lu file_name.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694176175_64fb13af7c02c.jpeg" alt="Screenshot of changing access and modification time using the touch command" width="400">
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Rejoindre ellohost</button></a>
</body>
</html>
|
|
|
| Changer l'heure d'accès avec la commande Linux Touch |
|
Posted by: aaron - 09-08-2023, 12:30 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Changer l'heure d'accès avec la commande Linux Touch</title>
</head>
<body>
<h1>Changer l'heure d'accès avec la commande Linux Touch</h1>
<p>Pour changer l'heure d'accès d'un fichier à l'heure actuelle, utilisez l'option a suivie du nom du fichier avec la commande touch comme dans l'exemple suivant :</p>
<pre>touch -a nom_fichier.txt</pre>
<p>Ensuite, vérifiez l'heure d'accès avec la commande suivante :</p>
<pre>ls -lu nom_fichier.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694175754_64fb120aa7600.jpeg" alt="Capture d'écran de la modification de l'heure d'accès avec la commande touch" width="400">
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: white; border: none;">Rejoindre ellohost</button></a>
</body>
</html>
|
|
|
| Change Access Time using Linux Touch Command |
|
Posted by: aaron - 09-08-2023, 12:26 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Change Access Time using Linux Touch Command</title>
</head>
<body>
<h1>Change Access Time using Linux Touch Command</h1>
<p>To change the access time of a file to the current time, use the 'a' option followed by the file name with the touch command like in the following example:</p>
<pre>touch -a file_name.txt</pre>
<p>Then, check the access time with the following command:</p>
<pre>ls -lu file_name.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694175754_64fb120aa7600.jpeg" alt="Screenshot of changing access time using the touch command" width="400">
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: white; border: none;">Join ellohost</button></a>
</body>
</html>
|
|
|
| Créer plusieurs fichiers avec la commande Linux Touch |
|
Posted by: aaron - 09-08-2023, 12:23 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Créer plusieurs fichiers avec la commande Linux Touch</title>
</head>
<body>
<h1>Créer plusieurs fichiers avec la commande Linux Touch</h1>
<p>Il est également possible de créer plusieurs fichiers en utilisant une seule commande touch. Pour ce faire, spécifiez les noms des fichiers en les séparant par des espaces. Cela ressemblerait à ceci dans la ligne de commande :</p>
<pre>touch nom_fichier1.txt nom_fichier2.txt nom_fichier3.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694175601_64fb1171b19bb.jpeg" alt="Capture d'écran de la création de plusieurs fichiers avec la commande touch" width="400">
<p>Vous pouvez également générer automatiquement des noms de fichiers en utilisant des accolades, comme dans l'exemple suivant :</p>
<pre>touch nom_fichier{1..3}.txt</pre>
<p>La commande touch ci-dessus créera trois fichiers nommés nom_fichier1.txt, nom_fichier2.txt et nom_fichier3.txt.</p>
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: white; border: none;">Rejoindre ellohost</button></a>
</body>
</html>
|
|
|
| Create Multiple Files using Linux Touch Command |
|
Posted by: aaron - 09-08-2023, 12:22 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Create Multiple Files using Linux Touch Command</title>
</head>
<body>
<h1>Create Multiple Files using Linux Touch Command</h1>
<p>It is also possible to create multiple files using a single touch command. To do that, specify the names of the files with spaces between them. It would look like this in the command line:</p>
<pre>touch file_name1.txt file_name2.txt file_name3.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694175601_64fb1171b19bb.jpeg" alt="Screenshot of creating multiple files with touch command" width="400">
<p>You can auto-generate file names using curl braces while creating multiple files, like in the following example:</p>
<pre>touch file_name{1..3}.txt</pre>
<p>The above touch command will create three files named file_name1.txt, file_name2.txt, and file_name3.txt.</p>
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: white; border: none;">Join ellohost</button></a>
</body>
</html>
|
|
|
| Create a File using Linux Touch Command |
|
Posted by: aaron - 09-08-2023, 12:20 PM - Forum: Others
- No Replies
|
 |
<!DOCTYPE html>
<html>
<head>
<title>Create a File using Linux Touch Command</title>
</head>
<body>
<h1>Create a File using Linux Touch Command</h1>
<p>If you use the touch command without any options, it will simply create a new empty file. If the file already exists, the touch command will update the access and modification times to the current time without changing the file contents.</p>
<pre>touch file_name.txt</pre>
<img src="https://ellohost.com/imageshack/uploads/1694175450_64fb10da95f26.jpeg" alt="Screenshot of the touch command" width="400">
<br><br>
<a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: white; border: none;">Join ellohost</button></a>
</body>
</html>
|
|
|
|