LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-28-2017, 10:54 AM   #1
kalinoob07
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Rep: Reputation: Disabled
viewing contents of sda


I am a noob so please dont judge.

I want to view and delete some files from sda4 , one of the 13 partitions on my system (inside "other locations").

please tell me how i can do it?

Last edited by kalinoob07; 09-28-2017 at 10:56 AM.
 
Old 09-28-2017, 11:00 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,329

Rep: Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473
Quote:
Originally Posted by kalinoob07 View Post
I am a noob so please dont judge.

I want to view and delete some files from sda4 , one of the 13 partitions on my system (inside "other locations").

please tell me how i can do it?
You were told how to do it in your other thread, and pointed to many man pages for the commands you're looking for.
 
Old 09-28-2017, 11:00 AM   #3
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,880

Rep: Reputation: 134Reputation: 134
You can view the content of a partition with ls -l.
Delete some files with rm (-r).
 
Old 09-29-2017, 01:54 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,706
Blog Entries: 4

Rep: Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030
/dev/sdaX is a physical concept: a reference to a particular hardware device and to a particular partition on that device.

In order to use, and manipulate, the data in that physical place, you must employ a file system. Specifically, you must mount that physical resource. This action gives the content of the physical resource a particular "location" in the file-system, and makes these contents available to you subject to the security restrictions imposed by that file-system.
 
2 members found this post helpful.
Old 09-29-2017, 03:07 PM   #5
!!!
Member
 
Registered: Jan 2017
Posts: 631

Rep: Reputation: 245Reputation: 245Reputation: 245
Look into (research/study) the concepts of: filesystem, mount, &esp inode. Wikipedia is best here.
Also debugfs command (unix cmd), to learn about where pieces of files get stored on disk.
(Compare to M$Win fat32/ntfs). "How Linux Works" is a good beginner-internals book (stuff for you to know first!!!)

Enjoy p.s. https://www.linuxquestions.org/quest...4/#post5764244

Last edited by !!!; 09-29-2017 at 03:22 PM.
 
Old 09-29-2017, 03:35 PM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,257

Rep: Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202
Boot an Ubuntu live DVD or live USB. Launch the File Manager. Use the File Manager to browse to the partition and view/delete your files. Exactly the same as File Explorer in Windows.

https://wiki.gnome.org/action/show/A...irect=Nautilus
 
Old 10-02-2017, 07:27 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,706
Blog Entries: 4

Rep: Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030Reputation: 3030
Quote:
Originally Posted by snowpine View Post
Boot an Ubuntu live DVD or live USB. Launch the File Manager. Use the File Manager to browse to the partition and view/delete your files. Exactly the same as File Explorer in Windows.

https://wiki.gnome.org/action/show/A...irect=Nautilus
But be aware that, if a File Manager can do this, it is being "very smart and clever" to, in effect, hide the details from you. Direct access to the content of a partition must occur through a filesystem mount, which of course implements the "files and directories" that you perceive to be there.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble viewing SD card contents sniper8752 Linux - Newbie 3 08-14-2013 01:59 PM
viewing contents of tape h@foorsa.biz Solaris / OpenSolaris 4 07-11-2009 04:08 PM
problem viewing drive contents digity Linux - Newbie 1 12-06-2008 08:20 PM
Viewing networked file contents with ftp linuxhippy Slackware 1 05-08-2005 09:11 AM
viewing contents of CD drive aymbpc Linux - Newbie 2 08-31-2003 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration