Accidentally created additional folder while trying to extend swap memory in Ubuntu 18.04 LTS

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I have little to zero knowledge about Ubuntu and only have recently installed it on my laptop. I wanted to extend the swap memory so i followed the tutorial at https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04 . In the process, I accidentally created an unnecessary folder that takes a whopping 13gigs of storage. I want to delete the
"swa[fo" https://i.stack.imgur.com/qGPky.png
directory from my device. Thank you.
partitioning uninstall swap
add a comment |Â
up vote
0
down vote
favorite
I have little to zero knowledge about Ubuntu and only have recently installed it on my laptop. I wanted to extend the swap memory so i followed the tutorial at https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04 . In the process, I accidentally created an unnecessary folder that takes a whopping 13gigs of storage. I want to delete the
"swa[fo" https://i.stack.imgur.com/qGPky.png
directory from my device. Thank you.
partitioning uninstall swap
1
Please copy the text instead of adding image to the question
â Romeo Ninov
May 24 at 20:13
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have little to zero knowledge about Ubuntu and only have recently installed it on my laptop. I wanted to extend the swap memory so i followed the tutorial at https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04 . In the process, I accidentally created an unnecessary folder that takes a whopping 13gigs of storage. I want to delete the
"swa[fo" https://i.stack.imgur.com/qGPky.png
directory from my device. Thank you.
partitioning uninstall swap
I have little to zero knowledge about Ubuntu and only have recently installed it on my laptop. I wanted to extend the swap memory so i followed the tutorial at https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04 . In the process, I accidentally created an unnecessary folder that takes a whopping 13gigs of storage. I want to delete the
"swa[fo" https://i.stack.imgur.com/qGPky.png
directory from my device. Thank you.
partitioning uninstall swap
asked May 24 at 20:05
Nikhil Shrestha
1
1
1
Please copy the text instead of adding image to the question
â Romeo Ninov
May 24 at 20:13
add a comment |Â
1
Please copy the text instead of adding image to the question
â Romeo Ninov
May 24 at 20:13
1
1
Please copy the text instead of adding image to the question
â Romeo Ninov
May 24 at 20:13
Please copy the text instead of adding image to the question
â Romeo Ninov
May 24 at 20:13
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
You can try to put the name of the file in single quotes:
rm 'swa[fo'
or escape the square bracket
rm swa[fo
P.S. And IMHO this is a file, not a directory. You can check with above command using ls -l instead of rm. If it is really directory use rm -r instead of rm
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You can try to put the name of the file in single quotes:
rm 'swa[fo'
or escape the square bracket
rm swa[fo
P.S. And IMHO this is a file, not a directory. You can check with above command using ls -l instead of rm. If it is really directory use rm -r instead of rm
add a comment |Â
up vote
1
down vote
You can try to put the name of the file in single quotes:
rm 'swa[fo'
or escape the square bracket
rm swa[fo
P.S. And IMHO this is a file, not a directory. You can check with above command using ls -l instead of rm. If it is really directory use rm -r instead of rm
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You can try to put the name of the file in single quotes:
rm 'swa[fo'
or escape the square bracket
rm swa[fo
P.S. And IMHO this is a file, not a directory. You can check with above command using ls -l instead of rm. If it is really directory use rm -r instead of rm
You can try to put the name of the file in single quotes:
rm 'swa[fo'
or escape the square bracket
rm swa[fo
P.S. And IMHO this is a file, not a directory. You can check with above command using ls -l instead of rm. If it is really directory use rm -r instead of rm
answered May 24 at 20:12
Romeo Ninov
39518
39518
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039963%2faccidentally-created-additional-folder-while-trying-to-extend-swap-memory-in-ubu%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Please copy the text instead of adding image to the question
â Romeo Ninov
May 24 at 20:13