answersLogoWhite

0

📱

Linux

A free and open-source family of operating systems first started in 1991 and named after its creator, Linus Torvalds.

2,239 Questions

How do you create a tar file from the command line?

in a linux machine :

tar -cvf FileOrDirectory.tar FileOrDirectory

# or to gzip it at the same time...

tar -czvf FileOrDirectory.tgz FileOrDirectory

What is meant by AMD64 in Linux distributions?

It's not just in Linux distributions. AMD64 is the "friendlier" term for the 64-bit x86 architecture (x86_64 or "64-bit Intel" as a lot of people like to call it.)

What this means in the context of Linux is that distribution is available for 64-bit PCs. This is akin to Microsoft labeling certain versions of Windows as being "64-bit." It should also be noted Linux came to x86_64 long before Windows did and arguably uses long mode in so many better ways than Windows (Including the fact Linux has far more of a selection of 64-bit software than Windows.).

How can you get a list of users in Linux?

to get all users of the system : cat /ect/passwd (the 1st words, before the semicolon, are the usernames)

You can use the following commands to only display the names of the users (not the rest of the information): cat /etc/passwd | cut -d ":" -f1

== == == == OR you can use the following command to just return users who have a home directory under /home (useful if you are not interested in "special" users):

cat /etc/passwd | grep /home | cut -d: -f1

to get only the usernames of people using the system : ls /home/ Answer To see only who is logged on at any given moment, type...

who

and press the enter key.

What is the command for finding the port number of NFS in Linux?

netstat - input will give a list of all ports in use on a machine with the service running on that port.

Can it is possible the more than one same user in who command in Linux?

If you're asking if it's possible to see more than one user in the who command, the answer is yes. The entire purpose of the command is to track logged in users. Now, the question is whether the permissions allow you to see other users or not.

What command is used to obtain a list of currently running processes in Linux?

PS would be the simplest and fastest way. top will display processes, along with memory and CPU usage, so it is more useful in identifying runaway programs.

How do you install Skype on SUSE Linux?

Download the Linux binary from the skype web site and run it with "sh". It feels like windows all over again.

In which directory is hardware information of Linux machine stored?

Hardware information on a Linux machine is primarily stored in the /proc and /sys directories. The /proc directory contains a virtual filesystem that provides information about system processes and hardware configuration, while /sys offers a view of the kernel's device model, allowing access to hardware details and configurations. Additionally, the /dev directory contains device files that represent hardware components.

Does SGID allow users to execute a binary compiled program?

Not, the execute bit does that.

00100 - execute for user

00010 - execute for group

00001 - execute for others

04000 - set-uid

02000 - set-gid

Where on the Linux disk should you put your boot partition or the root partition if you do not use the boot partition?

This generally isn't an issue for modern computers; you can place the partition anywhere you like. With the way many modern hard drives are mapped, it doesn't even make a difference for performance reasons.

The reason why it mattered in older systems was that the BIOS could only access up to a certain amount of the hard drive. To boot Linux, you would need to place the kernel within the area addressable by the BIOS. This could be within the first 528 MB, 1 GB, 2 GB, 8 GB, or 127 GB, depending on the age of the system. As of 2002, the addressable limit has been raised to something like 4 PB, so you needn't worry about it again for a long time.

How you can create a script file using VI editor?

Run 'vi /path/to/file/name', where 'name' is whatever you want the script to be called. Then edit the file like you would any other. Once you're done writing the script, close vi (don't forget to save the file on your way out! entering ':wq' does this). In order to be able to run your script, run 'chmod +x /path/to/file/name'.

What sudo means in linux?

Run 'man <program name>' to get the full manual to a program. Below is an example how to get the sudo manual and the first few lines of the manual.

$ man sudo

NAME

sudo, sudoedit - execute a command as another user

SYNOPSIS

sudo -h | -K | -k | -L | -V

sudo -v [-AknS] [-g group name|#gid] [-p prompt] [-u username|#uid]

sudo -l[l] [-AknS] [-g group name|#gid] [-p prompt] [-U user name]

[-u user name|#uid] [command]

sudo [-AbEHnPS] [-C fd] [-g group name|#gid] [-p prompt]

[-u user name|#uid] [VAR=value] [-i | -s] [command]

sudoedit [-AnS] [-C fd] [-g group name|#gid] [-p prompt]

[-u user name|#uid] file ...

DESCRIPTION

sudo allows a permitted user to execute a command as the superuser or

another user, as specified in the sudoers file. The real and effective

uid and gid are set to match those of the target user as specified in

the passwd file and the group vector is initialized based on the group

file (unless the -P option was specified). If the invoking user is

root or if the target user is the same as the invoking user, no

password is required. Otherwise, sudo requires that users authenticate

themselves with a password by default (NOTE: in the default

configuration this is the user's password, not the root password).

Once a user has been authenticated, a time stamp is updated and the

user may then use sudo without a password for a short period of time

(15 minutes unless overridden in sudoers).

How solve the grub version 0.93 639 lower25938k upper memory?

That's not an error message, but simply an assessment of the memory in your computer.

What is user mode?

The user mode is :a mode that prvides an interface between the application and the OS and only has access to the hardware resources through rhe code running in kernel mode .Type your answer here...