0% found this document useful (0 votes)
7 views

Command Used in Linux

Command used in open suse linux

Uploaded by

izukondibien
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Command Used in Linux

Command used in open suse linux

Uploaded by

izukondibien
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

-ls:to check all quick access tabs you have.

-cd Desktop:to change your directory to Desktop one


-cd ..:to return back to the previous directory
-mkdir work:to make directory called work on your directory
-rmdir work :To remove directory called work
-cat>file2.txt: for creating file called file2.txt
-grep:used to find the words in the sentence
-find:to find the file in a specified path
-find *.txt:fo find all files that has txt format
-gedit file1.txt:for make some changes on your file called file1.txt
-sudo zypper install vim:For installing a text editor called vim by using zypper
package
-sudo useradd username:For creating a new user
-sudo passwd username:For assigning password to the created user
-cat /etc/passwd :to check all users you have in system
-sudo userdel picker:for deleting user in system
-sudo usermod -aG programmers panther:for adding user panther in a programmers
group
-groups panther:to check the group that contain panther
-cat /etc/group: for checking all groups you have in a system
-sudo groupdel groupname:for deleting group you have in a system
-ls -l: for checking the directories you have in system
-chmod +x file1.txt:for adding permissions read,write,execute on file1.txt
-chmod g+x file1.txt:for adding permissions on groups
-chmod g-x file1.txt:for removing permissions on groups
-chmod o-x file1.txt:for removing permissions on other users
-chmod o+x file1.txt:for adding permissions on other users
-chmod o_x,u+x file1.txt:for adding permissions everywhere at the sametime
-chmod u-w file1.txt for removing permissions of write on file1.txt
-sudo ifconfig:to check all ip addresses you have
-sudo cd /etc/sysconfig/network:to open network interface
-ifdown eth0:for shutting down the ethernet interface
-ifup eth0:for switching internet interface on

drwxr-xr-x 2 user group 4096 Jun 8 12:34 directory_name


The first character indicates the type (d for directory, - for file).
The next nine characters indicate the permissions in three sets (owner, group,
others).

You might also like